fixes right panel on the image annotator
authorduong tam kien <tk@deveha.com>
Fri, 24 Feb 2017 15:28:43 +0100
changeset 378 d3cc49347149
parent 377 a0ae89d96c27
child 379 690df941c075
fixes right panel on the image annotator
src/iconolab/static/iconolab/css/iconolab.css
src/iconolab/static/iconolab/js/iconolab.js
src_js/iconolab-bundle/src/iconolab.scss
--- a/src/iconolab/static/iconolab/css/iconolab.css	Fri Feb 24 15:06:08 2017 +0100
+++ b/src/iconolab/static/iconolab/css/iconolab.css	Fri Feb 24 15:28:43 2017 +0100
@@ -11,5 +11,5 @@
 /*!
  *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
- */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2) format("woff2"),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype"),url(/static/fontawesome-webfont.svg?49de4ca90d57d3d1f0229c708a47daea) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}header{margin-bottom:20px}#topnav .navbar{margin-bottom:0}#topsearch{padding:15px 0}#topsearch,#topsearch .navbar{background-color:#333}.item-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-grid .item-grid-item{padding:0 10px 20px}@media (min-width:768px){.item-grid .item-grid-item{width:25%}}.item-grid .item-grid-item .main-image{margin-bottom:10px}.item-grid .item-grid-item .main-image img{width:100%;height:auto}.item-grid .item-grid-item .item-image-container a{display:block}.drawingModeBtn{border:1px solid orange;cursor:pointer;height:25px;margin-bottom:10px}.form-drawing{border-bottom:1px solid #c3c3c3}.form-drawing-wrapper .selected{border:1px solid orange;color:#fff;background-color:orange}.showPointer{cursor:pointer}.zoom-action-list{padding-left:21px}.zoomTarget-wrapper{padding:0}#zoomTarget,.cut-canvas{border:1px solid #c3c3c3}.no-padding{padding-left:0;padding-right:0}.annotation-content{margin-top:15px;margin-bottom:15px}.highlight{border:1px solid orange}.revision-proposal{background-color:#ecf0f1}.collection-home-btn{margin-top:5px}.img-stats-dt{width:250px!important}.img-stats-dd{margin-left:270px!important}.revision-link:hover{text-decoration:underline}.item-image-thumbnail:hover{cursor:pointer}ul.annotation-comments{background-color:#ededed}li.list-group-item{border:1px solid #bbb}.comment-reply-link{cursor:pointer}.comment-metacategories,.comment-subtext{font-size:.9em;display:inline}.comment-separator{margin-top:10px;margin-bottom:5px}.pagination-shortcut{cursor:pointer}.badge-error{background-color:#b94a48}.badge-warning{background-color:#f89406}.badge-success{background-color:#468847}.badge-info{background-color:#3a87ad}.badge-inverse{background-color:#333}.notif-badge{margin-bottom:5px}.show-all-notifications{cursor:pointer}.annotation-panel{min-width:535px}.annotation-detail{margin-right:5px;margin-left:5px;margin-top:5px;white-space:normal}.annotation-detail,.stats-annotation-userpage{display:inline-block;vertical-align:top;padding:10px}.image-detail{width:150px}.image-detail,.large-image-detail{display:inline-block;vertical-align:top}.large-image-detail{width:400px}.panel .dl-horizontal dt{white-space:normal;text-align:left}.no-user-annotation{margin-left:15px}.dt-annotation{margin-bottom:10px}.userpage-annotation-btn{display:inline-block;vertical-align:top;margin-bottom:5px}.collection-title{margin-top:0}.collection-container,.collection-summary{padding-bottom:15px;width:100%}.collection-container{padding-top:15px}.image-list-wrapper,.tab-selector{margin-top:15px}li.image-list-li{margin-bottom:5px;width:370px;height:430px;vertical-align:middle;padding:5px}.image-list-image-container{position:relative}.object-info{margin-bottom:10px}.collection-home-item-btn{margin-bottom:5px}.collection-home-tab{cursor:pointer}.diff-viewer-wrapper{margin-top:5px}.diff-panel{border:1px solid gray;width:300px;heigth:250px}del{text-decoration:line-through;color:#b30000;background:#fadad7}ins{background:#eaf2c2;color:#406619;text-decoration:none}.diff-panel .close-btn{cursor:pointer;margin-right:5px}.footer-link,.partners-icons{margin-left:20px}.footer-info{margin-left:15px}dl.legals-dl dd{margin-left:10px}.hide-complete-link,.show-complete-link{cursor:pointer}.description-col{padding:10px}#collection-summary .tab-pane{padding:30px 0}.annotation-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:30px}.annotation-navigator .annotation-navigator-list{width:20%}.annotation-navigator .annotation-navigator-list .panel{max-height:600px;height:600px;overflow:scroll}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-heading{font-weight:700;margin-bottom:10px}.annotation-navigator .annotation-navigator-list .list-group-item .close{display:none;line-height:13px}.annotation-navigator .annotation-navigator-list .list-group-item.active .close{display:block;color:#fff}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-footer{margin-top:10px;font-size:12px;text-align:right}.annotation-navigator .annotation-navigator-canvas{width:60%;padding:0 15px}.annotation-navigator .annotation-navigator-panel{width:20%;display:-webkit-box;display:-ms-flexbox;display:flex}.annotation-navigator .annotation-navigator-panel .panel-body,.annotation-navigator .annotation-navigator-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel{margin-bottom:0}.annotation-navigator .annotation-navigator-panel .panel-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.annotation-navigator .annotation-navigator-panel .panel-body>*{-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel-body>:last-child{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
+ */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2) format("woff2"),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype"),url(/static/fontawesome-webfont.svg?49de4ca90d57d3d1f0229c708a47daea) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}header{margin-bottom:20px}#topnav .navbar{margin-bottom:0}#topsearch{padding:15px 0}#topsearch,#topsearch .navbar{background-color:#333}.item-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-grid .item-grid-item{padding:0 10px 20px}@media (min-width:768px){.item-grid .item-grid-item{width:25%}}.item-grid .item-grid-item .main-image{margin-bottom:10px}.item-grid .item-grid-item .main-image img{width:100%;height:auto}.item-grid .item-grid-item .item-image-container a{display:block}.drawingModeBtn{border:1px solid orange;cursor:pointer;height:25px;margin-bottom:10px}.form-drawing{border-bottom:1px solid #c3c3c3}.form-drawing-wrapper .selected{border:1px solid orange;color:#fff;background-color:orange}.showPointer{cursor:pointer}.zoom-action-list{padding-left:21px}.zoomTarget-wrapper{padding:0}#zoomTarget,.cut-canvas{border:1px solid #c3c3c3}.no-padding{padding-left:0;padding-right:0}.annotation-content{margin-top:15px;margin-bottom:15px}.highlight{border:1px solid orange}.revision-proposal{background-color:#ecf0f1}.collection-home-btn{margin-top:5px}.img-stats-dt{width:250px!important}.img-stats-dd{margin-left:270px!important}.revision-link:hover{text-decoration:underline}.item-image-thumbnail:hover{cursor:pointer}ul.annotation-comments{background-color:#ededed}li.list-group-item{border:1px solid #bbb}.comment-reply-link{cursor:pointer}.comment-metacategories,.comment-subtext{font-size:.9em;display:inline}.comment-separator{margin-top:10px;margin-bottom:5px}.pagination-shortcut{cursor:pointer}.badge-error{background-color:#b94a48}.badge-warning{background-color:#f89406}.badge-success{background-color:#468847}.badge-info{background-color:#3a87ad}.badge-inverse{background-color:#333}.notif-badge{margin-bottom:5px}.show-all-notifications{cursor:pointer}.annotation-panel{min-width:535px}.annotation-detail{margin-right:5px;margin-left:5px;margin-top:5px;white-space:normal}.annotation-detail,.stats-annotation-userpage{display:inline-block;vertical-align:top;padding:10px}.image-detail{width:150px}.image-detail,.large-image-detail{display:inline-block;vertical-align:top}.large-image-detail{width:400px}.panel .dl-horizontal dt{white-space:normal;text-align:left}.no-user-annotation{margin-left:15px}.dt-annotation{margin-bottom:10px}.userpage-annotation-btn{display:inline-block;vertical-align:top;margin-bottom:5px}.collection-title{margin-top:0}.collection-container,.collection-summary{padding-bottom:15px;width:100%}.collection-container{padding-top:15px}.image-list-wrapper,.tab-selector{margin-top:15px}li.image-list-li{margin-bottom:5px;width:370px;height:430px;vertical-align:middle;padding:5px}.image-list-image-container{position:relative}.object-info{margin-bottom:10px}.collection-home-item-btn{margin-bottom:5px}.collection-home-tab{cursor:pointer}.diff-viewer-wrapper{margin-top:5px}.diff-panel{border:1px solid gray;width:300px;heigth:250px}del{text-decoration:line-through;color:#b30000;background:#fadad7}ins{background:#eaf2c2;color:#406619;text-decoration:none}.diff-panel .close-btn{cursor:pointer;margin-right:5px}.footer-link,.partners-icons{margin-left:20px}.footer-info{margin-left:15px}dl.legals-dl dd{margin-left:10px}.hide-complete-link,.show-complete-link{cursor:pointer}.description-col{padding:10px}#collection-summary .tab-pane{padding:30px 0}.annotation-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:30px}.annotation-navigator .annotation-navigator-list{width:20%}.annotation-navigator .annotation-navigator-list .panel{max-height:600px;height:600px;overflow:scroll}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-heading{font-weight:700;margin-bottom:10px}.annotation-navigator .annotation-navigator-list .list-group-item .close{display:none;line-height:13px}.annotation-navigator .annotation-navigator-list .list-group-item.active .close{display:block;color:#fff}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-footer{margin-top:10px;font-size:12px;text-align:right}.annotation-navigator .annotation-navigator-canvas{width:60%;padding:0 15px}.annotation-navigator .annotation-navigator-panel{width:20%;display:-webkit-box;display:-ms-flexbox;display:flex}.annotation-navigator .annotation-navigator-panel .panel-body,.annotation-navigator .annotation-navigator-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel{margin-bottom:0;max-height:600px;height:600px}.annotation-navigator .annotation-navigator-panel .panel-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.annotation-navigator .annotation-navigator-panel .panel-body>*{-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel-body>:last-child{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
 /*# sourceMappingURL=iconolab.css.map*/
\ No newline at end of file
--- a/src/iconolab/static/iconolab/js/iconolab.js	Fri Feb 24 15:06:08 2017 +0100
+++ b/src/iconolab/static/iconolab/js/iconolab.js	Fri Feb 24 15:28:43 2017 +0100
@@ -2,14 +2,14 @@
 return{y:s,x:l}};return n.getElementByPoint=function(t,e){var n=this,r=(n.canvas,C.doc.elementFromPoint(t,e));if(C.win.opera&&"svg"==r.tagName){var i=nt(r),o=r.createSVGRect();o.x=t-i.x,o.y=e-i.y,o.width=o.height=1;var a=r.getIntersectionList(o,null);a.length&&(r=a[a.length-1])}return r?w(r):null},n.plugin=function(t){t(n,y,x,C,b)},C.win.Snap=n,n}(t||this);return r.plugin(function(r,i,o,a,s){function l(t,e){if(null==e){var n=!0;if(e="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform"),!e)return new r.Matrix;e=r._.svgTransform2string(e)}else e=r._.rgTransform.test(e)?d(e).replace(/\.{3}|\u2026/g,t._.transform||E):r._.svgTransform2string(e),p(e,"array")&&(e=r.path?r.path.toString.call(e):d(e)),t._.transform=e;var i=r._.transform2matrix(e,t.getBBox(1));return n?i:void(t.matrix=i)}function c(t){function e(t,e){var n=v(t.node,e);n=n&&n.match(o),n=n&&n[2],n&&"#"==n.charAt()&&(n=n.substring(1),n&&(s[n]=(s[n]||[]).concat(function(n){var r={};r[e]=URL(n),v(t.node,r)})))}function n(t){var e=v(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1),e&&(s[e]=(s[e]||[]).concat(function(e){t.attr("xlink:href","#"+e)})))}for(var r,i=t.selectAll("*"),o=/^\s*url\(("|'|)(.*)\1\)\s*$/,a=[],s={},l=0,c=i.length;l<c;l++){r=i[l],e(r,"fill"),e(r,"stroke"),e(r,"filter"),e(r,"mask"),e(r,"clip-path"),n(r);var f=v(r.node,"id");f&&(v(r.node,{id:r.id}),a.push({old:f,id:r.id}))}for(l=0,c=a.length;l<c;l++){var u=s[a[l].old];if(u)for(var h=0,p=u.length;h<p;h++)u[h](a[l].id)}}function f(t,e,n){return function(r){var i=r.slice(t,e);return 1==i.length&&(i=i[0]),n?n(i):i}}function u(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,r=this.node.childNodes;if(t)for(var i=0,o=n.length;i<o;i++)e+=" "+n[i].name+'="'+n[i].value.replace(/"/g,'\\"')+'"';if(r.length){for(t&&(e+=">"),i=0,o=r.length;i<o;i++)3==r[i].nodeType?e+=r[i].nodeValue:1==r[i].nodeType&&(e+=_(r[i]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}var h=i.prototype,p=r.is,d=String,g=r._unit2px,v=r._.$,m=r._.make,y=r._.getSomeDefs,b="hasOwnProperty",_=r._.wrap;h.getBBox=function(t){if(!r.Matrix||!r.path)return this.node.getBBox();var e=this,n=new r.Matrix;if(e.removed)return r._.box();for(;"use"==e.type;)if(t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e.original)e=e.original;else{var i=e.attr("xlink:href");e=e.original=e.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var o=e._,a=r.path.get[e.type]||r.path.get.deflt;try{return t?(o.bboxwt=a?r.path.getBBox(e.realPath=a(e)):r._.box(e.node.getBBox()),r._.box(o.bboxwt)):(e.realPath=a(e),e.matrix=e.transform().localMatrix,o.bbox=r.path.getBBox(r.path.map(e.realPath,n.add(e.matrix))),r._.box(o.bbox))}catch(t){return r._.box()}};var x=function(){return this.string};h.transform=function(t){var e=this._;if(null==t){for(var n,i=this,o=new r.Matrix(this.node.getCTM()),a=l(this),s=[a],c=new r.Matrix,f=a.toTransformString(),u=d(a)==d(this.matrix)?d(e.transform):f;"svg"!=i.type&&(i=i.parent());)s.push(l(i));for(n=s.length;n--;)c.add(s[n]);return{string:u,globalMatrix:o,totalMatrix:c,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:c.toTransformString(),local:f,toString:x}}return t instanceof r.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):l(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix})),this},h.parent=function(){return _(this.node.parentNode)},h.append=h.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach(function(t){e.add(t)}),this}t=_(t),this.node.appendChild(t.node),t.paper=this.paper}return this},h.appendTo=function(t){return t&&(t=_(t),t.append(this)),this},h.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this}t=_(t);var r=t.parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},h.prependTo=function(t){return t=_(t),t.prepend(this),this},h.before=function(t){if("set"==t.type){var e=this;return t.forEach(function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()}),this.parent().add(),this}t=_(t);var n=t.parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},h.after=function(t){t=_(t);var e=t.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},h.insertBefore=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.insertAfter=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},h.select=function(t){return t=d(t).replace(/([^\\]):/g,"$1\\:"),_(this.node.querySelector(t))},h.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(r.set||Array)(),i=0;i<e.length;i++)n.push(_(e[i]));return n},h.asPX=function(t,e){return null==e&&(e=this.attr(t)),+g(this,t,e)},h.use=function(){var t,e=this.node.id;return e||(e=this.id,v(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?m(this.type,this.node.parentNode):m("use",this.node.parentNode),v(t.node,{"xlink:href":"#"+e}),t.original=this,t},h.clone=function(){var t=_(this.node.cloneNode(!0));return v(t.node,"id")&&v(t.node,{id:t.id}),c(t),t.insertAfter(this),t},h.toDefs=function(){var t=y(this);return t.appendChild(this.node),this},h.pattern=h.toPattern=function(t,e,n,r){var i=m("pattern",y(this));return null==t&&(t=this.getBBox()),p(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,t=t.x),v(i.node,{x:t,y:e,width:n,height:r,patternUnits:"userSpaceOnUse",id:i.id,viewBox:[t,e,n,r].join(" ")}),i.node.appendChild(this.node),i},h.marker=function(t,e,n,r,i,o){var a=m("marker",y(this));return null==t&&(t=this.getBBox()),p(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,i=t.refX||t.cx,o=t.refY||t.cy,t=t.x),v(a.node,{viewBox:[t,e,n,r].join(" "),markerWidth:n,markerHeight:r,orient:"auto",refX:i||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a};var w=function(t,e,r,i){"function"!=typeof r||r.length||(i=r,r=n.linear),this.attr=t,this.dur=e,r&&(this.easing=r),i&&(this.callback=i)};r._.Animation=w,r.animation=function(t,e,n,r){return new w(t,e,n,r)},h.inAnim=function(){var t=this,e=[];for(var n in t.anims)t.anims[b](n)&&!function(t){e.push({anim:new w(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(t.anims[n]);return e},r.animate=function(t,r,i,o,a,s){"function"!=typeof a||a.length||(s=a,a=n.linear);var l=n.time(),c=n(t,r,l,l+o,n.time,i,a);return s&&e.once("mina.finish."+c.id,s),c},h.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},h.animate=function(t,r,i,o){"function"!=typeof i||i.length||(o=i,i=n.linear),t instanceof w&&(o=t.callback,i=t.easing,r=i.dur,t=t.attr);var a,s,l,c,u=[],h=[],g={},v=this;for(var m in t)if(t[b](m)){v.equal?(c=v.equal(m,d(t[m])),a=c.from,s=c.to,l=c.f):(a=+v.attr(m),s=+t[m]);var y=p(a,"array")?a.length:1;g[m]=f(u.length,u.length+y,l),u=u.concat(a),h=h.concat(s)}var _=n.time(),x=n(u,h,_,_+r,n.time,function(t){var e={};for(var n in g)g[b](n)&&(e[n]=g[n](t));v.attr(e)},i);return v.anims[x.id]=x,x._attrs=t,x._callback=o,e("snap.animcreated."+v.id,x),e.once("mina.finish."+x.id,function(){delete v.anims[x.id],o&&o.call(v)}),e.once("mina.stop."+x.id,function(){delete v.anims[x.id]}),v};var k={};h.data=function(t,n){var i=k[this.id]=k[this.id]||{};if(0==arguments.length)return e("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(r.is(t,"object")){for(var o in t)t[b](o)&&this.data(o,t[o]);return this}return e("snap.data.get."+this.id,this,i[t],t),i[t]}return i[t]=n,e("snap.data.set."+this.id,this,n,t),this},h.removeData=function(t){return null==t?k[this.id]={}:k[this.id]&&delete k[this.id][t],this},h.outerSVG=h.toString=u(1),h.innerSVG=u(),h.toDataURL=function(){if(t&&t.btoa){var e=this.getBBox(),n=r.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=h.select,s.prototype.selectAll=h.selectAll}),r.plugin(function(t,e,n,r,i){function o(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,s=String,l=Math,c="";!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=l.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,r,i,a){var s,l,c,f,u=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],p=[[t,n,i],[e,r,a],[0,0,1]];for(t&&t instanceof o&&(p=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(l=0;l<3;l++){for(f=0,c=0;c<3;c++)f+=h[s][c]*p[c][l];u[s][l]=f}return this.a=u[0][0],this.b=u[1][0],this.c=u[0][1],this.d=u[1][1],this.e=u[0][2],this.f=u[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new o(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new o(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var i=+l.cos(e).toFixed(9),o=+l.sin(e).toFixed(9);return this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];e.scalex=l.sqrt(n(i[0])),r(i[0]),e.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*e.shear,i[1][1]-i[0][1]*e.shear],e.scaley=l.sqrt(n(i[1])),r(i[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=-i[0][1],a=i[1][1];return a<0?(e.rotate=t.deg(l.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(l.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:c)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:c)+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:c))}}(o.prototype),t.Matrix=o,t.matrix=function(t,e,n,r,i,a){return new o(t,e,n,r,i,a)}}),r.plugin(function(t,n,r,i,o){function a(r){return function(i){if(e.stop(),i instanceof o&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,p(this).appendChild(i),i=u(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||g(i.node,{id:i.id});var a=v(i.node.id)}else a=i.attr(r);else if(a=t.color(i),a.error){var s=t(p(this).ownerSVGElement).gradient(i);s?(s.node.id||g(s.node,{id:s.id}),a=v(s.node.id)):a=i}else a=m(a);var l={};l[r]=a,g(this.node,l),this.node.style[r]=b}}function s(t){e.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function l(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r<i;r++){var o=n[r];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?e.push(o.firstChild.nodeValue):e.push(l(o)))}return e}function c(){return e.stop(),this.node.style.fontSize}var f=t._.make,u=t._.wrap,h=t.is,p=t._.getSomeDefs,d=/^url\(#?([^)]+)\)$/,g=t._.$,v=t.url,m=String,y=t._.separator,b="";e.on("snap.util.attr.mask",function(t){if(t instanceof n||t instanceof o){if(e.stop(),t instanceof o&&1==t.node.childNodes.length&&(t=t.node.firstChild,p(this).appendChild(t),t=u(t)),"mask"==t.type)var r=t;else r=f("mask",p(this)),r.node.appendChild(t.node);!r.node.id&&g(r.node,{id:r.id}),g(this.node,{mask:v(r.id)})}}),function(t){e.on("snap.util.attr.clip",t),e.on("snap.util.attr.clip-path",t),e.on("snap.util.attr.clipPath",t)}(function(t){if(t instanceof n||t instanceof o){if(e.stop(),"clipPath"==t.type)var r=t;else r=f("clipPath",p(this)),r.node.appendChild(t.node),!r.node.id&&g(r.node,{id:r.id});g(this.node,{"clip-path":v(r.node.id||r.id)})}}),e.on("snap.util.attr.fill",a("fill")),e.on("snap.util.attr.stroke",a("stroke"));var _=/^([lr])(?:\(([^)]*)\))?(.*)$/i;e.on("snap.util.grad.parse",function(t){t=m(t);var e=t.match(_);if(!e)return null;var n=e[1],r=e[2],i=e[3];return r=r.split(/\s*,\s*/).map(function(t){return+t==t?+t:t}),1==r.length&&0==r[0]&&(r=[]),i=i.split("-"),i=i.map(function(t){t=t.split(":");var e={color:t[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}),{type:n,params:r,stops:i}}),e.on("snap.util.attr.d",function(n){e.stop(),h(n,"array")&&h(n[0],"array")&&(n=t.path.toString.call(n)),n=m(n),n.match(/[ruo]/i)&&(n=t.path.toAbsolute(n)),g(this.node,{d:n})})(-1),e.on("snap.util.attr.#text",function(t){e.stop(),t=m(t);for(var n=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(n)})(-1),e.on("snap.util.attr.path",function(t){e.stop(),this.attr({d:t})})(-1),e.on("snap.util.attr.class",function(t){e.stop(),this.node.className.baseVal=t})(-1),e.on("snap.util.attr.viewBox",function(t){var n;n=h(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):h(t,"array")?t.join(" "):t,g(this.node,{viewBox:n}),e.stop()})(-1),e.on("snap.util.attr.transform",function(t){this.transform(t),e.stop()})(-1),e.on("snap.util.attr.r",function(t){"rect"==this.type&&(e.stop(),g(this.node,{rx:t,ry:t}))})(-1),e.on("snap.util.attr.textpath",function(t){if(e.stop(),"text"==this.type){var r,i,o;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(h(t,"string")){var a=p(this),s=u(a.parentNode).path(t);a.appendChild(s.node),r=s.id,s.attr({id:r})}else t=u(t),t instanceof n&&(r=t.attr("id"),r||(r=t.id,t.attr({id:r})));if(r)if(i=this.textPath,o=this.node,i)i.attr({"xlink:href":"#"+r});else{for(i=g("textPath",{"xlink:href":"#"+r});o.firstChild;)i.appendChild(o.firstChild);o.appendChild(i),this.textPath=u(i)}}})(-1),e.on("snap.util.attr.text",function(t){if("text"==this.type){for(var n=this.node,r=function(t){var e=g("tspan");if(h(t,"array"))for(var n=0;n<t.length;n++)e.appendChild(r(t[n]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};n.firstChild;)n.removeChild(n.firstChild);for(var o=r(t);o.firstChild;)n.appendChild(o.firstChild)}e.stop()})(-1),e.on("snap.util.attr.fontSize",s)(-1),e.on("snap.util.attr.font-size",s)(-1),e.on("snap.util.getattr.transform",function(){return e.stop(),this.transform()})(-1),e.on("snap.util.getattr.textpath",function(){return e.stop(),this.textPath})(-1),function(){function n(n){return function(){e.stop();var r=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+n);return"none"==r?r:t(i.doc.getElementById(r.match(d)[1]))}}function r(t){return function(n){e.stop();var r="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""==n||!n)return void(this.node.style[r]="none");if("marker"==n.type){var i=n.node.id;return i||g(n.node,{id:n.id}),void(this.node.style[r]=v(i))}}}e.on("snap.util.getattr.marker-end",n("end"))(-1),e.on("snap.util.getattr.markerEnd",n("end"))(-1),e.on("snap.util.getattr.marker-start",n("start"))(-1),e.on("snap.util.getattr.markerStart",n("start"))(-1),e.on("snap.util.getattr.marker-mid",n("mid"))(-1),e.on("snap.util.getattr.markerMid",n("mid"))(-1),e.on("snap.util.attr.marker-end",r("end"))(-1),e.on("snap.util.attr.markerEnd",r("end"))(-1),e.on("snap.util.attr.marker-start",r("start"))(-1),e.on("snap.util.attr.markerStart",r("start"))(-1),e.on("snap.util.attr.marker-mid",r("mid"))(-1),e.on("snap.util.attr.markerMid",r("mid"))(-1)}(),e.on("snap.util.getattr.r",function(){if("rect"==this.type&&g(this.node,"rx")==g(this.node,"ry"))return e.stop(),g(this.node,"rx")})(-1),e.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){e.stop();var t=l(this.node);return 1==t.length?t[0]:t}})(-1),e.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),e.on("snap.util.getattr.viewBox",function(){e.stop();var n=g(this.node,"viewBox");return n?(n=n.split(y),t._.box(+n[0],+n[1],+n[2],+n[3])):void 0})(-1),e.on("snap.util.getattr.points",function(){var t=g(this.node,"points");return e.stop(),t?t.split(y):void 0})(-1),e.on("snap.util.getattr.path",function(){var t=g(this.node,"d");return e.stop(),t})(-1),e.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),e.on("snap.util.getattr.fontSize",c)(-1),e.on("snap.util.getattr.font-size",c)(-1)}),r.plugin(function(t,e,n,r,i){var o=/\S+/g,a=String,s=e.prototype;s.addClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],l=this.node,c=l.className.baseVal,f=c.match(o)||[];if(s.length){for(e=0;r=s[e++];)n=f.indexOf(r),~n||f.push(r);i=f.join(" "),c!=i&&(l.className.baseVal=i)}return this},s.removeClass=function(t){var e,n,r,i,s=a(t||"").match(o)||[],l=this.node,c=l.className.baseVal,f=c.match(o)||[];if(f.length){for(e=0;r=s[e++];)n=f.indexOf(r),~n&&f.splice(n,1);i=f.join(" "),c!=i&&(l.className.baseVal=i)}return this},s.hasClass=function(t){var e=this.node,n=e.className.baseVal,r=n.match(o)||[];return!!~r.indexOf(t)},s.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,r,i,a,s=(t||"").match(o)||[],l=this.node,c=l.className.baseVal,f=c.match(o)||[];for(n=0;i=s[n++];)r=f.indexOf(i),~r?f.splice(r,1):f.push(i);return a=f.join(" "),c!=a&&(l.className.baseVal=a),this}}),r.plugin(function(t,n,r,i,o){function a(t){return t}function s(t){return function(e){return+e.toFixed(3)+t}}var l={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},c=String,f=/[a-z]+$/i,u=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;e.on("snap.util.attr",function(t){var n=c(t).match(u);if(n){var r=e.nt(),i=r.substring(r.lastIndexOf(".")+1),o=this.attr(i),a={};e.stop();var s=n[3]||"",h=o.match(f),p=l[n[1]];if(h&&h==s?t=p(parseFloat(o),+n[2]):(o=this.asPX(i),t=p(this.asPX(i),this.asPX(i,n[2]+s))),isNaN(o)||isNaN(t))return;a[i]=t,this.attr(a)}})(-10),e.on("snap.util.equal",function(t,n){var r=c(this.attr(t)||""),i=c(n).match(u);if(i){e.stop();var o=i[3]||"",h=r.match(f),p=l[i[1]];return h&&h==o?{from:parseFloat(r),to:p(parseFloat(r),+i[2]),f:s(h)}:(r=this.asPX(t),{from:r,to:p(r,this.asPX(t,i[2]+o)),f:a})}})(-10)}),r.plugin(function(n,r,i,o,a){var s=i.prototype,l=n.is;s.rect=function(t,e,n,r,i,o){var a;return null==o&&(o=i),l(t,"object")&&"[object Object]"==t?a=t:null!=t&&(a={x:t,y:e,width:n,height:r},null!=i&&(a.rx=i,a.ry=o)),this.el("rect",a)},s.circle=function(t,e,n){var r;return l(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,r:n}),this.el("circle",r)};var c=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=o.doc.createElement("img"),i=o.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,i.removeChild(r)},r.onerror=t,i.appendChild(r),r.src=e}}();s.image=function(t,e,r,i,o){var a=this.el("image");if(l(t,"object")&&"src"in t)a.attr(t);else if(null!=t){var s={"xlink:href":t,preserveAspectRatio:"none"};null!=e&&null!=r&&(s.x=e,s.y=r),null!=i&&null!=o?(s.width=i,s.height=o):c(t,function(){n._.$(a.node,{width:this.offsetWidth,height:this.offsetHeight})}),n._.$(a.node,s)}return a},s.ellipse=function(t,e,n,r){var i;return l(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,rx:n,ry:r}),this.el("ellipse",i)},s.path=function(t){var e;return l(t,"object")&&!l(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},s.group=s.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.svg=function(t,e,n,r,i,o,a,s){var c={};return l(t,"object")&&null==e?c=t:(null!=t&&(c.x=t),null!=e&&(c.y=e),null!=n&&(c.width=n),null!=r&&(c.height=r),null!=i&&null!=o&&null!=a&&null!=s&&(c.viewBox=[i,o,a,s])),this.el("svg",c)},s.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},s.ptrn=function(t,e,n,r,i,o,a,s){if(l(t,"object"))var c=t;else c={patternUnits:"userSpaceOnUse"},t&&(c.x=t),e&&(c.y=e),null!=n&&(c.width=n),null!=r&&(c.height=r),null!=i&&null!=o&&null!=a&&null!=s?c.viewBox=[i,o,a,s]:c.viewBox=[t||0,e||0,n||0,r||0];return this.el("pattern",c)},s.use=function(t){return null!=t?(t instanceof r&&(t.attr("id")||t.attr({id:n._.id(t)}),t=t.attr("id")),"#"==String(t).charAt()&&(t=t.substring(1)),this.el("use",{"xlink:href":"#"+t})):r.prototype.use.call(this)},s.symbol=function(t,e,n,r){var i={};return null!=t&&null!=e&&null!=n&&null!=r&&(i.viewBox=[t,e,n,r]),this.el("symbol",i)},s.text=function(t,e,n){var r={};return l(t,"object")?r=t:null!=t&&(r={x:t,y:e,text:n||""}),this.el("text",r)},s.line=function(t,e,n,r){var i={};return l(t,"object")?i=t:null!=t&&(i={x1:t,x2:n,y1:e,y2:r}),this.el("line",i)},s.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},s.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){function r(){return this.selectAll("stop")}function i(t,e){var r=f("stop"),i={offset:+e+"%"};return t=n.color(t),i["stop-color"]=t.hex,t.opacity<1&&(i["stop-opacity"]=t.opacity),f(r,i),this.node.appendChild(r),this}function o(){if("linearGradient"==this.type){var t=f(this.node,"x1")||0,e=f(this.node,"x2")||1,r=f(this.node,"y1")||0,i=f(this.node,"y2")||0;return n._.box(t,r,math.abs(e-t),math.abs(i-r))}var o=this.node.cx||.5,a=this.node.cy||.5,s=this.node.r||0;return n._.box(o-s,a-s,2*s,2*s)}function a(t,n){function r(t,e){for(var n=(e-u)/(t-h),r=h;r<t;r++)a[r].offset=+(+u+n*(r-h)).toFixed(2);h=t,u=e}var i,o=e("snap.util.grad.parse",null,n).firstDefined();if(!o)return null;o.params.unshift(t),i="l"==o.type.toLowerCase()?l.apply(0,o.params):c.apply(0,o.params),o.type!=o.type.toLowerCase()&&f(i.node,{gradientUnits:"userSpaceOnUse"});var a=o.stops,s=a.length,u=0,h=0;s--;for(var p=0;p<s;p++)"offset"in a[p]&&r(p,a[p].offset);for(a[s].offset=a[s].offset||100,r(s,a[s].offset),p=0;p<=s;p++){var d=a[p];i.addStop(d.color,d.offset)}return i}function l(t,e,a,s,l){var c=n._.make("linearGradient",t);return c.stops=r,c.addStop=i,c.getBBox=o,null!=e&&f(c.node,{x1:e,y1:a,x2:s,y2:l}),c}function c(t,e,a,s,l,c){var u=n._.make("radialGradient",t);return u.stops=r,u.addStop=i,u.getBBox=o,null!=e&&f(u.node,{cx:e,cy:a,r:s}),null!=l&&null!=c&&f(u.node,{fx:l,fy:c}),u}var f=n._.$;s.gradient=function(t){return a(this.defs,t)},s.gradientLinear=function(t,e,n,r){return l(this.defs,t,e,n,r)},s.gradientRadial=function(t,e,n,r,i){return c(this.defs,t,e,n,r,i)},s.toString=function(){var t,e=this.node.ownerDocument,r=e.createDocumentFragment(),i=e.createElement("div"),o=this.node.cloneNode(!0);return r.appendChild(i),i.appendChild(o),n._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),t=i.innerHTML,r.removeChild(r.firstChild),t},s.toDataURL=function(){if(t&&t.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},s.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):s.clear.call({node:e}),e=t}}()}),r.plugin(function(t,e,n,r){function i(t){var e=i.ps=i.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var n in e)e[D](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])}),e[t]}function o(t,e,n,r){return null==t&&(t=e=n=r=0),null==e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:L.min(n,r)/2,r2:L.max(n,r)/2,r0:L.sqrt(n*n+r*r)/2,path:C(t,e,n,r),vb:[t,e,n,r].join(" ")}}function a(){return this.join(",").replace(z,"$1")}function s(t){var e=B(t);return e.toString=a,e}function l(t,e,n,r,i,o,a,s,l){return null==l?g(t,e,n,r,i,o,a,s):f(t,e,n,r,i,o,a,s,v(t,e,n,r,i,o,a,s,l))}function c(n,r){function i(t){return+(+t).toFixed(3)}return t._.cacher(function(t,o,a){t instanceof e&&(t=t.attr("d")),t=E(t);for(var s,c,u,h,p,d="",g={},v=0,m=0,y=t.length;m<y;m++){if(u=t[m],"M"==u[0])s=+u[1],c=+u[2];else{if(h=l(s,c,u[1],u[2],u[3],u[4],u[5],u[6]),v+h>o){if(r&&!g.start){if(p=l(s,c,u[1],u[2],u[3],u[4],u[5],u[6],o-v),d+=["C"+i(p.start.x),i(p.start.y),i(p.m.x),i(p.m.y),i(p.x),i(p.y)],a)return d;g.start=d,d=["M"+i(p.x),i(p.y)+"C"+i(p.n.x),i(p.n.y),i(p.end.x),i(p.end.y),i(u[5]),i(u[6])].join(),v+=h,s=+u[5],c=+u[6];continue}if(!n&&!r)return p=l(s,c,u[1],u[2],u[3],u[4],u[5],u[6],o-v)}v+=h,s=+u[5],c=+u[6]}d+=u.shift()+u}return g.end=d,p=n?v:r?g:f(s,c,u[0],u[1],u[2],u[3],u[4],u[5],1)},null,t._.clone)}function f(t,e,n,r,i,o,a,s,l){var c=1-l,f=U(c,3),u=U(c,2),h=l*l,p=h*l,d=f*t+3*u*l*n+3*c*l*l*i+p*a,g=f*e+3*u*l*r+3*c*l*l*o+p*s,v=t+2*l*(n-t)+h*(i-2*n+t),m=e+2*l*(r-e)+h*(o-2*r+e),y=n+2*l*(i-n)+h*(a-2*i+n),b=r+2*l*(o-r)+h*(s-2*o+r),_=c*t+l*n,x=c*e+l*r,w=c*i+l*a,k=c*o+l*s,C=90-180*L.atan2(v-y,m-b)/q;return{x:d,y:g,m:{x:v,y:m},n:{x:y,y:b},start:{x:_,y:x},end:{x:w,y:k},alpha:C}}function u(e,n,r,i,a,s,l,c){t.is(e,"array")||(e=[e,n,r,i,a,s,l,c]);var f=M.apply(null,e);return o(f.min.x,f.min.y,f.max.x-f.min.x,f.max.y-f.min.y)}function h(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function p(t,e){return t=o(t),e=o(e),h(e,t.x,t.y)||h(e,t.x2,t.y)||h(e,t.x,t.y2)||h(e,t.x2,t.y2)||h(t,e.x,e.y)||h(t,e.x2,e.y)||h(t,e.x,e.y2)||h(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function d(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n}function g(t,e,n,r,i,o,a,s,l){null==l&&(l=1),l=l>1?1:l<0?0:l;for(var c=l/2,f=12,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;g<f;g++){var v=c*u[g]+c,m=d(v,t,n,i,a),y=d(v,e,r,o,s),b=m*m+y*y;p+=h[g]*L.sqrt(b)}return c*p}function v(t,e,n,r,i,o,a,s,l){if(!(l<0||g(t,e,n,r,i,o,a,s)<l)){var c,f=1,u=f/2,h=f-u,p=.01;for(c=g(t,e,n,r,i,o,a,s,h);W(c-l)>p;)u/=2,h+=(c<l?1:-1)*u,c=g(t,e,n,r,i,o,a,s,h);return h}}function m(t,e,n,r,i,o,a,s){if(!(H(t,n)<V(i,a)||V(t,n)>H(i,a)||H(e,r)<V(o,s)||V(e,r)>H(o,s))){var l=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),c=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),f=(t-n)*(o-s)-(e-r)*(i-a);if(f){var u=l/f,h=c/f,p=+u.toFixed(2),d=+h.toFixed(2);if(!(p<+V(t,n).toFixed(2)||p>+H(t,n).toFixed(2)||p<+V(i,a).toFixed(2)||p>+H(i,a).toFixed(2)||d<+V(e,r).toFixed(2)||d>+H(e,r).toFixed(2)||d<+V(o,s).toFixed(2)||d>+H(o,s).toFixed(2)))return{x:u,y:h}}}}function y(t,e,n){var r=u(t),i=u(e);if(!p(r,i))return n?0:[];for(var o=g.apply(0,t),a=g.apply(0,e),s=~~(o/8),l=~~(a/8),c=[],h=[],d={},v=n?0:[],y=0;y<s+1;y++){var b=f.apply(0,t.concat(y/s));c.push({x:b.x,y:b.y,t:y/s})}for(y=0;y<l+1;y++)b=f.apply(0,e.concat(y/l)),h.push({x:b.x,y:b.y,t:y/l});for(y=0;y<s;y++)for(var _=0;_<l;_++){var x=c[y],w=c[y+1],k=h[_],C=h[_+1],T=W(w.x-x.x)<.001?"y":"x",j=W(C.x-k.x)<.001?"y":"x",$=m(x.x,x.y,w.x,w.y,k.x,k.y,C.x,C.y);if($){if(d[$.x.toFixed(4)]==$.y.toFixed(4))continue;d[$.x.toFixed(4)]=$.y.toFixed(4);var A=x.t+W(($[T]-x[T])/(w[T]-x[T]))*(w.t-x.t),S=k.t+W(($[j]-k[j])/(C[j]-k[j]))*(C.t-k.t);A>=0&&A<=1&&S>=0&&S<=1&&(n?v++:v.push({x:$.x,y:$.y,t1:A,t2:S}))}}return v}function b(t,e){return x(t,e)}function _(t,e){return x(t,e,1)}function x(t,e,n){t=E(t),e=E(e);for(var r,i,o,a,s,l,c,f,u,h,p=n?0:[],d=0,g=t.length;d<g;d++){var v=t[d];if("M"==v[0])r=s=v[1],i=l=v[2];else{"C"==v[0]?(u=[r,i].concat(v.slice(1)),r=u[6],i=u[7]):(u=[r,i,r,i,s,l,s,l],r=s,i=l);for(var m=0,b=e.length;m<b;m++){var _=e[m];if("M"==_[0])o=c=_[1],a=f=_[2];else{"C"==_[0]?(h=[o,a].concat(_.slice(1)),o=h[6],a=h[7]):(h=[o,a,o,a,c,f,c,f],o=c,a=f);var x=y(u,h,n);if(n)p+=x;else{for(var w=0,k=x.length;w<k;w++)x[w].segment1=d,x[w].segment2=m,x[w].bez1=u,x[w].bez2=h;p=p.concat(x)}}}}}return p}function w(t,e,n){var r=k(t);return h(r,e,n)&&x(t,[["M",e,n],["H",r.x2+10]],1)%2==1}function k(t){var e=i(t);if(e.bbox)return B(e.bbox);if(!t)return o();t=E(t);for(var n,r=0,a=0,s=[],l=[],c=0,f=t.length;c<f;c++)if(n=t[c],"M"==n[0])r=n[1],a=n[2],s.push(r),l.push(a);else{var u=M(r,a,n[1],n[2],n[3],n[4],n[5],n[6]);s=s.concat(u.min.x,u.max.x),l=l.concat(u.min.y,u.max.y),r=n[5],a=n[6]}var h=V.apply(0,s),p=V.apply(0,l),d=H.apply(0,s),g=H.apply(0,l),v=o(h,p,d-h,g-p);return e.bbox=B(v),v}function C(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.toString=a,o}function T(t,e,n,r,i){if(null==i&&null==r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!=i)var o=Math.PI/180,s=t+n*Math.cos(-r*o),l=t+n*Math.cos(-i*o),c=e+n*Math.sin(-r*o),f=e+n*Math.sin(-i*o),u=[["M",s,c],["A",n,n,0,+(i-r>180),0,l,f]];else u=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return u.toString=a,u}function j(e){var n=i(e),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var o=[],l=0,c=0,f=0,u=0,h=0;"M"==e[0][0]&&(l=e[0][1],c=e[0][2],f=l,u=c,h++,o.push(["M",l,c]));for(var p=h,d=e.length;p<d;p++){var g=o[p]=[],v=e[p];if(v[0]!=r.call(v[0]))switch(g[0]=r.call(v[0]),g[0]){case"a":g[1]=v[1],g[2]=v[2],g[3]=v[3],g[4]=v[4],g[5]=v[5],g[6]=+(v[6]-l).toFixed(3),g[7]=+(v[7]-c).toFixed(3);break;case"v":g[1]=+(v[1]-c).toFixed(3);break;case"m":f=v[1],u=v[2];default:for(var m=1,y=v.length;m<y;m++)g[m]=+(v[m]-(m%2?l:c)).toFixed(3)}else{g=o[p]=[],"m"==v[0]&&(f=v[1]+l,u=v[2]+c);for(var b=0,_=v.length;b<_;b++)o[p][b]=v[b]}var x=o[p].length;switch(o[p][0]){case"z":l=f,c=u;break;case"h":l+=+o[p][x-1];break;case"v":c+=+o[p][x-1];break;default:l+=+o[p][x-2],c+=+o[p][x-1]}}return o.toString=a,n.rel=s(o),o}function $(e){var n=i(e);if(n.abs)return s(n.abs);if(R(e,"array")&&R(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var r,o=[],l=0,c=0,f=0,u=0,h=0;
 "M"==e[0][0]&&(l=+e[0][1],c=+e[0][2],f=l,u=c,h++,o[0]=["M",l,c]);for(var p,d,g=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),v=h,m=e.length;v<m;v++){if(o.push(p=[]),d=e[v],r=d[0],r!=r.toUpperCase())switch(p[0]=r.toUpperCase(),p[0]){case"A":p[1]=d[1],p[2]=d[2],p[3]=d[3],p[4]=d[4],p[5]=d[5],p[6]=+d[6]+l,p[7]=+d[7]+c;break;case"V":p[1]=+d[1]+c;break;case"H":p[1]=+d[1]+l;break;case"R":for(var y=[l,c].concat(d.slice(1)),b=2,_=y.length;b<_;b++)y[b]=+y[b]+l,y[++b]=+y[b]+c;o.pop(),o=o.concat(N(y,g));break;case"O":o.pop(),y=T(l,c,d[1],d[2]),y.push(y[0]),o=o.concat(y);break;case"U":o.pop(),o=o.concat(T(l,c,d[1],d[2],d[3])),p=["U"].concat(o[o.length-1].slice(-2));break;case"M":f=+d[1]+l,u=+d[2]+c;default:for(b=1,_=d.length;b<_;b++)p[b]=+d[b]+(b%2?l:c)}else if("R"==r)y=[l,c].concat(d.slice(1)),o.pop(),o=o.concat(N(y,g)),p=["R"].concat(d.slice(-2));else if("O"==r)o.pop(),y=T(l,c,d[1],d[2]),y.push(y[0]),o=o.concat(y);else if("U"==r)o.pop(),o=o.concat(T(l,c,d[1],d[2],d[3])),p=["U"].concat(o[o.length-1].slice(-2));else for(var x=0,w=d.length;x<w;x++)p[x]=d[x];if(r=r.toUpperCase(),"O"!=r)switch(p[0]){case"Z":l=+f,c=+u;break;case"H":l=p[1];break;case"V":c=p[1];break;case"M":f=p[p.length-2],u=p[p.length-1];default:l=p[p.length-2],c=p[p.length-1]}}return o.toString=a,n.abs=s(o),o}function A(t,e,n,r){return[t,e,n,r,n,r]}function S(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]}function O(e,n,r,i,o,a,s,l,c,f){var u,h=120*q/180,p=q/180*(+o||0),d=[],g=t._.cacher(function(t,e,n){var r=t*L.cos(n)-e*L.sin(n),i=t*L.sin(n)+e*L.cos(n);return{x:r,y:i}});if(f)C=f[0],T=f[1],w=f[2],k=f[3];else{u=g(e,n,-p),e=u.x,n=u.y,u=g(l,c,-p),l=u.x,c=u.y;var v=(L.cos(q/180*o),L.sin(q/180*o),(e-l)/2),m=(n-c)/2,y=v*v/(r*r)+m*m/(i*i);y>1&&(y=L.sqrt(y),r*=y,i*=y);var b=r*r,_=i*i,x=(a==s?-1:1)*L.sqrt(W((b*_-b*m*m-_*v*v)/(b*m*m+_*v*v))),w=x*r*m/i+(e+l)/2,k=x*-i*v/r+(n+c)/2,C=L.asin(((n-k)/i).toFixed(9)),T=L.asin(((c-k)/i).toFixed(9));C=e<w?q-C:C,T=l<w?q-T:T,C<0&&(C=2*q+C),T<0&&(T=2*q+T),s&&C>T&&(C-=2*q),!s&&T>C&&(T-=2*q)}var j=T-C;if(W(j)>h){var $=T,A=l,S=c;T=C+h*(s&&T>C?1:-1),l=w+r*L.cos(T),c=k+i*L.sin(T),d=O(l,c,r,i,o,0,s,A,S,[T,$,w,k])}j=T-C;var M=L.cos(C),E=L.sin(C),P=L.cos(T),N=L.sin(T),F=L.tan(j/4),R=4/3*r*F,B=4/3*i*F,D=[e,n],z=[e+R*E,n-B*M],I=[l+R*N,c-B*P],V=[l,c];if(z[0]=2*D[0]-z[0],z[1]=2*D[1]-z[1],f)return[z,I,V].concat(d);d=[z,I,V].concat(d).join().split(",");for(var H=[],U=0,Z=d.length;U<Z;U++)H[U]=U%2?g(d[U-1],d[U],p).y:g(d[U],d[U+1],p).x;return H}function M(t,e,n,r,i,o,a,s){for(var l,c,f,u,h,p,d,g,v=[],m=[[],[]],y=0;y<2;++y)if(0==y?(c=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*a,f=3*n-3*t):(c=6*e-12*r+6*o,l=-3*e+9*r-9*o+3*s,f=3*r-3*e),W(l)<1e-12){if(W(c)<1e-12)continue;u=-f/c,0<u&&u<1&&v.push(u)}else d=c*c-4*f*l,g=L.sqrt(d),d<0||(h=(-c+g)/(2*l),0<h&&h<1&&v.push(h),p=(-c-g)/(2*l),0<p&&p<1&&v.push(p));for(var b,_=v.length,x=_;_--;)u=v[_],b=1-u,m[0][_]=b*b*b*t+3*b*b*u*n+3*b*u*u*i+u*u*u*a,m[1][_]=b*b*b*e+3*b*b*u*r+3*b*u*u*o+u*u*u*s;return m[0][x]=t,m[1][x]=e,m[0][x+1]=a,m[1][x+1]=s,m[0].length=m[1].length=x+2,{min:{x:V.apply(0,m[0]),y:V.apply(0,m[1])},max:{x:H.apply(0,m[0]),y:H.apply(0,m[1])}}}function E(t,e){var n=!e&&i(t);if(!e&&n.curve)return s(n.curve);for(var r=$(t),o=e&&$(e),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},l={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c=(function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(O.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(S(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(S(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(A(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(A(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(A(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(A(e.x,e.y,e.X,e.Y))}return t}),f=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",o&&(p[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),m=H(r.length,o&&o.length||0)}},u=function(t,e,n,i,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],m=H(r.length,o&&o.length||0))},h=[],p=[],d="",g="",v=0,m=H(r.length,o&&o.length||0);v<m;v++){r[v]&&(d=r[v][0]),"C"!=d&&(h[v]=d,v&&(g=h[v-1])),r[v]=c(r[v],a,g),"A"!=h[v]&&"C"==d&&(h[v]="C"),f(r,v),o&&(o[v]&&(d=o[v][0]),"C"!=d&&(p[v]=d,v&&(g=p[v-1])),o[v]=c(o[v],l,g),"A"!=p[v]&&"C"==d&&(p[v]="C"),f(o,v)),u(r,o,a,l,v),u(o,r,l,a,v);var y=r[v],b=o&&o[v],_=y.length,x=o&&b.length;a.x=y[_-2],a.y=y[_-1],a.bx=I(y[_-4])||a.x,a.by=I(y[_-3])||a.y,l.bx=o&&(I(b[x-4])||l.x),l.by=o&&(I(b[x-3])||l.y),l.x=o&&b[x-2],l.y=o&&b[x-1]}return o||(n.curve=s(r)),o?[r,o]:r}function P(t,e){if(!e)return t;var n,r,i,o,a,s,l;for(t=E(t),i=0,a=t.length;i<a;i++)for(l=t[i],o=1,s=l.length;o<s;o+=2)n=e.x(l[o],l[o+1]),r=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=r;return t}function N(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var F=e.prototype,R=t.is,B=t._.clone,D="hasOwnProperty",z=/,?([a-z]),?/gi,I=parseFloat,L=Math,q=L.PI,V=L.min,H=L.max,U=L.pow,W=L.abs,Z=c(1),J=c(),G=c(0,1),X=t._unit2px,Y={path:function(t){return t.attr("path")},circle:function(t){var e=X(t);return T(e.cx,e.cy,e.r)},ellipse:function(t){var e=X(t);return T(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return C(e.x,e.y,e.width,e.height)}};t.path=i,t.path.getTotalLength=Z,t.path.getPointAtLength=J,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return G(t,e).end;var r=G(t,n,1);return e?G(r,e).end:r},F.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},F.getPointAtLength=function(t){return J(this.attr("d"),t)},F.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=o,t.path.findDotsAtSegment=f,t.path.bezierBBox=u,t.path.isPointInsideBBox=h,t.closest=function(e,n,r,i){for(var a=100,s=o(e-a/2,n-a/2,a,a),l=[],c=r[0].hasOwnProperty("x")?function(t){return{x:r[t].x,y:r[t].y}}:function(t){return{x:r[t],y:i[t]}},f=0;a<=1e6&&!f;){for(var u=0,p=r.length;u<p;u++){var d=c(u);if(h(s,d.x,d.y)){f++,l.push(d);break}}f||(a*=2,s=o(e-a/2,n-a/2,a,a))}if(1e6!=a){var g,v=1/0;for(u=0,p=l.length;u<p;u++){var m=t.len(e,n,l[u].x,l[u].y);v>m&&(v=m,l[u].len=m,g=l[u])}return g}},t.path.isBBoxIntersect=p,t.path.intersection=b,t.path.intersectionNumber=_,t.path.isPointInside=w,t.path.getBBox=k,t.path.get=Y,t.path.toRelative=j,t.path.toAbsolute=$,t.path.toCubic=E,t.path.map=P,t.path.toString=a,t.path.clone=s}),r.plugin(function(t,r,i,o){var a=Math.max,s=Math.min,l=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},c=l.prototype;c.push=function(){for(var t,e,n=0,r=arguments.length;n<r;n++)t=arguments[n],t&&(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},c.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},c.forEach=function(t,e){for(var n=0,r=this.items.length;n<r;n++)if(t.call(e,this.items[n],n)===!1)return this;return this},c.animate=function(r,i,o,a){"function"!=typeof o||o.length||(a=o,o=n.linear),r instanceof t._.Animation&&(a=r.callback,o=r.easing,i=o.dur,r=r.attr);var s=arguments;if(t.is(r,"array")&&t.is(s[s.length-1],"array"))var l=!0;var c,f=function(){c?this.b=c:c=this.b},u=0,h=this,p=a&&function(){++u==h.length&&a.call(this)};return this.forEach(function(t,n){e.once("snap.animcreated."+t.id,f),l?s[n]&&t.animate.apply(t,s[n]):t.animate(r,i,o,p)})},c.remove=function(){for(;this.length;)this.pop().remove();return this},c.bind=function(t,e,n){var r={};if("function"==typeof e)this.bindings[t]=e;else{var i=n||t;this.bindings[t]=function(t){r[i]=t,e.attr(r)}}return this},c.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var r=0,i=this.items.length;r<i;r++)this.items[r].attr(e);return this},c.clear=function(){for(;this.length;)this.pop()},c.splice=function(t,e,n){t=t<0?a(this.length+t,0):t,e=a(0,s(this.length-t,e));var r,i=[],o=[],c=[];for(r=2;r<arguments.length;r++)c.push(arguments[r]);for(r=0;r<e;r++)o.push(this[t+r]);for(;r<this.length-t;r++)i.push(this[t+r]);var f=c.length;for(r=0;r<f+i.length;r++)this.items[t+r]=this[t+r]=r<f?c[r]:i[r-f];for(r=this.items.length=this.length-=e-f;this[r];)delete this[r++];return new l(o)},c.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},c.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},c.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var o=this.items[i].getBBox();t.push(o.x),e.push(o.y),n.push(o.x+o.width),r.push(o.y+o.height)}return t=s.apply(0,t),e=s.apply(0,e),n=a.apply(0,n),r=a.apply(0,r),{x:t,y:e,x2:n,y2:r,width:n-t,height:r-e,cx:t+(n-t)/2,cy:e+(r-e)/2}},c.clone=function(t){t=new l;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},c.toString=function(){return"Snap‘s set"},c.type="set",t.Set=l,t.set=function(){var t=new l;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}}),r.plugin(function(t,n,r,i){function o(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function a(e,n,r){n=m(n).replace(/\.{3}|\u2026/g,e),e=t.parseTransformString(e)||[],n=t.parseTransformString(n)||[];for(var i,a,s,l,c=Math.max(e.length,n.length),f=[],p=[],d=0;d<c;d++){if(s=e[d]||o(n[d]),l=n[d]||o(s),s[0]!=l[0]||"r"==s[0].toLowerCase()&&(s[2]!=l[2]||s[3]!=l[3])||"s"==s[0].toLowerCase()&&(s[3]!=l[3]||s[4]!=l[4])){e=t._.transform2matrix(e,r()),n=t._.transform2matrix(n,r()),f=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],p=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(f[d]=[],p[d]=[],i=0,a=Math.max(s.length,l.length);i<a;i++)i in s&&(f[d][i]=s[i]),i in l&&(p[d][i]=l[i])}return{from:h(f),to:h(p),f:u(f)}}function s(t){return t}function l(t){return function(e){return+e.toFixed(3)+t}}function c(t){return t.join(" ")}function f(e){return t.rgb(e[0],e[1],e[2])}function u(t){var e,n,r,i,o,a,s=0,l=[];for(e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],r=1,i=t[e].length;r<i;r++)a[r]="val["+s++ +"]";o+=a+"]",l[e]=o}return Function("val","return Snap.path.toString.call(["+l+"])")}function h(t){for(var e=[],n=0,r=t.length;n<r;n++)for(var i=1,o=t[n].length;i<o;i++)e.push(t[n][i]);return e}function p(t){return isFinite(parseFloat(t))}function d(e,n){return!(!t.is(e,"array")||!t.is(n,"array"))&&e.toString()==n.toString()}var g={},v=/[a-z]+$/i,m=String;g.stroke=g.fill="colour",n.prototype.equal=function(t,n){return e("snap.util.equal",this,t,n).firstDefined()},e.on("snap.util.equal",function(e,n){var r,i,o=m(this.attr(e)||""),y=this;if(p(o)&&p(n))return{from:parseFloat(o),to:parseFloat(n),f:s};if("colour"==g[e])return r=t.color(o),i=t.color(n),{from:[r.r,r.g,r.b,r.opacity],to:[i.r,i.g,i.b,i.opacity],f:f};if("viewBox"==e)return r=this.attr(e).vb.split(" ").map(Number),i=n.split(" ").map(Number),{from:r,to:i,f:c};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return n instanceof t.Matrix&&(n=n.toTransformString()),t._.rgTransform.test(n)||(n=t._.svgTransform2string(n)),a(o,n,function(){return y.getBBox(1)});if("d"==e||"path"==e)return r=t.path.toCubic(o,n),{from:h(r[0]),to:h(r[1]),f:u(r[0])};if("points"==e)return r=m(o).split(t._.separator),i=m(n).split(t._.separator),{from:r,to:i,f:function(t){return t}};var b=o.match(v),_=m(n).match(v);return b&&d(b,_)?{from:parseFloat(o),to:parseFloat(n),f:l(b)}:{from:this.asPX(e),to:this.asPX(e,n),f:s}})}),r.plugin(function(t,n,r,i){for(var o=n.prototype,a="hasOwnProperty",s=("createTouch"in i.doc),l=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],c={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},f=(function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]}),u=function(){return this.originalEvent.preventDefault()},h=function(){return this.originalEvent.stopPropagation()},p=function(t,e,n,r){var i=s&&c[e]?c[e]:e,o=function(i){var o=f("y",r),l=f("x",r);if(s&&c[a](e))for(var p=0,d=i.targetTouches&&i.targetTouches.length;p<d;p++)if(i.targetTouches[p].target==t||t.contains(i.targetTouches[p].target)){var g=i;i=i.targetTouches[p],i.originalEvent=g,i.preventDefault=u,i.stopPropagation=h;break}var v=i.clientX+l,m=i.clientY+o;return n.call(r,i,v,m)};return e!==i&&t.addEventListener(e,o,!1),t.addEventListener(i,o,!1),function(){return e!==i&&t.removeEventListener(e,o,!1),t.removeEventListener(i,o,!1),!0}},d=[],g=function(t){for(var n,r=t.clientX,i=t.clientY,o=f("y"),a=f("x"),l=d.length;l--;){if(n=d[l],s){for(var c,u=t.touches&&t.touches.length;u--;)if(c=t.touches[u],c.identifier==n.el._drag.id||n.el.node.contains(c.target)){r=c.clientX,i=c.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var h=n.el.node;h.nextSibling,h.parentNode,h.style.display;r+=a,i+=o,e("snap.drag.move."+n.el.id,n.move_scope||n.el,r-n.el._drag.x,i-n.el._drag.y,r,i,t)}},v=function(n){t.unmousemove(g).unmouseup(v);for(var r,i=d.length;i--;)r=d[i],r.el._drag={},e("snap.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,n),e.off("snap.drag.*."+r.el.id);d=[]},m=l.length;m--;)!function(e){t[e]=o[e]=function(n,r){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:p(this.node||document,e,n,r||this)});else for(var i=0,o=this.events.length;i<o;i++)if(this.events[i].name==e)try{this.events[i].f.call(this)}catch(t){}return this},t["un"+e]=o["un"+e]=function(t){for(var n=this.events||[],r=n.length;r--;)if(n[r].name==e&&(n[r].f==t||!t))return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(l[m]);o.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},o.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var y=[];o.drag=function(n,r,i,o,a,s){function l(l,c,u){(l.originalEvent||l).preventDefault(),f._drag.x=c,f._drag.y=u,f._drag.id=l.identifier,!d.length&&t.mousemove(g).mouseup(v),d.push({el:f,move_scope:o,start_scope:a,end_scope:s}),r&&e.on("snap.drag.start."+f.id,r),n&&e.on("snap.drag.move."+f.id,n),i&&e.on("snap.drag.end."+f.id,i),e("snap.drag.start."+f.id,a||o||f,c,u,l)}function c(t,n,r){e("snap.draginit."+f.id,f,t,n,r)}var f=this;if(!arguments.length){var u;return f.drag(function(t,e){this.attr({transform:u+(u?"T":"t")+[t,e]})},function(){u=this.transform().local})}return e.on("snap.draginit."+f.id,l),f._drag={},y.push({el:f,start:l,init:c}),f.mousedown(c),f},o.undrag=function(){for(var n=y.length;n--;)y[n].el==this&&(this.unmousedown(y[n].init),y.splice(n,1),e.unbind("snap.drag.*."+this.id),e.unbind("snap.draginit."+this.id));return!y.length&&t.unmousemove(g).unmouseup(v),this}}),r.plugin(function(t,n,r,i){var o=(n.prototype,r.prototype),a=/^\s*url\((.+)\)/,s=String,l=t._.$;t.filter={},o.filter=function(e){var r=this;"svg"!=r.type&&(r=r.paper);var i=t.parse(s(e)),o=t._.id(),a=(r.node.offsetWidth,r.node.offsetHeight,l("filter"));return l(a,{id:o,filterUnits:"userSpaceOnUse"}),a.appendChild(i.node),r.defs.appendChild(a),new n(a)},e.on("snap.util.getattr.filter",function(){e.stop();var n=l(this.node,"filter");if(n){var r=s(n).match(a);return r&&t.select(r[1])}}),e.on("snap.util.attr.filter",function(r){if(r instanceof n&&"filter"==r.type){e.stop();var i=r.node.id;i||(l(r.node,{id:r.id}),i=r.id),l(this.node,{filter:t.url(i)})}r&&"none"!=r||(e.stop(),this.node.removeAttribute("filter"))}),t.filter.blur=function(e,n){null==e&&(e=2);var r=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:r})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,r,i,o){return"string"==typeof r&&(i=r,o=i,r=4),"string"!=typeof i&&(o=i,i="#000"),i=i||"#000",null==r&&(r=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),i=t.color(i),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:i,dx:e,dy:n,blur:r,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}}),r.plugin(function(t,e,n,r,i){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null),t=t||this.paper;var n=t.getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=e&&e.match(s),e=e?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),r})}).call(window)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.generateId=void 0;var i=n(170),o=r(i),a=(0,o.default)({}),s=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}();e.generateId=s,e.eventEmitter=a},function(t,e,n){var r=n(21).Pipe,i=function(){};i.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof r?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},i.prototype.push=function(t,e){return t.parent=this,"undefined"!=typeof e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=i},function(t,e,n){var r=n(8).Context,i=n(18),o=function(t,e){this.left=t,this.right=e,this.pipe="diff"};o.prototype=new r,o.prototype.setResult=function(t){if(this.options.cloneDiffValues){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(t){return JSON.parse(JSON.stringify(t),i)};"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return r.prototype.setResult.apply(this,arguments)},e.DiffContext=o},function(t,e,n){var r=n(8).Context,i=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};i.prototype=new r,e.PatchContext=i},function(t,e,n){var r=n(8).Context,i=function(t){this.delta=t,this.pipe="reverse"};i.prototype=new r,e.ReverseContext=i},function(t,e){e.isBrowser="undefined"!=typeof window},function(t,e,n){var r=n(4),i=r.BaseFormatter,o=function(){this.includeMoveDestinations=!1};o.prototype=new i,o.prototype.prepareContext=function(t){i.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join("&nbsp;&nbsp;")},t.row=function(e,n){t.out('<tr><td style="white-space: nowrap;"><pre class="jsondiffpatch-annotated-indent" style="display: inline-block">'),t.out(t.indentPad),t.out('</pre><pre style="display: inline-block">'),t.out(e),t.out('</pre></td><td class="jsondiffpatch-delta-note"><div>'),t.out(n),t.out("</div></td></tr>")}},o.prototype.typeFormattterErrorFormatter=function(t,e){t.row("",'<pre class="jsondiffpatch-error">'+e+"</pre>")},o.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var r=0,i=n.length;r<i;r++){var o=n[r];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+o.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+o.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var a=o.pieces,s=0,l=a.length;s<l;s++){var c=a[s];t.out('<span class="jsondiffpatch-textdiff-'+c.type+'">'+c.text+"</span>")}t.out("</div></li>")}t.out("</ul>")},o.prototype.rootBegin=function(t,e,n){t.out('<table class="jsondiffpatch-annotated-delta">'),"node"===e&&(t.row("{"),t.indent()),"array"===n&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.rootEnd=function(t,e){"node"===e&&(t.indent(-1),t.row("}")),t.out("</table>")},o.prototype.nodeBegin=function(t,e,n,r,i){t.row("&quot;"+e+"&quot;: {"),"node"===r&&t.indent(),"array"===i&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&t.indent(-1),t.row("}"+(o?"":","))},o.prototype.format_unchanged=function(){},o.prototype.format_movedestination=function(){},o.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)};var a=function(t){return'<pre style="display:inline-block">&quot;'+t+"&quot;</pre>"},s={added:function(t,e,n,r){var i=" <pre>([newValue])</pre>";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+a(r)+i},modified:function(t,e,n,r){var i=" <pre>([previousValue, newValue])</pre>";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+a(r)+i},deleted:function(t,e,n,r){var i=" <pre>([previousValue, 0, 0])</pre>";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+a(r)+i},moved:function(t,e,n,r){return'move from <span title="(position to remove at original state)">index '+r+'</span> to <span title="(position to insert at final state)">index '+t[1]+"</span>"},textdiff:function(t,e,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+a(r);return"text diff"+i+', format is <a href="https://code.google.com/p/google-diff-match-patch/wiki/Unidiff">a variation of Unidiff</a>'}},l=function(t,e){var n=this.getDeltaType(e),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),o=JSON.stringify(e,null,2);"textdiff"===n&&(o=o.split("\\n").join('\\n"+\n   "')),t.indent(),t.row(o,i),t.indent(-1)};o.prototype.format_added=l,o.prototype.format_modified=l,o.prototype.format_deleted=l,o.prototype.format_moved=l,o.prototype.format_textdiff=l,e.AnnotatedFormatter=o;var c;e.format=function(t,e){return c||(c=new o),c.format(t,e)}},function(t,e,n){function r(t){for(var e=t,n=[[/&/g,"&amp;"],[/</g,"&lt;"],[/>/g,"&gt;"],[/'/g,"&apos;"],[/"/g,"&quot;"]],r=0;r<n.length;r++)e=e.replace(n[r][0],n[r][1]);return e}var i=n(4),o=i.BaseFormatter,a=function(){};a.prototype=new o,a.prototype.typeFormattterErrorFormatter=function(t,e){t.out('<pre class="jsondiffpatch-error">'+e+"</pre>")},a.prototype.formatValue=function(t,e){t.out("<pre>"+r(JSON.stringify(e,null,2))+"</pre>")},a.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('<ul class="jsondiffpatch-textdiff">');for(var i=0,o=n.length;i<o;i++){var a=n[i];t.out('<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">'+a.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+a.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">');for(var s=a.pieces,l=0,c=s.length;l<c;l++){var f=s[l];t.out('<span class="jsondiffpatch-textdiff-'+f.type+'">'+r(unescape(f.text))+"</span>")}t.out("</div></li>")}t.out("</ul>")};var s=function(t){t=t||document;var e=function(t){return t.textContent||t.innerText},n=function(t,e,n){for(var r=t.querySelectorAll(e),i=0,o=r.length;i<o;i++)n(r[i])},r=function(t,e){for(var n=0,r=t.children.length;n<r;n++)e(t.children[n],n)};n(t,".jsondiffpatch-arrow",function(t){var n=t.parentNode,i=t.children[0],o=i.children[1];i.style.display="none";var a,s=e(n.querySelector(".jsondiffpatch-moved-destination")),l=n.parentNode;if(r(l,function(t){t.getAttribute("data-key")===s&&(a=t)}),a)try{var c=a.offsetTop-n.offsetTop;i.setAttribute("height",Math.abs(c)+6),t.style.top=-8+(c>0?0:c)+"px";var f=c>0?"M30,0 Q-10,"+Math.round(c/2)+" 26,"+(c-4):"M30,"+-c+" Q-10,"+Math.round(-c/2)+" 26,4";o.setAttribute("d",f),i.style.display=""}catch(t){return}})};a.prototype.rootBegin=function(t,e,n){var r="jsondiffpatch-"+e+(n?" jsondiffpatch-child-node-type-"+n:"");t.out('<div class="jsondiffpatch-delta '+r+'">')},a.prototype.rootEnd=function(t){t.out("</div>"+(t.hasArrows?'<script type="text/javascript">setTimeout('+s.toString()+",10);</script>":""))},a.prototype.nodeBegin=function(t,e,n,r,i){var o="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");t.out('<li class="'+o+'" data-key="'+n+'"><div class="jsondiffpatch-property-name">'+n+"</div>")},a.prototype.nodeEnd=function(t){t.out("</li>")},a.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&(t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,n),t.out("</div>"))},a.prototype.format_node=function(t,e,n){var r="a"===e._t?"array":"object";t.out('<ul class="jsondiffpatch-node jsondiffpatch-node-type-'+r+'">'),this.formatDeltaChildren(t,e,n),t.out("</ul>")},a.prototype.format_added=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_modified=function(t,e){t.out('<div class="jsondiffpatch-value jsondiffpatch-left-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-value jsondiffpatch-right-value">'),this.formatValue(t,e[1]),t.out("</div>")},a.prototype.format_deleted=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out("</div>")},a.prototype.format_moved=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatValue(t,e[0]),t.out('</div><div class="jsondiffpatch-moved-destination">'+e[1]+"</div>"),t.out('<div class="jsondiffpatch-arrow" style="position: relative; left: -34px;">\t        <svg width="30" height="60" style="position: absolute; display: none;">\t        <defs>\t            <marker id="markerArrow" markerWidth="8" markerHeight="8" refx="2" refy="4"\t                   orient="auto" markerUnits="userSpaceOnUse">\t                <path d="M1,1 L1,7 L7,4 L1,1" style="fill: #339;" />\t            </marker>\t        </defs>\t        <path d="M30,0 Q-10,25 26,50" style="stroke: #88f; stroke-width: 2px; fill: none;\t        stroke-opacity: 0.5; marker-end: url(#markerArrow);"></path>\t        </svg>\t        </div>'),t.hasArrows=!0},a.prototype.format_textdiff=function(t,e){t.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(t,e[0]),t.out("</div>")};var l=function(t,e,n){var r=e||document.body,i="jsondiffpatch-unchanged-",o={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},a=r.classList;if(a){if(!n)return a.remove(o.showing),a.remove(o.hiding),a.remove(o.visible),a.remove(o.hidden),void(t===!1&&a.add(o.hidden));t===!1?(a.remove(o.showing),a.add(o.visible),setTimeout(function(){a.add(o.hiding)},10)):(a.remove(o.hiding),a.add(o.showing),a.remove(o.hidden));var l=setInterval(function(){s(r)},100);setTimeout(function(){a.remove(o.showing),a.remove(o.hiding),t===!1?(a.add(o.hidden),a.remove(o.visible)):(a.add(o.visible),a.remove(o.hidden)),setTimeout(function(){a.remove(o.visible),clearInterval(l)},n+400)},n)}},c=function(t,e){return l(!1,t,e)};e.HtmlFormatter=a,e.showUnchanged=l,e.hideUnchanged=c;var f;e.format=function(t,e){return f||(f=new a),f.format(t,e)}},function(t,e,n){var r=n(12);if(e.base=n(4),e.html=n(14),e.annotated=n(13),e.jsonpatch=n(16),!r.isBrowser){var i="./console";e.console=n(177)(i)}},function(t,e,n){!function(){function t(){this.includeMoveDestinations=!1}function r(t){return t[t.length-1]}function i(t,e){return t.sort(e),t}function o(t){return i(t,function(t,e){var n=t.path.split("/"),i=e.path.split("/");return n.length!==i.length?n.length-i.length:h(r(n),r(i))})}function a(t,e){var n=[],r=[];return t.forEach(function(t){var i=e(t)?n:r;i.push(t)}),[n,r]}function s(t){var e=a(t,function(t){return"remove"===t.op}),n=e[0],r=e[1],i=o(n);return i.concat(r)}var l=n(4),c=l.BaseFormatter,f={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};t.prototype=new c,t.prototype.prepareContext=function(t){c.prototype.prepareContext.call(this,t),t.result=[],t.path=[],t.pushCurrentOp=function(t,e){var n={op:t,path:this.currentPath()};"undefined"!=typeof e&&(n.value=e),this.result.push(n)},t.currentPath=function(){return"/"+this.path.join("/");
 }},t.prototype.typeFormattterErrorFormatter=function(t,e){t.out("[ERROR]"+e)},t.prototype.rootBegin=function(){},t.prototype.rootEnd=function(){},t.prototype.nodeBegin=function(t,e,n){t.path.push(n)},t.prototype.nodeEnd=function(t){t.path.pop()},t.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(f.unchanged,n)},t.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(f.movedestination,n)},t.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},t.prototype.format_added=function(t,e){t.pushCurrentOp(f.added,e[0])},t.prototype.format_modified=function(t,e){t.pushCurrentOp(f.modified,e[1])},t.prototype.format_deleted=function(t){t.pushCurrentOp(f.deleted)},t.prototype.format_moved=function(t,e){t.pushCurrentOp(f.moved,e[1])},t.prototype.format_textdiff=function(){throw"not implimented"},t.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),n.result},e.JSONFormatter=t;var u,h=function(t,e){var n=parseInt(t,10),r=parseInt(e,10);return isNaN(n)||isNaN(r)?0:r-n},p=function(e,n){return u||(u=new t),s(u.format(e,n))};e.log=function(t,e){console.log(p(t,e))},e.format=p}()},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t,e){var n;return"string"==typeof e&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(e))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):e}},function(t,e,n){var r=n(101),i=n(4),o=i.BaseFormatter,a={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new o,s.prototype.prepareContext=function(t){o.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join("  "),this.outLine()},t.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},t.out=function(){for(var t=0,e=arguments.length;t<e;t++){var n=arguments[t].split("\n"),r=n.join("\n"+(this.indentPad||""));this.color&&this.color[0]&&(r=this.color[0](r)),this.buffer.push(r)}},t.pushColor=function(t){this.color=this.color||[],this.color.unshift(t)},t.popColor=function(){this.color=this.color||[],this.color.shift()}},s.prototype.typeFormattterErrorFormatter=function(t,e){t.pushColor(a.error),t.out("[ERROR]"+e),t.popColor()},s.prototype.formatValue=function(t,e){t.out(JSON.stringify(e,null,2))},s.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.indent();for(var r=0,i=n.length;r<i;r++){var o=n[r];t.pushColor(a.textDiffLine),t.out(o.location.line+","+o.location.chr+" "),t.popColor();for(var s=o.pieces,l=0,c=s.length;l<c;l++){var f=s[l];t.pushColor(a[f.type]),t.out(f.text),t.popColor()}r<i-1&&t.outLine()}t.indent(-1)},s.prototype.rootBegin=function(t,e,n){t.pushColor(a[e]),"node"===e&&(t.out("array"===n?"[":"{"),t.indent())},s.prototype.rootEnd=function(t,e,n){"node"===e&&(t.indent(-1),t.out("array"===n?"]":"}")),t.popColor()},s.prototype.nodeBegin=function(t,e,n,r,i){t.pushColor(a[r]),t.out(n+": "),"node"===r&&(t.out("array"===i?"[":"{"),t.indent())},s.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&(t.indent(-1),t.out("array"===i?"]":"}"+(o?"":","))),o||t.outLine(),t.popColor()},s.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&this.formatValue(t,n)},s.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},s.prototype.format_added=function(t,e){this.formatValue(t,e[0])},s.prototype.format_modified=function(t,e){t.pushColor(a.deleted),this.formatValue(t,e[0]),t.popColor(),t.out(" => "),t.pushColor(a.added),this.formatValue(t,e[1]),t.popColor()},s.prototype.format_deleted=function(t,e){this.formatValue(t,e[0])},s.prototype.format_moved=function(t,e){t.out("==> "+e[1])},s.prototype.format_textdiff=function(t,e){this.formatTextDiffString(t,e[0])},e.ConsoleFormatter=s;var l,c=function(t,e){return l||(l=new s),l.format(t,e)};e.log=function(t,e){console.log(c(t,e))},e.format=c},function(t,e,n){var r=n(12),i=n(28).DiffPatcher;e.DiffPatcher=i,e.create=function(t){return new i(t)},e.dateReviver=n(18);var o;if(e.diff=function(){return o||(o=new i),o.diff.apply(o,arguments)},e.patch=function(){return o||(o=new i),o.patch.apply(o,arguments)},e.unpatch=function(){return o||(o=new i),o.unpatch.apply(o,arguments)},e.reverse=function(){return o||(o=new i),o.reverse.apply(o,arguments)},r.isBrowser)e.homepage="{{package-homepage}}",e.version="{{package-version}}";else{var a="../package.json",s=n(50)(a);e.homepage=s.homepage,e.version=s.version;var l="./formatters",c=n(50)(l);e.formatters=c,e.console=c.console}},function(t,e){var n=function(t){this.name=t,this.filters=[]};n.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,n=this.filters.length,r=t,i=0;i<n;i++){var o=this.filters[i];if(e&&this.log("filter: "+o.filterName),o(r),"object"==typeof r&&r.exiting){r.exiting=!1;break}}!r.next&&this.resultCheck&&this.resultCheck(r)},n.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},n.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},n.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},n.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){var n=this.filters[e];if(n.filterName===t)return e}throw new Error("filter not found: "+t)},n.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var n=this.filters[e];t.push(n.filterName)}return t},n.prototype.after=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e+1,0),Array.prototype.splice.apply(this.filters,n),this},n.prototype.before=function(t){var e=this.indexOf(t),n=Array.prototype.slice.call(arguments,1);if(!n.length)throw new Error("a filter is required");return n.unshift(e,0),Array.prototype.splice.apply(this.filters,n),this},n.prototype.clear=function(){return this.filters.length=0,this},n.prototype.shouldHaveResult=function(t){if(t===!1)return void(this.resultCheck=null);if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var n=new Error(e.name+" failed");throw n.noResult=!0,n}},this}},e.Pipe=n},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return c.diff(t,e,n)}function o(t,e,n){var r=(0,l.generateOptions)(n,{ignoreWhitespace:!0});return c.diff(t,e,r)}e.__esModule=!0,e.lineDiff=void 0,e.diffLines=i,e.diffTrimmedLines=o;var a=n(5),s=r(a),l=n(49),c=e.lineDiff=new s.default;c.tokenize=function(t){var e=[],n=t.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?e[e.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),e.push(i))}return e}},function(t,e){function n(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var r=-1,i=1,o=0;n.Diff,n.prototype.diff_main=function(t,e,n,r){"undefined"==typeof r&&(r=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=r;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[o,t]]:[];"undefined"==typeof n&&(n=!0);var a=n,s=this.diff_commonPrefix(t,e),l=t.substring(0,s);t=t.substring(s),e=e.substring(s),s=this.diff_commonSuffix(t,e);var c=t.substring(t.length-s);t=t.substring(0,t.length-s),e=e.substring(0,e.length-s);var f=this.diff_compute_(t,e,a,i);return l&&f.unshift([o,l]),c&&f.push([o,c]),this.diff_cleanupMerge(f),f},n.prototype.diff_compute_=function(t,e,n,a){var s;if(!t)return[[i,e]];if(!e)return[[r,t]];var l=t.length>e.length?t:e,c=t.length>e.length?e:t,f=l.indexOf(c);if(f!=-1)return s=[[i,l.substring(0,f)],[o,c],[i,l.substring(f+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=r),s;if(1==c.length)return[[r,t],[i,e]];l=c=null;var u=this.diff_halfMatch_(t,e);if(u){var h=u[0],p=u[1],d=u[2],g=u[3],v=u[4],m=this.diff_main(h,d,n,a),y=this.diff_main(p,g,n,a);return m.concat([[o,v]],y)}return n&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,a):this.diff_bisect_(t,e,a)},n.prototype.diff_lineMode_=function(t,e,n){var a=this.diff_linesToChars_(t,e);t=a[0],e=a[1];var s=a[2],l=this.diff_bisect_(t,e,n);this.diff_charsToLines_(l,s),this.diff_cleanupSemantic(l),l.push([o,""]);for(var c=0,f=0,u=0,h="",p="";c<l.length;){switch(l[c][0]){case i:u++,p+=l[c][1];break;case r:f++,h+=l[c][1];break;case o:if(f>=1&&u>=1){var a=this.diff_main(h,p,!1,n);l.splice(c-f-u,f+u),c=c-f-u;for(var d=a.length-1;d>=0;d--)l.splice(c,0,a[d]);c+=a.length}u=0,f=0,h="",p=""}c++}return l.pop(),l},n.prototype.diff_bisect_=function(t,e,n){for(var o=t.length,a=e.length,s=Math.ceil((o+a)/2),l=s,c=2*s,f=new Array(c),u=new Array(c),h=0;h<c;h++)f[h]=-1,u[h]=-1;f[l+1]=0,u[l+1]=0;for(var p=o-a,d=p%2!=0,g=0,v=0,m=0,y=0,b=0;b<s&&!((new Date).getTime()>n);b++){for(var _=-b+g;_<=b-v;_+=2){var x,w=l+_;x=_==-b||_!=b&&f[w-1]<f[w+1]?f[w+1]:f[w-1]+1;for(var k=x-_;x<o&&k<a&&t.charAt(x)==e.charAt(k);)x++,k++;if(f[w]=x,x>o)v+=2;else if(k>a)g+=2;else if(d){var C=l+p-_;if(C>=0&&C<c&&u[C]!=-1){var T=o-u[C];if(x>=T)return this.diff_bisectSplit_(t,e,x,k,n)}}}for(var j=-b+m;j<=b-y;j+=2){var T,C=l+j;T=j==-b||j!=b&&u[C-1]<u[C+1]?u[C+1]:u[C-1]+1;for(var $=T-j;T<o&&$<a&&t.charAt(o-T-1)==e.charAt(a-$-1);)T++,$++;if(u[C]=T,T>o)y+=2;else if($>a)m+=2;else if(!d){var w=l+p-j;if(w>=0&&w<c&&f[w]!=-1){var x=f[w],k=l+x-w;if(T=o-T,x>=T)return this.diff_bisectSplit_(t,e,x,k,n)}}}}return[[r,t],[i,e]]},n.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=this.diff_main(o,a,!1,i),f=this.diff_main(s,l,!1,i);return c.concat(f)},n.prototype.diff_linesToChars_=function(t,e){function n(t){for(var e="",n=0,o=-1,a=r.length;o<t.length-1;){o=t.indexOf("\n",n),o==-1&&(o=t.length-1);var s=t.substring(n,o+1);n=o+1,(i.hasOwnProperty?i.hasOwnProperty(s):void 0!==i[s])?e+=String.fromCharCode(i[s]):(e+=String.fromCharCode(a),i[s]=a,r[a++]=s)}return e}var r=[],i={};r[0]="";var o=n(t),a=n(e);return[o,a,r]},n.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],i=[],o=0;o<r.length;o++)i[o]=e[r.charCodeAt(o)];t[n][1]=i.join("")}},n.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i},n.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var o=0,a=1;;){var s=t.substring(i-a),l=e.indexOf(s);if(l==-1)return o;a+=l,0!=l&&t.substring(i-a)!=e.substring(0,a)||(o=a,a++)}},n.prototype.diff_halfMatch_=function(t,e){function n(t,e,n){for(var r,i,o,s,l=t.substring(n,n+Math.floor(t.length/4)),c=-1,f="";(c=e.indexOf(l,c+1))!=-1;){var u=a.diff_commonPrefix(t.substring(n),e.substring(c)),h=a.diff_commonSuffix(t.substring(0,n),e.substring(0,c));f.length<h+u&&(f=e.substring(c-h,c)+e.substring(c,c+u),r=t.substring(0,n-h),i=t.substring(n+u),o=e.substring(0,c-h),s=e.substring(c+u))}return 2*f.length>=t.length?[r,i,o,s,f]:null}if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||2*i.length<r.length)return null;var o,a=this,s=n(r,i,Math.ceil(r.length/4)),l=n(r,i,Math.ceil(r.length/2));if(!s&&!l)return null;o=l?s&&s[4].length>l[4].length?s:l:s;var c,f,u,h;t.length>e.length?(c=o[0],f=o[1],u=o[2],h=o[3]):(u=o[0],h=o[1],c=o[2],f=o[3]);var p=o[4];return[c,f,u,h,p]},n.prototype.diff_cleanupSemantic=function(t){for(var e=!1,n=[],a=0,s=null,l=0,c=0,f=0,u=0,h=0;l<t.length;)t[l][0]==o?(n[a++]=l,c=u,f=h,u=0,h=0,s=t[l][1]):(t[l][0]==i?u+=t[l][1].length:h+=t[l][1].length,null!==s&&s.length<=Math.max(c,f)&&s.length<=Math.max(u,h)&&(t.splice(n[a-1],0,[r,s]),t[n[a-1]+1][0]=i,a--,a--,l=a>0?n[a-1]:-1,c=0,f=0,u=0,h=0,s=null,e=!0)),l++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),l=1;l<t.length;){if(t[l-1][0]==r&&t[l][0]==i){var p=t[l-1][1],d=t[l][1],g=this.diff_commonOverlap_(p,d);(g>=p.length/2||g>=d.length/2)&&(t.splice(l,0,[o,d.substring(0,g)]),t[l-1][1]=p.substring(0,p.length-g),t[l+1][1]=d.substring(g),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 5;var o=0;return(t.charAt(t.length-1).match(n)||e.charAt(0).match(n))&&(o++,(t.charAt(t.length-1).match(r)||e.charAt(0).match(r))&&(o++,(t.charAt(t.length-1).match(i)||e.charAt(0).match(i))&&(o++,(t.match(a)||e.match(s))&&o++))),o}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,a=/\n\r?\n$/,s=/^\r?\n\r?\n/,l=1;l<t.length-1;){if(t[l-1][0]==o&&t[l+1][0]==o){var c=t[l-1][1],f=t[l][1],u=t[l+1][1],h=this.diff_commonSuffix(c,f);if(h){var p=f.substring(f.length-h);c=c.substring(0,c.length-h),f=p+f.substring(0,f.length-h),u=p+u}for(var d=c,g=f,v=u,m=e(c,f)+e(f,u);f.charAt(0)===u.charAt(0);){c+=f.charAt(0),f=f.substring(1)+u.charAt(0),u=u.substring(1);var y=e(c,f)+e(f,u);y>=m&&(m=y,d=c,g=f,v=u)}t[l-1][1]!=d&&(d?t[l-1][1]=d:(t.splice(l-1,1),l--),t[l][1]=g,v?t[l+1][1]=v:(t.splice(l+1,1),l--))}l++}},n.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,n=[],a=0,s="",l=0,c=!1,f=!1,u=!1,h=!1;l<t.length;)t[l][0]==o?(t[l][1].length<this.Diff_EditCost&&(u||h)?(n[a++]=l,c=u,f=h,s=t[l][1]):(a=0,s=""),u=h=!1):(t[l][0]==r?h=!0:u=!0,s&&(c&&f&&u&&h||s.length<this.Diff_EditCost/2&&c+f+u+h==3)&&(t.splice(n[a-1],0,[r,s]),t[n[a-1]+1][0]=i,a--,s="",c&&f?(u=h=!0,a=0):(a--,l=a>0?n[a-1]:-1,u=h=!1),e=!0)),l++;e&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push([o,""]);for(var e,n=0,a=0,s=0,l="",c="";n<t.length;)switch(t[n][0]){case i:s++,c+=t[n][1],n++;break;case r:a++,l+=t[n][1],n++;break;case o:a+s>1?(0!==a&&0!==s&&(e=this.diff_commonPrefix(c,l),0!==e&&(n-a-s>0&&t[n-a-s-1][0]==o?t[n-a-s-1][1]+=c.substring(0,e):(t.splice(0,0,[o,c.substring(0,e)]),n++),c=c.substring(e),l=l.substring(e)),e=this.diff_commonSuffix(c,l),0!==e&&(t[n][1]=c.substring(c.length-e)+t[n][1],c=c.substring(0,c.length-e),l=l.substring(0,l.length-e))),0===a?t.splice(n-a-s,a+s,[i,c]):0===s?t.splice(n-a-s,a+s,[r,l]):t.splice(n-a-s,a+s,[r,l],[i,c]),n=n-a-s+(a?1:0)+(s?1:0)+1):0!==n&&t[n-1][0]==o?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,a=0,l="",c=""}""===t[t.length-1][1]&&t.pop();var f=!1;for(n=1;n<t.length-1;)t[n-1][0]==o&&t[n+1][0]==o&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)==t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),f=!0):t[n][1].substring(0,t[n+1][1].length)==t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),f=!0)),n++;f&&this.diff_cleanupMerge(t)},n.prototype.diff_xIndex=function(t,e){var n,o=0,a=0,s=0,l=0;for(n=0;n<t.length&&(t[n][0]!==i&&(o+=t[n][1].length),t[n][0]!==r&&(a+=t[n][1].length),!(o>e));n++)s=o,l=a;return t.length!=n&&t[n][0]===r?l:l+(e-s)},n.prototype.diff_prettyHtml=function(t){for(var e=[],n=0,a=/&/g,s=/</g,l=/>/g,c=/\n/g,f=0;f<t.length;f++){var u=t[f][0],h=t[f][1],p=h.replace(a,"&amp;").replace(s,"&lt;").replace(l,"&gt;").replace(c,"&para;<br>");switch(u){case i:e[f]='<ins style="background:#e6ffe6;">'+p+"</ins>";break;case r:e[f]='<del style="background:#ffe6e6;">'+p+"</del>";break;case o:e[f]="<span>"+p+"</span>"}u!==r&&(n+=h.length)}return e.join("")},n.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==i&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_text2=function(t){for(var e=[],n=0;n<t.length;n++)t[n][0]!==r&&(e[n]=t[n][1]);return e.join("")},n.prototype.diff_levenshtein=function(t){for(var e=0,n=0,a=0,s=0;s<t.length;s++){var l=t[s][0],c=t[s][1];switch(l){case i:n+=c.length;break;case r:a+=c.length;break;case o:e+=Math.max(n,a),n=0,a=0}}return e+=Math.max(n,a)},n.prototype.diff_toDelta=function(t){for(var e=[],n=0;n<t.length;n++)switch(t[n][0]){case i:e[n]="+"+encodeURI(t[n][1]);break;case r:e[n]="-"+t[n][1].length;break;case o:e[n]="="+t[n][1].length}return e.join("\t").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(t,e){for(var n=[],a=0,s=0,l=e.split(/\t/g),c=0;c<l.length;c++){var f=l[c].substring(1);switch(l[c].charAt(0)){case"+":try{n[a++]=[i,decodeURI(f)]}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+f)}break;case"-":case"=":var u=parseInt(f,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+f);var h=t.substring(s,s+=u);"="==l[c].charAt(0)?n[a++]=[o,h]:n[a++]=[r,h];break;default:if(l[c])throw new Error("Invalid diff operation in diff_fromDelta: "+l[c])}}if(s!=t.length)throw new Error("Delta length ("+s+") does not equal source text length ("+t.length+").");return n},n.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},n.prototype.match_bitap_=function(t,e,n){function r(t,r){var i=t/e.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),o=this,a=this.Match_Threshold,s=t.indexOf(e,n);s!=-1&&(a=Math.min(r(0,s),a),s=t.lastIndexOf(e,n+e.length),s!=-1&&(a=Math.min(r(0,s),a)));var l=1<<e.length-1;s=-1;for(var c,f,u,h=e.length+t.length,p=0;p<e.length;p++){for(c=0,f=h;c<f;)r(p,n+f)<=a?c=f:h=f,f=Math.floor((h-c)/2+c);h=f;var d=Math.max(1,n-f+1),g=Math.min(n+f,t.length)+e.length,v=Array(g+2);v[g+1]=(1<<p)-1;for(var m=g;m>=d;m--){var y=i[t.charAt(m-1)];if(0===p?v[m]=(v[m+1]<<1|1)&y:v[m]=(v[m+1]<<1|1)&y|((u[m+1]|u[m])<<1|1)|u[m+1],v[m]&l){var b=r(p,m-1);if(b<=a){if(a=b,s=m-1,!(s>n))break;d=Math.max(1,2*n-s)}}}if(r(p+1,n)>a)break;u=v}return s},n.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(var n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},n.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var n=e.substring(t.start2,t.start2+t.length1),r=0;e.indexOf(n)!=e.lastIndexOf(n)&&n.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)r+=this.Patch_Margin,n=e.substring(t.start2-r,t.start2+t.length1+r);r+=this.Patch_Margin;var i=e.substring(t.start2-r,t.start2);i&&t.diffs.unshift([o,i]);var a=e.substring(t.start2+t.length1,t.start2+t.length1+r);a&&t.diffs.push([o,a]),t.start1-=i.length,t.start2-=i.length,t.length1+=i.length+a.length,t.length2+=i.length+a.length}},n.prototype.patch_make=function(t,e,a){var s,l;if("string"==typeof t&&"string"==typeof e&&"undefined"==typeof a)s=t,l=this.diff_main(s,e,!0),l.length>2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&"object"==typeof t&&"undefined"==typeof e&&"undefined"==typeof a)l=t,s=this.diff_text1(l);else if("string"==typeof t&&e&&"object"==typeof e&&"undefined"==typeof a)s=t,l=e;else{if("string"!=typeof t||"string"!=typeof e||!a||"object"!=typeof a)throw new Error("Unknown call format to patch_make.");s=t,l=a}if(0===l.length)return[];for(var c=[],f=new n.patch_obj,u=0,h=0,p=0,d=s,g=s,v=0;v<l.length;v++){var m=l[v][0],y=l[v][1];switch(u||m===o||(f.start1=h,f.start2=p),m){case i:f.diffs[u++]=l[v],f.length2+=y.length,g=g.substring(0,p)+y+g.substring(p);break;case r:f.length1+=y.length,f.diffs[u++]=l[v],g=g.substring(0,p)+g.substring(p+y.length);break;case o:y.length<=2*this.Patch_Margin&&u&&l.length!=v+1?(f.diffs[u++]=l[v],f.length1+=y.length,f.length2+=y.length):y.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(f,d),c.push(f),f=new n.patch_obj,u=0,d=g,h=p)}m!==i&&(h+=y.length),m!==r&&(p+=y.length)}return u&&(this.patch_addContext_(f,d),c.push(f)),c},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=new n.patch_obj;o.diffs=[];for(var a=0;a<i.diffs.length;a++)o.diffs[a]=i.diffs[a].slice();o.start1=i.start1,o.start2=i.start2,o.length1=i.length1,o.length2=i.length2,e[r]=o}return e},n.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var n=this.patch_addPadding(t);e=n+e+n,this.patch_splitMax(t);for(var a=0,s=[],l=0;l<t.length;l++){var c,f=t[l].start2+a,u=this.diff_text1(t[l].diffs),h=-1;if(u.length>this.Match_MaxBits?(c=this.match_main(e,u.substring(0,this.Match_MaxBits),f),c!=-1&&(h=this.match_main(e,u.substring(u.length-this.Match_MaxBits),f+u.length-this.Match_MaxBits),(h==-1||c>=h)&&(c=-1))):c=this.match_main(e,u,f),c==-1)s[l]=!1,a-=t[l].length2-t[l].length1;else{s[l]=!0,a=c-f;var p;if(p=h==-1?e.substring(c,c+u.length):e.substring(c,h+this.Match_MaxBits),u==p)e=e.substring(0,c)+this.diff_text2(t[l].diffs)+e.substring(c+u.length);else{var d=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(d)/u.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(d);for(var g,v=0,m=0;m<t[l].diffs.length;m++){var y=t[l].diffs[m];y[0]!==o&&(g=this.diff_xIndex(d,v)),y[0]===i?e=e.substring(0,c+g)+y[1]+e.substring(c+g):y[0]===r&&(e=e.substring(0,c+g)+e.substring(c+this.diff_xIndex(d,v+y[1].length))),y[0]!==r&&(v+=y[1].length)}}}}}return e=e.substring(n.length,e.length-n.length),[e,s]},n.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,n="",r=1;r<=e;r++)n+=String.fromCharCode(r);for(var r=0;r<t.length;r++)t[r].start1+=e,t[r].start2+=e;var i=t[0],a=i.diffs;if(0==a.length||a[0][0]!=o)a.unshift([o,n]),i.start1-=e,i.start2-=e,i.length1+=e,i.length2+=e;else if(e>a[0][1].length){var s=e-a[0][1].length;a[0][1]=n.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=t[t.length-1],a=i.diffs,0==a.length||a[a.length-1][0]!=o)a.push([o,n]),i.length1+=e,i.length2+=e;else if(e>a[a.length-1][1].length){var s=e-a[a.length-1][1].length;a[a.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,a=0;a<t.length;a++)if(t[a].length1>e){var s=t[a];t.splice(a--,1);for(var l=s.start1,c=s.start2,f="";0!==s.diffs.length;){var u=new n.patch_obj,h=!0;for(u.start1=l-f.length,u.start2=c-f.length,""!==f&&(u.length1=u.length2=f.length,u.diffs.push([o,f]));0!==s.diffs.length&&u.length1<e-this.Patch_Margin;){var p=s.diffs[0][0],d=s.diffs[0][1];p===i?(u.length2+=d.length,c+=d.length,u.diffs.push(s.diffs.shift()),h=!1):p===r&&1==u.diffs.length&&u.diffs[0][0]==o&&d.length>2*e?(u.length1+=d.length,l+=d.length,h=!1,u.diffs.push([p,d]),s.diffs.shift()):(d=d.substring(0,e-u.length1-this.Patch_Margin),u.length1+=d.length,l+=d.length,p===o?(u.length2+=d.length,c+=d.length):h=!1,u.diffs.push([p,d]),d==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(d.length))}f=this.diff_text2(u.diffs),f=f.substring(f.length-this.Patch_Margin);var g=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==g&&(u.length1+=g.length,u.length2+=g.length,0!==u.diffs.length&&u.diffs[u.diffs.length-1][0]===o?u.diffs[u.diffs.length-1][1]+=g:u.diffs.push([o,g])),h||t.splice(++a,0,u)}}},n.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},n.prototype.patch_fromText=function(t){var e=[];if(!t)return e;for(var a=t.split("\n"),s=0,l=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<a.length;){var c=a[s].match(l);if(!c)throw new Error("Invalid patch string: "+a[s]);var f=new n.patch_obj;for(e.push(f),f.start1=parseInt(c[1],10),""===c[2]?(f.start1--,f.length1=1):"0"==c[2]?f.length1=0:(f.start1--,f.length1=parseInt(c[2],10)),f.start2=parseInt(c[3],10),""===c[4]?(f.start2--,f.length2=1):"0"==c[4]?f.length2=0:(f.start2--,f.length2=parseInt(c[4],10)),s++;s<a.length;){var u=a[s].charAt(0);try{var h=decodeURI(a[s].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+h)}if("-"==u)f.diffs.push([r,h]);else if("+"==u)f.diffs.push([i,h]);else if(" "==u)f.diffs.push([o,h]);else{if("@"==u)break;if(""!==u)throw new Error('Invalid patch mode "'+u+'" in: '+h)}s++}}return e},n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},n.patch_obj.prototype.toString=function(){var t,e;t=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1,e=0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2;for(var n,a=["@@ -"+t+" +"+e+" @@\n"],s=0;s<this.diffs.length;s++){switch(this.diffs[s][0]){case i:n="+";break;case r:n="-";break;case o:n=" "}a[s+1]=n+encodeURI(this.diffs[s][1])+"\n"}return a.join("").replace(/%20/g," ")},this.diff_match_patch=n,this.DIFF_DELETE=r,this.DIFF_INSERT=i,this.DIFF_EQUAL=o},function(t,e,n){var r=n(35).Processor,i=n(21).Pipe,o=n(9).DiffContext,a=n(10).PatchContext,s=n(11).ReverseContext,l=n(34),c=n(32),f=n(29),u=n(30),h=n(33),p=function(t){this.processor=new r(t),this.processor.pipe(new i("diff").append(c.collectChildrenDiffFilter,l.diffFilter,u.diffFilter,h.diffFilter,c.objectsDiffFilter,f.diffFilter).shouldHaveResult()),this.processor.pipe(new i("patch").append(c.collectChildrenPatchFilter,f.collectChildrenPatchFilter,l.patchFilter,h.patchFilter,c.patchFilter,f.patchFilter).shouldHaveResult()),this.processor.pipe(new i("reverse").append(c.collectChildrenReverseFilter,f.collectChildrenReverseFilter,l.reverseFilter,h.reverseFilter,c.reverseFilter,f.reverseFilter).shouldHaveResult())};p.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},p.prototype.diff=function(t,e){return this.processor.process(new o(t,e))},p.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},p.prototype.reverse=function(t){return this.processor.process(new s(t))},p.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},e.DiffPatcher=p},function(t,e,n){function r(t,e,n,r){for(var i=0;i<n;i++)for(var o=t[i],a=0;a<r;a++){var s=e[a];if(o===s)return!0}}function i(t,e,n,r,i){var o=t[n],a=e[r];if(o===a)return!0;if("object"!=typeof o||"object"!=typeof a)return!1;var s=i.objectHash;if(!s)return i.matchByPosition&&n===r;var l,c;return"number"==typeof n?(i.hashCache1=i.hashCache1||[],l=i.hashCache1[n],"undefined"==typeof l&&(i.hashCache1[n]=l=s(o,n))):l=s(o),"undefined"!=typeof l&&("number"==typeof r?(i.hashCache2=i.hashCache2||[],c=i.hashCache2[r],"undefined"==typeof c&&(i.hashCache2[r]=c=s(a,r))):c=s(a),"undefined"!=typeof c&&l===c)}var o=n(9).DiffContext,a=n(10).PatchContext,s=n(11).ReverseContext,l=n(31),c=3,f="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},u="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]===e)return r;return-1},h=function(t){if(t.leftIsArray){var e,n,a,s,f={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},h=0,p=0,d=t.left,g=t.right,v=d.length,m=g.length;for(v>0&&m>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!r(d,g,v,m));h<v&&h<m&&i(d,g,h,h,f);)e=h,s=new o(t.left[e],t.right[e]),t.push(s,e),h++;for(;p+h<v&&p+h<m&&i(d,g,v-1-p,m-1-p,f);)n=v-1-p,a=m-1-p,s=new o(t.left[n],t.right[a]),t.push(s,a),p++;var y;if(h+p===v){if(v===m)return void t.setResult(void 0).exit();for(y=y||{_t:"a"},e=h;e<m-p;e++)y[e]=[g[e]];return void t.setResult(y).exit()}if(h+p===m){for(y=y||{_t:"a"},e=h;e<v-p;e++)y["_"+e]=[d[e],0,0];return void t.setResult(y).exit()}delete f.hashCache1,delete f.hashCache2;var b=d.slice(h,v-p),_=g.slice(h,m-p),x=l.get(b,_,i,f),w=[];for(y=y||{_t:"a"},e=h;e<v-p;e++)u(x.indices1,e-h)<0&&(y["_"+e]=[d[e],0,0],w.push(e));var k=!0;t.options&&t.options.arrays&&t.options.arrays.detectMove===!1&&(k=!1);var C=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(C=!0);var T=w.length;for(e=h;e<m-p;e++){var j=u(x.indices2,e-h);if(j<0){var $=!1;if(k&&T>0)for(var A=0;A<T;A++)if(n=w[A],i(b,_,n-h,e-h,f)){y["_"+n].splice(1,2,e,c),C||(y["_"+n][0]=""),a=e,s=new o(t.left[n],t.right[a]),t.push(s,a),w.splice(A,1),$=!0;break}$||(y[e]=[g[e]])}else n=x.indices1[j]+h,a=x.indices2[j]+h,s=new o(t.left[n],t.right[a]),t.push(s,a)}t.setResult(y).exit()}};h.filterName="arrays";var p={numerically:function(t,e){return t-e},numericallyBy:function(t){return function(e,n){return e[t]-n[t]}}},d=function(t){if(t.nested&&"a"===t.delta._t){var e,n,r=t.delta,i=t.left,o=[],s=[],l=[];for(e in r)if("_t"!==e)if("_"===e[0]){if(0!==r[e][2]&&r[e][2]!==c)throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+r[e][2]);o.push(parseInt(e.slice(1),10))}else 1===r[e].length?s.push({index:parseInt(e,10),value:r[e][0]}):l.push({index:parseInt(e,10),delta:r[e]});for(o=o.sort(p.numerically),e=o.length-1;e>=0;e--){n=o[e];var f=r["_"+n],u=i.splice(n,1)[0];f[2]===c&&s.push({index:f[1],value:u})}s=s.sort(p.numericallyBy("index"));var h=s.length;for(e=0;e<h;e++){var d=s[e];i.splice(d.index,0,d.value)}var g,v=l.length;if(v>0)for(e=0;e<v;e++){var m=l[e];g=new a(t.left[m.index],m.delta),t.push(g,m.index)}return t.children?void t.exit():void t.setResult(t.left).exit()}};d.filterName="arrays";var g=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};g.filterName="arraysCollectChildren";var v=function(t){if(!t.nested)return void(t.delta[2]===c&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),c]).exit()));if("a"===t.delta._t){var e,n;for(e in t.delta)"_t"!==e&&(n=new s(t.delta[e]),t.push(n,e));t.exit()}};v.filterName="arrays";var m=function(t,e,n){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(f(n)&&0===n[2])return"_"+e;var r=+e;for(var i in t){var o=t[i];if(f(o))if(o[2]===c){var a=parseInt(i.substr(1),10),s=o[1];if(s===+e)return a;a<=r&&s>r?r++:a>=r&&s<r&&r--}else if(0===o[2]){var l=parseInt(i.substr(1),10);l<=r&&r++}else 1===o.length&&i<=r&&r--}return r},y=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,n=t.children.length,r={_t:"a"},i=0;i<n;i++){e=t.children[i];var o=e.newName;"undefined"==typeof o&&(o=m(t.delta,e.childName,e.result)),r[o]!==e.result&&(r[o]=e.result)}t.setResult(r).exit()}};y.filterName="arraysCollectChildren",e.diffFilter=h,e.patchFilter=d,e.collectChildrenPatchFilter=g,e.reverseFilter=v,e.collectChildrenReverseFilter=y},function(t,e){var n=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};n.filterName="dates",e.diffFilter=n},function(t,e){var n=function(t,e,n,r){return t[n]===e[r]},r=function(t,e,n,r){var i,o,a=t.length,s=e.length,l=[a+1];for(i=0;i<a+1;i++)for(l[i]=[s+1],o=0;o<s+1;o++)l[i][o]=0;
-for(l.match=n,i=1;i<a+1;i++)for(o=1;o<s+1;o++)n(t,e,i-1,o-1,r)?l[i][o]=l[i-1][o-1]+1:l[i][o]=Math.max(l[i-1][o],l[i][o-1]);return l},i=function(t,e,n,r,o,a){if(0===r||0===o)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,n,r-1,o-1,a)){var s=i(t,e,n,r-1,o-1,a);return s.sequence.push(e[r-1]),s.indices1.push(r-1),s.indices2.push(o-1),s}return t[r][o-1]>t[r-1][o]?i(t,e,n,r,o-1,a):i(t,e,n,r-1,o,a)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),l=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(l.sequence=l.sequence.join("")),l};e.get=o},function(t,e,n){var r=n(9).DiffContext,i=n(10).PatchContext,o=n(11).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i<n;i++)e=t.children[i],"undefined"!=typeof e.result&&(r=r||{},r[e.childName]=e.result);r&&t.leftIsArray&&(r._t="a"),t.setResult(r).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,n,i=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(i&&!i(e,t)||(n=new r(t.left[e],t.right[e]),t.push(n,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(i&&!i(e,t)||"undefined"==typeof t.left[e]&&(n=new r(void 0,t.right[e]),t.push(n,e)));return t.children&&0!==t.children.length?void t.exit():void t.setResult(void 0).exit()}};s.filterName="objects";var l=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new i(t.left[e],t.delta[e]),t.push(n,e);t.exit()}};l.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new o(t.delta[e]),t.push(n,e);t.exit()}};f.filterName="objects";var u=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r={},i=0;i<n;i++)e=t.children[i],r[e.childName]!==e.result&&(r[e.childName]=e.result);t.setResult(r).exit()}};u.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=l,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=u},function(t,e,n){var r=2,i=60,o=null,a=function(t){if(!o){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else try{var r="diff_match_patch_uncompressed",i=n(176)("./"+r);e=new i.diff_match_patch}catch(t){e=null}if(!e){if(!t)return null;var a=new Error("text diff_match_patch library not found");throw a.diff_match_patch_not_found=!0,a}o={diff:function(t,n){return e.patch_toText(e.patch_make(t,n))},patch:function(t,n){for(var r=e.patch_apply(e.patch_fromText(n),t),i=0;i<r[1].length;i++)if(!r[1][i]){var o=new Error("text patch failed");o.textPatchFailed=!0}return r[0]}}}return o},s=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||i;if(t.left.length<e||t.right.length<e)return void t.setResult([t.left,t.right]).exit();var n=a();if(!n)return void t.setResult([t.left,t.right]).exit();var o=n.diff;t.setResult([o(t.left,t.right),0,r]).exit()}};s.filterName="texts";var l=function(t){if(!t.nested&&t.delta[2]===r){var e=a(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};l.filterName="texts";var c=function(t){var e,n,r,i,o,a,s,l,c=null,f=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(r=t.split("\n"),e=0,n=r.length;e<n;e++){i=r[e];var u=i.slice(0,1);"@"===u?(c=f.exec(i),a=e,s=null,l=null,r[a]="@@ -"+c[3]+","+c[4]+" +"+c[1]+","+c[2]+" @@"):"+"===u?(s=e,r[e]="-"+r[e].slice(1),"+"===r[e-1].slice(0,1)&&(o=r[e],r[e]=r[e-1],r[e-1]=o)):"-"===u&&(l=e,r[e]="+"+r[e].slice(1))}return r.join("\n")},f=function(t){t.nested||t.delta[2]===r&&t.setResult([c(t.delta[0]),0,r]).exit()};f.filterName="texts",e.diffFilter=s,e.patchFilter=l,e.reverseFilter=f},function(t,e){var n="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},r=function(t){if(t.left===t.right)return void t.setResult(void 0).exit();if("undefined"==typeof t.left){if("function"==typeof t.right)throw new Error("functions are not supported");return void t.setResult([t.right]).exit()}if("undefined"==typeof t.right)return void t.setResult([t.left,0,0]).exit();if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");return t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType!==t.rightType?void t.setResult([t.left,t.right]).exit():"boolean"===t.leftType||"number"===t.leftType?void t.setResult([t.left,t.right]).exit():("object"===t.leftType&&(t.leftIsArray=n(t.left)),"object"===t.rightType&&(t.rightIsArray=n(t.right)),t.leftIsArray!==t.rightIsArray?void t.setResult([t.left,t.right]).exit():void 0)};r.filterName="trivial";var i=function(t){return"undefined"==typeof t.delta?void t.setResult(t.left).exit():(t.nested=!n(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult(t.delta[0]).exit():2===t.delta.length?void t.setResult(t.delta[1]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult(void 0).exit():void 0)};i.filterName="trivial";var o=function(t){return"undefined"==typeof t.delta?void t.setResult(t.delta).exit():(t.nested=!n(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult([t.delta[0],0,0]).exit():2===t.delta.length?void t.setResult([t.delta[1],t.delta[0]]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult([t.delta[0]]).exit():void 0)};o.filterName="trivial",e.diffFilter=r,e.patchFilter=i,e.reverseFilter=o},function(t,e){var n=function(t){this.selfOptions=t||{},this.pipes={}};n.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},n.prototype.pipe=function(t,e){if("string"==typeof t){if("undefined"==typeof e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if(e=t,e.processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},n.prototype.process=function(t,e){var n=t;n.options=this.options();for(var r,i,o=e||t.pipe||"default";o;)"undefined"!=typeof n.nextAfterChildren&&(n.next=n.nextAfterChildren,n.nextAfterChildren=null),"string"==typeof o&&(o=this.pipe(o)),o.process(n),i=n,r=o,o=null,n&&n.next&&(n=n.next,o=i.nextPipe||n.pipe||r);return n.hasResult?n.result:void 0},e.Processor=n},function(t,e,n){var r,i;n(218),r=n(74);var o=n(201);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-2842cc86",t.exports=r},function(t,e,n){var r,i;n(214),r=n(78);var o=n(197);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-09005644",t.exports=r},function(t,e){"use strict";t.exports=function(){return/\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(7),a=function(){function t(e){r(this,t),this.zoomFactor=.1,this.paper=e.paper,this.MIN_SIZE=40,this.imageWidth=parseInt(this.paper.select(".main-image").attr("width")),this.imageHeight=parseInt(this.paper.select(".main-image").attr("height")),this.viewport={width:parseInt(this.paper.attr("width")),height:parseInt(this.paper.attr("height"))},this.scale=1,this.paper.attr({stroke:2,fill:"blue"}),this.disableDrag=!1,this.imgMinSize=Math.min(this.imageWidth,this.imageHeight),this.lastPosition=[],this.updateViewBox([0,0,this.imageWidth,this.imageHeight])}return i(t,[{key:"testShowCenter",value:function(t,e){this.center&&this.center.remove(),this.center=this.paper.rect(t-3,e-3,20,20),this.center.attr({fill:"red"})}},{key:"drawTestRectangle",value:function(t,e,n,r){var i=t-n/2,o=e-r/2;this.paper.rect(i,o,n,r)}},{key:"zoomIn",value:function(){if(9===this.scale)return void this.scale--;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*this.scale,r=this.imgMinSize-this.imgMinSize*n,i=r;this.currentViewBox[0]=t-r/2,this.currentViewBox[1]=e-i/2,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.scale++,this.updateViewBox()}},{key:"updateViewBox",value:function(t,e){if(e="boolean"!=typeof e||e,t&&4!=t.length)throw new Error("Provided currentViewBox is not valid!");if(t&&(this.currentViewBox=t),this.paper.attr({viewBox:this.currentViewBox}),!e)return!1;var n=this;o.eventEmitter.emit("zoomChanged",{updateFunction:function(t){n.updateViewBox(t,!1)},zoomFactor:this.getZoomFactor(),viewport:this.viewport,currentScale:this.scale,imageSize:{width:this.imageWidth,height:this.imageHeight},minSize:Math.min(this.imageWidth,this.imageHeight),currentViewBox:this.currentViewBox.slice()})}},{key:"getZoomFactor",value:function(){return{x:this.viewport.width/this.currentViewBox[2],y:this.viewport.height/this.currentViewBox[3]}}},{key:"onStart",value:function(t,e,n){this.lastPosition[0]=this.currentViewBox[0],this.lastPosition[1]=this.currentViewBox[1],"drawingHandler"===n.target.className.baseVal&&(this.disableDrag=!0)}},{key:"canDrag",value:function(){return!this.disableDrag}},{key:"onStop",value:function(){this.disableDrag=!1}},{key:"onDrag",value:function(t,e,n,r,i){if(!this.canDrag())return!0;var o=this.lastPosition[0]-t,a=this.lastPosition[1]-e;o+this.currentViewBox[2]>=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e.default={enable_zoom:function(t){return new a(t)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{save:function(t){Object.assign(t,{fragment:this.toSVGPath()}),this.$parent.$emit("save",t)}}}},function(t,e,n){(function(t,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),a=i(o),s=n(189),l=i(s),c={placement:"auto",container:"body",trigger:"manual",html:!0,title:"",viewport:".cut-canvas",content:""};e.default={methods:{addTooltip:function(){var e=this,n=new Vue(l.default);this.originalAnnotation&&(n.originalTitle=this.originalAnnotation.title,n.originalDescription=this.originalAnnotation.description,n.originalTags=this.originalAnnotation.tags),n.$mount(t("<div>").get(0)),n.$on("close",function(){e.clear()}),n.$on("save",function(t){e.save(t)}),c.content=n.$el;var i=new a.default(this.getTooltipTarget()),o=r(i.node);o.popover(c).popover("show"),this.$on("drag:start",function(){o.popover("hide")}),this.$on("drag:end",function(){o.popover("show")}),o.on("shown.bs.popover",function(t){var e=o.data("bs.popover").$tip;e.find('input[name="title"]').focus()})},destroyTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("destroy")},hideTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("hide")},showTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("show")}}}}).call(e,n(1),n(1))},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(24),i=n(22),o=n(108),a=n(112),s="prototype",l=function(t,e,n){var c,f,u,h=t&l.F,p=t&l.G,d=t&l.S,g=t&l.P,v=t&l.B,m=t&l.W,y=p?i:i[e]||(i[e]={}),b=y[s],_=p?r:d?r[e]:(r[e]||{})[s];p&&(n=e);for(c in n)f=!h&&_&&void 0!==_[c],f&&c in y||(u=f?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:v&&f?o(u,r):m&&_[c]==u?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(u):g&&"function"==typeof u?o(Function.call,u):u,g&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&a(b,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(107);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(105),i=n(113),o=n(125),a=Object.defineProperty;e.f=n(17)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(44),i=n(42);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";function n(t){function e(){var t={};for(s.push(t);l<o.length;){var e=o[l];if(/^(\-\-\-|\+\+\+|@@)\s/.test(e))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(e);a&&(t.index=a[1]),l++}for(n(t),n(t),t.hunks=[];l<o.length;){var c=o[l];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))t.hunks.push(r());else{if(c&&i.strict)throw new Error("Unknown line "+(l+1)+" "+JSON.stringify(c));l++}}}function n(t){var e=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/,n=e.exec(o[l]);if(n){var r="---"===n[1]?"old":"new";t[r+"FileName"]=n[2],t[r+"Header"]=n[3],l++}}function r(){for(var t=l,e=o[l++],n=e.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),r={oldStart:+n[1],oldLines:+n[2]||1,newStart:+n[3],newLines:+n[4]||1,lines:[],linedelimiters:[]},s=0,c=0;l<o.length&&!(0===o[l].indexOf("--- ")&&l+2<o.length&&0===o[l+1].indexOf("+++ ")&&0===o[l+2].indexOf("@@"));l++){var f=o[l][0];if("+"!==f&&"-"!==f&&" "!==f&&"\\"!==f)break;r.lines.push(o[l]),r.linedelimiters.push(a[l]||"\n"),"+"===f?s++:"-"===f?c++:" "===f&&(s++,c++)}if(s||1!==r.newLines||(r.newLines=0),c||1!==r.oldLines||(r.oldLines=0),i.strict){if(s!==r.newLines)throw new Error("Added line count did not match for hunk at line "+(t+1));if(c!==r.oldLines)throw new Error("Removed line count did not match for hunk at line "+(t+1))}return r}for(var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=t.split(/\r\n|[\n\v\f\r\x85]/),a=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=[],l=0;l<o.length;)e();return s}e.__esModule=!0,e.parsePatch=n},function(t,e){"use strict";function n(t,e){if("function"==typeof t)e.callback=t;else if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}e.__esModule=!0,e.generateOptions=n},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./contexts/context":8,"./contexts/context.js":8,"./contexts/diff":9,"./contexts/diff.js":9,"./contexts/patch":10,"./contexts/patch.js":10,"./contexts/reverse":11,"./contexts/reverse.js":11,"./date-reviver":18,"./date-reviver.js":18,"./diffpatcher":28,"./diffpatcher.js":28,"./environment":12,"./environment.js":12,"./filters/arrays":29,"./filters/arrays.js":29,"./filters/dates":30,"./filters/dates.js":30,"./filters/lcs":31,"./filters/lcs.js":31,"./filters/nested":32,"./filters/nested.js":32,"./filters/texts":33,"./filters/texts.js":33,"./filters/trivial":34,"./filters/trivial.js":34,"./formatters/annotated":13,"./formatters/annotated.js":13,"./formatters/base":4,"./formatters/base.js":4,"./formatters/console":19,"./formatters/console.js":19,"./formatters/html":14,"./formatters/html.js":14,"./formatters/index":15,"./formatters/index.js":15,"./formatters/jsonpatch":16,"./formatters/jsonpatch.js":16,"./main":20,"./main-formatters":51,"./main-formatters.js":51,"./main-full":52,"./main-full.js":52,"./main.js":20,"./pipe":21,"./pipe.js":21,"./processor":35,"./processor.js":35};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=50},function(t,e,n){t.exports=n(15)},function(t,e,n){var r=n(12);r.isBrowser&&(window.diff_match_patch=n(27)),t.exports=n(20)},function(t,e,n){var r;(function(t,i){(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function l(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function u(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function p(t,e){var n=null==t?0:t.length;return!!n&&C(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function g(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function v(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function _(t){return t.split("")}function x(t){return t.match(Ie)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function k(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function C(t,e,n){return e===e?Y(t,e,n):k(t,j,n)}function T(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function j(t){return t!==t}function $(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:Nt}function A(t){return function(e){return null==e?it:e[t]}}function S(t){return function(e){return null==t?it:t[e]}}function O(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function M(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function E(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==it&&(n=n===it?o:n+o)}return n}function P(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function N(t,e){return g(e,function(e){return[e,t[e]]})}function F(t){return function(e){return t(e)}}function R(t,e){return g(e,function(e){return t[e]})}function B(t,e){return t.has(e)}function D(t,e){for(var n=-1,r=t.length;++n<r&&C(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length;n--&&C(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function L(t){return"\\"+Yn[t]}function q(t,e){return null==t?it:t[e]}function V(t){return qn.test(t)}function H(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Z(t,e){return function(n){return t(e(n))}}function J(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==ut||(t[n]=ut,o[i++]=n)}return o}function G(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Y(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function K(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Q(t){return V(t)?et(t):dr(t)}function tt(t){return V(t)?nt(t):_(t)}function et(t){for(var e=In.lastIndex=0;In.test(t);)++e;return e}function nt(t){return t.match(In)||[]}function rt(t){return t.match(Ln)||[]}var it,ot="4.16.6",at=200,st="Unsupported core-js use. Try https://github.com/es-shims.",lt="Expected a function",ct="__lodash_hash_undefined__",ft=500,ut="__lodash_placeholder__",ht=1,pt=2,dt=4,gt=8,vt=16,mt=32,yt=64,bt=128,_t=256,xt=512,wt=1,kt=2,Ct=30,Tt="...",jt=800,$t=16,At=1,St=2,Ot=3,Mt=1/0,Et=9007199254740991,Pt=1.7976931348623157e308,Nt=NaN,Ft=4294967295,Rt=Ft-1,Bt=Ft>>>1,Dt=[["ary",bt],["bind",ht],["bindKey",pt],["curry",gt],["curryRight",vt],["flip",xt],["partial",mt],["partialRight",yt],["rearg",_t]],zt="[object Arguments]",It="[object Array]",Lt="[object AsyncFunction]",qt="[object Boolean]",Vt="[object Date]",Ht="[object DOMException]",Ut="[object Error]",Wt="[object Function]",Zt="[object GeneratorFunction]",Jt="[object Map]",Gt="[object Number]",Xt="[object Null]",Yt="[object Object]",Kt="[object Promise]",Qt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",fe="[object Float64Array]",ue="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(xe.source),Ce=RegExp(we.source),Te=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,$e=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/^\./,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Ee.source),Ne=/^\s+|\s+$/g,Fe=/^\s+/,Re=/\s+$/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Ie=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xe=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",Qe="\\u0300-\\u036f\\ufe20-\\ufe23",tn="\\u20d0-\\u20f0",en="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",on="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",cn="\\ufe0e\\ufe0f",fn=rn+on+an+sn,un="['’]",hn="["+Ke+"]",pn="["+fn+"]",dn="["+Qe+tn+"]",gn="\\d+",vn="["+en+"]",mn="["+nn+"]",yn="[^"+Ke+fn+gn+en+nn+ln+"]",bn="\\ud83c[\\udffb-\\udfff]",_n="(?:"+dn+"|"+bn+")",xn="[^"+Ke+"]",wn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+ln+"]",Tn="\\u200d",jn="(?:"+mn+"|"+yn+")",$n="(?:"+Cn+"|"+yn+")",An="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",On=_n+"?",Mn="["+cn+"]?",En="(?:"+Tn+"(?:"+[xn,wn,kn].join("|")+")"+Mn+On+")*",Pn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Nn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Fn=Mn+On+En,Rn="(?:"+[vn,wn,kn].join("|")+")"+Fn,Bn="(?:"+[xn+dn+"?",dn,wn,kn,hn].join("|")+")",Dn=RegExp(un,"g"),zn=RegExp(dn,"g"),In=RegExp(bn+"(?="+bn+")|"+Bn+Fn,"g"),Ln=RegExp([Cn+"?"+mn+"+"+An+"(?="+[pn,Cn,"$"].join("|")+")",$n+"+"+Sn+"(?="+[pn,Cn+jn,"$"].join("|")+")",Cn+"?"+jn+"+"+An,Cn+"+"+Sn,Nn,Pn,gn,Rn].join("|"),"g"),qn=RegExp("["+Tn+Ke+Qe+tn+cn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,Wn={};Wn[ce]=Wn[fe]=Wn[ue]=Wn[he]=Wn[pe]=Wn[de]=Wn[ge]=Wn[ve]=Wn[me]=!0,Wn[zt]=Wn[It]=Wn[se]=Wn[qt]=Wn[le]=Wn[Vt]=Wn[Ut]=Wn[Wt]=Wn[Jt]=Wn[Gt]=Wn[Yt]=Wn[te]=Wn[ee]=Wn[ne]=Wn[oe]=!1;var Zn={};Zn[zt]=Zn[It]=Zn[se]=Zn[le]=Zn[qt]=Zn[Vt]=Zn[ce]=Zn[fe]=Zn[ue]=Zn[he]=Zn[pe]=Zn[Jt]=Zn[Gt]=Zn[Yt]=Zn[te]=Zn[ee]=Zn[ne]=Zn[re]=Zn[de]=Zn[ge]=Zn[ve]=Zn[me]=!0,Zn[Ut]=Zn[Wt]=Zn[oe]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Xn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kn=parseFloat,Qn=parseInt,tr="object"==typeof t&&t&&t.Object===Object&&t,er="object"==typeof self&&self&&self.Object===Object&&self,nr=tr||er||Function("return this")(),rr="object"==typeof e&&e&&!e.nodeType&&e,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,or=ir&&ir.exports===rr,ar=or&&tr.process,sr=function(){try{return ar&&ar.binding("util")}catch(t){}}(),lr=sr&&sr.isArrayBuffer,cr=sr&&sr.isDate,fr=sr&&sr.isMap,ur=sr&&sr.isRegExp,hr=sr&&sr.isSet,pr=sr&&sr.isTypedArray,dr=A("length"),gr=S(Jn),vr=S(Gn),mr=S(Xn),yr=function t(e){function n(t){if(rl(t)&&!gh(t)&&!(t instanceof _)){if(t instanceof i)return t;if(gf.call(t,"__wrapped__"))return ta(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ft,this.__views__=[]}function S(){var t=new _(this.__wrapped__);return t.__actions__=Bi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Bi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Bi(this.__views__),t}function Y(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=gh(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,f=this.__iteratees__,u=f.length,h=0,p=Uf(l,this.__takeCount__);if(!n||i<at||i==l&&p==l)return yi(t,this.__actions__);var d=[];t:for(;l--&&h<p;){c+=e;for(var g=-1,v=t[c];++g<u;){var m=f[g],y=m.iteratee,b=m.type,_=y(v);if(b==St)v=_;else if(!_){if(b==At)continue t;break t}}d[h++]=v}return d}function nt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ie(){this.__data__=eu?eu(null):{},this.size=0}function Ke(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Qe(t){var e=this.__data__;if(eu){var n=e[t];return n===ct?it:n}return gf.call(e,t)?e[t]:it}function tn(t){var e=this.__data__;return eu?e[t]!==it:gf.call(e,t)}function en(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=eu&&e===it?ct:e,this}function nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rn(){this.__data__=[],this.size=0}function on(t){var e=this.__data__,n=Mn(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Sf.call(e,n,1),--this.size,!0}function an(t){var e=this.__data__,n=Mn(e,t);return n<0?it:e[n][1]}function sn(t){return Mn(this.__data__,t)>-1}function ln(t,e){var n=this.__data__,r=Mn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function fn(){this.size=0,this.__data__={hash:new nt,map:new(Yf||nn),string:new nt}}function un(t){var e=bo(this,t).delete(t);return this.size-=e?1:0,e}function hn(t){return bo(this,t).get(t)}function pn(t){return bo(this,t).has(t)}function dn(t,e){var n=bo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new cn;++e<n;)this.add(t[e])}function vn(t){return this.__data__.set(t,ct),this}function mn(t){return this.__data__.has(t)}function yn(t){var e=this.__data__=new nn(t);this.size=e.size}function bn(){this.__data__=new nn,this.size=0}function _n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function xn(t){return this.__data__.get(t)}function wn(t){return this.__data__.has(t)}function kn(t,e){var n=this.__data__;if(n instanceof nn){var r=n.__data__;if(!Yf||r.length<at-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new cn(r)}return n.set(t,e),this.size=n.size,this}function Cn(t,e){var n=gh(t),r=!n&&dh(t),i=!n&&!r&&mh(t),o=!n&&!r&&!i&&wh(t),a=n||r||i||o,s=a?P(t.length,lf):[],l=s.length;for(var c in t)!e&&!gf.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Mo(c,l))||s.push(c);return s}function Tn(t){var e=t.length;return e?t[Qr(0,e-1)]:it}function jn(t,e){return Xo(Bi(t),Rn(e,0,t.length))}function $n(t){return Xo(Bi(t))}function An(t,e,n,r){return t===it||Vs(t,hf[n])&&!gf.call(r,n)?e:t}function Sn(t,e,n){(n===it||Vs(t[e],n))&&(n!==it||e in t)||Nn(t,e,n)}function On(t,e,n){var r=t[e];gf.call(t,e)&&Vs(r,n)&&(n!==it||e in t)||Nn(t,e,n)}function Mn(t,e){for(var n=t.length;n--;)if(Vs(t[n][0],e))return n;return-1}function En(t,e,n,r){return pu(t,function(t,i,o){e(r,t,n(t),o)}),r}function Pn(t,e){return t&&Di(e,Dl(e),t)}function Nn(t,e,n){"__proto__"==e&&Pf?Pf(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,i=tf(r),o=null==t;++n<r;)i[n]=o?it:Fl(t,e[n]);return i}function Rn(t,e,n){return t===t&&(n!==it&&(t=t<=n?t:n),e!==it&&(t=t>=e?t:e)),t}function Bn(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==it)return s;if(!nl(t))return t;var l=gh(t);if(l){if(s=jo(t),!e)return Bi(t,s)}else{var f=Tu(t),u=f==Wt||f==Zt;if(mh(t))return Ti(t,e);if(f==Yt||f==zt||u&&!o){if(s=$o(u?{}:t),!e)return zi(t,Pn(s,t))}else{if(!Zn[f])return o?t:{};s=Ao(t,f,Bn,e)}}a||(a=new yn);var h=a.get(t);if(h)return h;a.set(t,s);var p=l?it:(n?po:Dl)(t);return c(p||t,function(i,o){
+for(l.match=n,i=1;i<a+1;i++)for(o=1;o<s+1;o++)n(t,e,i-1,o-1,r)?l[i][o]=l[i-1][o-1]+1:l[i][o]=Math.max(l[i-1][o],l[i][o-1]);return l},i=function(t,e,n,r,o,a){if(0===r||0===o)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,n,r-1,o-1,a)){var s=i(t,e,n,r-1,o-1,a);return s.sequence.push(e[r-1]),s.indices1.push(r-1),s.indices2.push(o-1),s}return t[r][o-1]>t[r-1][o]?i(t,e,n,r,o-1,a):i(t,e,n,r-1,o,a)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),l=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(l.sequence=l.sequence.join("")),l};e.get=o},function(t,e,n){var r=n(9).DiffContext,i=n(10).PatchContext,o=n(11).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i<n;i++)e=t.children[i],"undefined"!=typeof e.result&&(r=r||{},r[e.childName]=e.result);r&&t.leftIsArray&&(r._t="a"),t.setResult(r).exit()}};a.filterName="collectChildren";var s=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,n,i=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(i&&!i(e,t)||(n=new r(t.left[e],t.right[e]),t.push(n,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(i&&!i(e,t)||"undefined"==typeof t.left[e]&&(n=new r(void 0,t.right[e]),t.push(n,e)));return t.children&&0!==t.children.length?void t.exit():void t.setResult(void 0).exit()}};s.filterName="objects";var l=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new i(t.left[e],t.delta[e]),t.push(n,e);t.exit()}};l.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r=0;r<n;r++)e=t.children[r],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,n;for(e in t.delta)n=new o(t.delta[e]),t.push(n,e);t.exit()}};f.filterName="objects";var u=function(t){if(t&&t.children&&!t.delta._t){for(var e,n=t.children.length,r={},i=0;i<n;i++)e=t.children[i],r[e.childName]!==e.result&&(r[e.childName]=e.result);t.setResult(r).exit()}};u.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=s,e.patchFilter=l,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=u},function(t,e,n){var r=2,i=60,o=null,a=function(t){if(!o){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else try{var r="diff_match_patch_uncompressed",i=n(176)("./"+r);e=new i.diff_match_patch}catch(t){e=null}if(!e){if(!t)return null;var a=new Error("text diff_match_patch library not found");throw a.diff_match_patch_not_found=!0,a}o={diff:function(t,n){return e.patch_toText(e.patch_make(t,n))},patch:function(t,n){for(var r=e.patch_apply(e.patch_fromText(n),t),i=0;i<r[1].length;i++)if(!r[1][i]){var o=new Error("text patch failed");o.textPatchFailed=!0}return r[0]}}}return o},s=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||i;if(t.left.length<e||t.right.length<e)return void t.setResult([t.left,t.right]).exit();var n=a();if(!n)return void t.setResult([t.left,t.right]).exit();var o=n.diff;t.setResult([o(t.left,t.right),0,r]).exit()}};s.filterName="texts";var l=function(t){if(!t.nested&&t.delta[2]===r){var e=a(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};l.filterName="texts";var c=function(t){var e,n,r,i,o,a,s,l,c=null,f=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(r=t.split("\n"),e=0,n=r.length;e<n;e++){i=r[e];var u=i.slice(0,1);"@"===u?(c=f.exec(i),a=e,s=null,l=null,r[a]="@@ -"+c[3]+","+c[4]+" +"+c[1]+","+c[2]+" @@"):"+"===u?(s=e,r[e]="-"+r[e].slice(1),"+"===r[e-1].slice(0,1)&&(o=r[e],r[e]=r[e-1],r[e-1]=o)):"-"===u&&(l=e,r[e]="+"+r[e].slice(1))}return r.join("\n")},f=function(t){t.nested||t.delta[2]===r&&t.setResult([c(t.delta[0]),0,r]).exit()};f.filterName="texts",e.diffFilter=s,e.patchFilter=l,e.reverseFilter=f},function(t,e){var n="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},r=function(t){if(t.left===t.right)return void t.setResult(void 0).exit();if("undefined"==typeof t.left){if("function"==typeof t.right)throw new Error("functions are not supported");return void t.setResult([t.right]).exit()}if("undefined"==typeof t.right)return void t.setResult([t.left,0,0]).exit();if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");return t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType!==t.rightType?void t.setResult([t.left,t.right]).exit():"boolean"===t.leftType||"number"===t.leftType?void t.setResult([t.left,t.right]).exit():("object"===t.leftType&&(t.leftIsArray=n(t.left)),"object"===t.rightType&&(t.rightIsArray=n(t.right)),t.leftIsArray!==t.rightIsArray?void t.setResult([t.left,t.right]).exit():void 0)};r.filterName="trivial";var i=function(t){return"undefined"==typeof t.delta?void t.setResult(t.left).exit():(t.nested=!n(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult(t.delta[0]).exit():2===t.delta.length?void t.setResult(t.delta[1]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult(void 0).exit():void 0)};i.filterName="trivial";var o=function(t){return"undefined"==typeof t.delta?void t.setResult(t.delta).exit():(t.nested=!n(t.delta),t.nested?void 0:1===t.delta.length?void t.setResult([t.delta[0],0,0]).exit():2===t.delta.length?void t.setResult([t.delta[1],t.delta[0]]).exit():3===t.delta.length&&0===t.delta[2]?void t.setResult([t.delta[0]]).exit():void 0)};o.filterName="trivial",e.diffFilter=r,e.patchFilter=i,e.reverseFilter=o},function(t,e){var n=function(t){this.selfOptions=t||{},this.pipes={}};n.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},n.prototype.pipe=function(t,e){if("string"==typeof t){if("undefined"==typeof e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if(e=t,e.processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},n.prototype.process=function(t,e){var n=t;n.options=this.options();for(var r,i,o=e||t.pipe||"default";o;)"undefined"!=typeof n.nextAfterChildren&&(n.next=n.nextAfterChildren,n.nextAfterChildren=null),"string"==typeof o&&(o=this.pipe(o)),o.process(n),i=n,r=o,o=null,n&&n.next&&(n=n.next,o=i.nextPipe||n.pipe||r);return n.hasResult?n.result:void 0},e.Processor=n},function(t,e,n){var r,i;n(213),r=n(74);var o=n(195);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-01594f1c",t.exports=r},function(t,e,n){var r,i;n(224),r=n(78);var o=n(208);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-7e508aca",t.exports=r},function(t,e){"use strict";t.exports=function(){return/\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(7),a=function(){function t(e){r(this,t),this.zoomFactor=.1,this.paper=e.paper,this.MIN_SIZE=40,this.imageWidth=parseInt(this.paper.select(".main-image").attr("width")),this.imageHeight=parseInt(this.paper.select(".main-image").attr("height")),this.viewport={width:parseInt(this.paper.attr("width")),height:parseInt(this.paper.attr("height"))},this.scale=1,this.paper.attr({stroke:2,fill:"blue"}),this.disableDrag=!1,this.imgMinSize=Math.min(this.imageWidth,this.imageHeight),this.lastPosition=[],this.updateViewBox([0,0,this.imageWidth,this.imageHeight])}return i(t,[{key:"testShowCenter",value:function(t,e){this.center&&this.center.remove(),this.center=this.paper.rect(t-3,e-3,20,20),this.center.attr({fill:"red"})}},{key:"drawTestRectangle",value:function(t,e,n,r){var i=t-n/2,o=e-r/2;this.paper.rect(i,o,n,r)}},{key:"zoomIn",value:function(){if(9===this.scale)return void this.scale--;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*this.scale,r=this.imgMinSize-this.imgMinSize*n,i=r;this.currentViewBox[0]=t-r/2,this.currentViewBox[1]=e-i/2,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.scale++,this.updateViewBox()}},{key:"updateViewBox",value:function(t,e){if(e="boolean"!=typeof e||e,t&&4!=t.length)throw new Error("Provided currentViewBox is not valid!");if(t&&(this.currentViewBox=t),this.paper.attr({viewBox:this.currentViewBox}),!e)return!1;var n=this;o.eventEmitter.emit("zoomChanged",{updateFunction:function(t){n.updateViewBox(t,!1)},zoomFactor:this.getZoomFactor(),viewport:this.viewport,currentScale:this.scale,imageSize:{width:this.imageWidth,height:this.imageHeight},minSize:Math.min(this.imageWidth,this.imageHeight),currentViewBox:this.currentViewBox.slice()})}},{key:"getZoomFactor",value:function(){return{x:this.viewport.width/this.currentViewBox[2],y:this.viewport.height/this.currentViewBox[3]}}},{key:"onStart",value:function(t,e,n){this.lastPosition[0]=this.currentViewBox[0],this.lastPosition[1]=this.currentViewBox[1],"drawingHandler"===n.target.className.baseVal&&(this.disableDrag=!0)}},{key:"canDrag",value:function(){return!this.disableDrag}},{key:"onStop",value:function(){this.disableDrag=!1}},{key:"onDrag",value:function(t,e,n,r,i){if(!this.canDrag())return!0;var o=this.lastPosition[0]-t,a=this.lastPosition[1]-e;o+this.currentViewBox[2]>=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e.default={enable_zoom:function(t){return new a(t)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{save:function(t){Object.assign(t,{fragment:this.toSVGPath()}),this.$parent.$emit("save",t)}}}},function(t,e,n){(function(t,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),a=i(o),s=n(189),l=i(s),c={placement:"auto",container:"body",trigger:"manual",html:!0,title:"",viewport:".cut-canvas",content:""};e.default={methods:{addTooltip:function(){var e=this,n=new Vue(l.default);this.originalAnnotation&&(n.originalTitle=this.originalAnnotation.title,n.originalDescription=this.originalAnnotation.description,n.originalTags=this.originalAnnotation.tags),n.$mount(t("<div>").get(0)),n.$on("close",function(){e.clear()}),n.$on("save",function(t){e.save(t)}),c.content=n.$el;var i=new a.default(this.getTooltipTarget()),o=r(i.node);o.popover(c).popover("show"),this.$on("drag:start",function(){o.popover("hide")}),this.$on("drag:end",function(){o.popover("show")}),o.on("shown.bs.popover",function(t){var e=o.data("bs.popover").$tip;e.find('input[name="title"]').focus()})},destroyTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("destroy")},hideTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("hide")},showTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("show")}}}}).call(e,n(1),n(1))},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(24),i=n(22),o=n(108),a=n(112),s="prototype",l=function(t,e,n){var c,f,u,h=t&l.F,p=t&l.G,d=t&l.S,g=t&l.P,v=t&l.B,m=t&l.W,y=p?i:i[e]||(i[e]={}),b=y[s],_=p?r:d?r[e]:(r[e]||{})[s];p&&(n=e);for(c in n)f=!h&&_&&void 0!==_[c],f&&c in y||(u=f?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:v&&f?o(u,r):m&&_[c]==u?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(u):g&&"function"==typeof u?o(Function.call,u):u,g&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&a(b,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(107);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(105),i=n(113),o=n(125),a=Object.defineProperty;e.f=n(17)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(44),i=n(42);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";function n(t){function e(){var t={};for(s.push(t);l<o.length;){var e=o[l];if(/^(\-\-\-|\+\+\+|@@)\s/.test(e))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(e);a&&(t.index=a[1]),l++}for(n(t),n(t),t.hunks=[];l<o.length;){var c=o[l];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))t.hunks.push(r());else{if(c&&i.strict)throw new Error("Unknown line "+(l+1)+" "+JSON.stringify(c));l++}}}function n(t){var e=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/,n=e.exec(o[l]);if(n){var r="---"===n[1]?"old":"new";t[r+"FileName"]=n[2],t[r+"Header"]=n[3],l++}}function r(){for(var t=l,e=o[l++],n=e.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),r={oldStart:+n[1],oldLines:+n[2]||1,newStart:+n[3],newLines:+n[4]||1,lines:[],linedelimiters:[]},s=0,c=0;l<o.length&&!(0===o[l].indexOf("--- ")&&l+2<o.length&&0===o[l+1].indexOf("+++ ")&&0===o[l+2].indexOf("@@"));l++){var f=o[l][0];if("+"!==f&&"-"!==f&&" "!==f&&"\\"!==f)break;r.lines.push(o[l]),r.linedelimiters.push(a[l]||"\n"),"+"===f?s++:"-"===f?c++:" "===f&&(s++,c++)}if(s||1!==r.newLines||(r.newLines=0),c||1!==r.oldLines||(r.oldLines=0),i.strict){if(s!==r.newLines)throw new Error("Added line count did not match for hunk at line "+(t+1));if(c!==r.oldLines)throw new Error("Removed line count did not match for hunk at line "+(t+1))}return r}for(var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=t.split(/\r\n|[\n\v\f\r\x85]/),a=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=[],l=0;l<o.length;)e();return s}e.__esModule=!0,e.parsePatch=n},function(t,e){"use strict";function n(t,e){if("function"==typeof t)e.callback=t;else if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}e.__esModule=!0,e.generateOptions=n},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./contexts/context":8,"./contexts/context.js":8,"./contexts/diff":9,"./contexts/diff.js":9,"./contexts/patch":10,"./contexts/patch.js":10,"./contexts/reverse":11,"./contexts/reverse.js":11,"./date-reviver":18,"./date-reviver.js":18,"./diffpatcher":28,"./diffpatcher.js":28,"./environment":12,"./environment.js":12,"./filters/arrays":29,"./filters/arrays.js":29,"./filters/dates":30,"./filters/dates.js":30,"./filters/lcs":31,"./filters/lcs.js":31,"./filters/nested":32,"./filters/nested.js":32,"./filters/texts":33,"./filters/texts.js":33,"./filters/trivial":34,"./filters/trivial.js":34,"./formatters/annotated":13,"./formatters/annotated.js":13,"./formatters/base":4,"./formatters/base.js":4,"./formatters/console":19,"./formatters/console.js":19,"./formatters/html":14,"./formatters/html.js":14,"./formatters/index":15,"./formatters/index.js":15,"./formatters/jsonpatch":16,"./formatters/jsonpatch.js":16,"./main":20,"./main-formatters":51,"./main-formatters.js":51,"./main-full":52,"./main-full.js":52,"./main.js":20,"./pipe":21,"./pipe.js":21,"./processor":35,"./processor.js":35};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=50},function(t,e,n){t.exports=n(15)},function(t,e,n){var r=n(12);r.isBrowser&&(window.diff_match_patch=n(27)),t.exports=n(20)},function(t,e,n){var r;(function(t,i){(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function l(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function u(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function p(t,e){var n=null==t?0:t.length;return!!n&&C(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function g(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function v(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function _(t){return t.split("")}function x(t){return t.match(Ie)||[]}function w(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function k(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function C(t,e,n){return e===e?Y(t,e,n):k(t,j,n)}function T(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function j(t){return t!==t}function $(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:Nt}function A(t){return function(e){return null==e?it:e[t]}}function S(t){return function(e){return null==t?it:t[e]}}function O(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function M(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function E(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==it&&(n=n===it?o:n+o)}return n}function P(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function N(t,e){return g(e,function(e){return[e,t[e]]})}function F(t){return function(e){return t(e)}}function R(t,e){return g(e,function(e){return t[e]})}function B(t,e){return t.has(e)}function D(t,e){for(var n=-1,r=t.length;++n<r&&C(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length;n--&&C(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function L(t){return"\\"+Yn[t]}function q(t,e){return null==t?it:t[e]}function V(t){return qn.test(t)}function H(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Z(t,e){return function(n){return t(e(n))}}function J(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==ut||(t[n]=ut,o[i++]=n)}return o}function G(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Y(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function K(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function Q(t){return V(t)?et(t):dr(t)}function tt(t){return V(t)?nt(t):_(t)}function et(t){for(var e=In.lastIndex=0;In.test(t);)++e;return e}function nt(t){return t.match(In)||[]}function rt(t){return t.match(Ln)||[]}var it,ot="4.16.6",at=200,st="Unsupported core-js use. Try https://github.com/es-shims.",lt="Expected a function",ct="__lodash_hash_undefined__",ft=500,ut="__lodash_placeholder__",ht=1,pt=2,dt=4,gt=8,vt=16,mt=32,yt=64,bt=128,_t=256,xt=512,wt=1,kt=2,Ct=30,Tt="...",jt=800,$t=16,At=1,St=2,Ot=3,Mt=1/0,Et=9007199254740991,Pt=1.7976931348623157e308,Nt=NaN,Ft=4294967295,Rt=Ft-1,Bt=Ft>>>1,Dt=[["ary",bt],["bind",ht],["bindKey",pt],["curry",gt],["curryRight",vt],["flip",xt],["partial",mt],["partialRight",yt],["rearg",_t]],zt="[object Arguments]",It="[object Array]",Lt="[object AsyncFunction]",qt="[object Boolean]",Vt="[object Date]",Ht="[object DOMException]",Ut="[object Error]",Wt="[object Function]",Zt="[object GeneratorFunction]",Jt="[object Map]",Gt="[object Number]",Xt="[object Null]",Yt="[object Object]",Kt="[object Promise]",Qt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",fe="[object Float64Array]",ue="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(xe.source),Ce=RegExp(we.source),Te=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,$e=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/^\./,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Ee.source),Ne=/^\s+|\s+$/g,Fe=/^\s+/,Re=/\s+$/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Ie=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xe=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",Qe="\\u0300-\\u036f\\ufe20-\\ufe23",tn="\\u20d0-\\u20f0",en="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",on="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",cn="\\ufe0e\\ufe0f",fn=rn+on+an+sn,un="['’]",hn="["+Ke+"]",pn="["+fn+"]",dn="["+Qe+tn+"]",gn="\\d+",vn="["+en+"]",mn="["+nn+"]",yn="[^"+Ke+fn+gn+en+nn+ln+"]",bn="\\ud83c[\\udffb-\\udfff]",_n="(?:"+dn+"|"+bn+")",xn="[^"+Ke+"]",wn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+ln+"]",Tn="\\u200d",jn="(?:"+mn+"|"+yn+")",$n="(?:"+Cn+"|"+yn+")",An="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",On=_n+"?",Mn="["+cn+"]?",En="(?:"+Tn+"(?:"+[xn,wn,kn].join("|")+")"+Mn+On+")*",Pn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Nn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Fn=Mn+On+En,Rn="(?:"+[vn,wn,kn].join("|")+")"+Fn,Bn="(?:"+[xn+dn+"?",dn,wn,kn,hn].join("|")+")",Dn=RegExp(un,"g"),zn=RegExp(dn,"g"),In=RegExp(bn+"(?="+bn+")|"+Bn+Fn,"g"),Ln=RegExp([Cn+"?"+mn+"+"+An+"(?="+[pn,Cn,"$"].join("|")+")",$n+"+"+Sn+"(?="+[pn,Cn+jn,"$"].join("|")+")",Cn+"?"+jn+"+"+An,Cn+"+"+Sn,Nn,Pn,gn,Rn].join("|"),"g"),qn=RegExp("["+Tn+Ke+Qe+tn+cn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,Wn={};Wn[ce]=Wn[fe]=Wn[ue]=Wn[he]=Wn[pe]=Wn[de]=Wn[ge]=Wn[ve]=Wn[me]=!0,Wn[zt]=Wn[It]=Wn[se]=Wn[qt]=Wn[le]=Wn[Vt]=Wn[Ut]=Wn[Wt]=Wn[Jt]=Wn[Gt]=Wn[Yt]=Wn[te]=Wn[ee]=Wn[ne]=Wn[oe]=!1;var Zn={};Zn[zt]=Zn[It]=Zn[se]=Zn[le]=Zn[qt]=Zn[Vt]=Zn[ce]=Zn[fe]=Zn[ue]=Zn[he]=Zn[pe]=Zn[Jt]=Zn[Gt]=Zn[Yt]=Zn[te]=Zn[ee]=Zn[ne]=Zn[re]=Zn[de]=Zn[ge]=Zn[ve]=Zn[me]=!0,Zn[Ut]=Zn[Wt]=Zn[oe]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Xn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kn=parseFloat,Qn=parseInt,tr="object"==typeof t&&t&&t.Object===Object&&t,er="object"==typeof self&&self&&self.Object===Object&&self,nr=tr||er||Function("return this")(),rr="object"==typeof e&&e&&!e.nodeType&&e,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,or=ir&&ir.exports===rr,ar=or&&tr.process,sr=function(){try{return ar&&ar.binding("util")}catch(t){}}(),lr=sr&&sr.isArrayBuffer,cr=sr&&sr.isDate,fr=sr&&sr.isMap,ur=sr&&sr.isRegExp,hr=sr&&sr.isSet,pr=sr&&sr.isTypedArray,dr=A("length"),gr=S(Jn),vr=S(Gn),mr=S(Xn),yr=function t(e){function n(t){if(rl(t)&&!gh(t)&&!(t instanceof _)){if(t instanceof i)return t;if(gf.call(t,"__wrapped__"))return ta(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ft,this.__views__=[]}function S(){var t=new _(this.__wrapped__);return t.__actions__=Bi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Bi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Bi(this.__views__),t}function Y(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=gh(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,f=this.__iteratees__,u=f.length,h=0,p=Uf(l,this.__takeCount__);if(!n||i<at||i==l&&p==l)return yi(t,this.__actions__);var d=[];t:for(;l--&&h<p;){c+=e;for(var g=-1,v=t[c];++g<u;){var m=f[g],y=m.iteratee,b=m.type,_=y(v);if(b==St)v=_;else if(!_){if(b==At)continue t;break t}}d[h++]=v}return d}function nt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ie(){this.__data__=eu?eu(null):{},this.size=0}function Ke(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Qe(t){var e=this.__data__;if(eu){var n=e[t];return n===ct?it:n}return gf.call(e,t)?e[t]:it}function tn(t){var e=this.__data__;return eu?e[t]!==it:gf.call(e,t)}function en(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=eu&&e===it?ct:e,this}function nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rn(){this.__data__=[],this.size=0}function on(t){var e=this.__data__,n=Mn(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Sf.call(e,n,1),--this.size,!0}function an(t){var e=this.__data__,n=Mn(e,t);return n<0?it:e[n][1]}function sn(t){return Mn(this.__data__,t)>-1}function ln(t,e){var n=this.__data__,r=Mn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function fn(){this.size=0,this.__data__={hash:new nt,map:new(Yf||nn),string:new nt}}function un(t){var e=bo(this,t).delete(t);return this.size-=e?1:0,e}function hn(t){return bo(this,t).get(t)}function pn(t){return bo(this,t).has(t)}function dn(t,e){var n=bo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new cn;++e<n;)this.add(t[e])}function vn(t){return this.__data__.set(t,ct),this}function mn(t){return this.__data__.has(t)}function yn(t){var e=this.__data__=new nn(t);this.size=e.size}function bn(){this.__data__=new nn,this.size=0}function _n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function xn(t){return this.__data__.get(t)}function wn(t){return this.__data__.has(t)}function kn(t,e){var n=this.__data__;if(n instanceof nn){var r=n.__data__;if(!Yf||r.length<at-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new cn(r)}return n.set(t,e),this.size=n.size,this}function Cn(t,e){var n=gh(t),r=!n&&dh(t),i=!n&&!r&&mh(t),o=!n&&!r&&!i&&wh(t),a=n||r||i||o,s=a?P(t.length,lf):[],l=s.length;for(var c in t)!e&&!gf.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Mo(c,l))||s.push(c);return s}function Tn(t){var e=t.length;return e?t[Qr(0,e-1)]:it}function jn(t,e){return Xo(Bi(t),Rn(e,0,t.length))}function $n(t){return Xo(Bi(t))}function An(t,e,n,r){return t===it||Vs(t,hf[n])&&!gf.call(r,n)?e:t}function Sn(t,e,n){(n===it||Vs(t[e],n))&&(n!==it||e in t)||Nn(t,e,n)}function On(t,e,n){var r=t[e];gf.call(t,e)&&Vs(r,n)&&(n!==it||e in t)||Nn(t,e,n)}function Mn(t,e){for(var n=t.length;n--;)if(Vs(t[n][0],e))return n;return-1}function En(t,e,n,r){return pu(t,function(t,i,o){e(r,t,n(t),o)}),r}function Pn(t,e){return t&&Di(e,Dl(e),t)}function Nn(t,e,n){"__proto__"==e&&Pf?Pf(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,i=tf(r),o=null==t;++n<r;)i[n]=o?it:Fl(t,e[n]);return i}function Rn(t,e,n){return t===t&&(n!==it&&(t=t<=n?t:n),e!==it&&(t=t>=e?t:e)),t}function Bn(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==it)return s;if(!nl(t))return t;var l=gh(t);if(l){if(s=jo(t),!e)return Bi(t,s)}else{var f=Tu(t),u=f==Wt||f==Zt;if(mh(t))return Ti(t,e);if(f==Yt||f==zt||u&&!o){if(s=$o(u?{}:t),!e)return zi(t,Pn(s,t))}else{if(!Zn[f])return o?t:{};s=Ao(t,f,Bn,e)}}a||(a=new yn);var h=a.get(t);if(h)return h;a.set(t,s);var p=l?it:(n?po:Dl)(t);return c(p||t,function(i,o){
 p&&(o=i,i=t[o]),On(s,o,Bn(i,e,n,r,o,t,a))}),s}function In(t){var e=Dl(t);return function(n){return Ln(n,t,e)}}function Ln(t,e,n){var r=n.length;if(null==t)return!r;for(t=af(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function qn(t,e,n){if("function"!=typeof t)throw new cf(lt);return Au(function(){t.apply(it,n)},e)}function Vn(t,e,n,r){var i=-1,o=p,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=g(e,F(n))),r?(o=d,a=!1):e.length>=at&&(o=B,a=!1,e=new gn(e));t:for(;++i<s;){var f=t[i],u=null==n?f:n(f);if(f=r||0!==f?f:0,a&&u===u){for(var h=c;h--;)if(e[h]===u)continue t;l.push(f)}else o(e,u,r)||l.push(f)}return l}function Jn(t,e){var n=!0;return pu(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Gn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(s===it?a===a&&!dl(a):n(a,s)))var s=a,l=o}return l}function Xn(t,e,n,r){var i=t.length;for(n=_l(n),n<0&&(n=-n>i?0:i+n),r=r===it||r>i?i:_l(r),r<0&&(r+=i),r=n>r?0:xl(r);n<r;)t[n++]=e;return t}function Yn(t,e){var n=[];return pu(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function tr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=Oo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?tr(s,e-1,n,r,i):v(i,s):r||(i[i.length]=s)}return i}function er(t,e){return t&&gu(t,e,Dl)}function rr(t,e){return t&&vu(t,e,Dl)}function ir(t,e){return h(e,function(e){return Qs(t[e])})}function ar(t,e){e=Po(e,t)?[e]:ki(e);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Yo(e[n++])];return n&&n==r?t:it}function sr(t,e,n){var r=e(t);return gh(t)?r:v(r,n(t))}function dr(t){return null==t?t===it?ie:Xt:(t=af(t),Ef&&Ef in t?wo(t):Ho(t))}function yr(t,e){return t>e}function _r(t,e){return null!=t&&gf.call(t,e)}function xr(t,e){return null!=t&&e in af(t)}function wr(t,e,n){return t>=Uf(e,n)&&t<Hf(e,n)}function kr(t,e,n){for(var r=n?d:p,i=t[0].length,o=t.length,a=o,s=tf(o),l=1/0,c=[];a--;){var f=t[a];a&&e&&(f=g(f,F(e))),l=Uf(f.length,l),s[a]=!n&&(e||i>=120&&f.length>=120)?new gn(a&&f):it}f=t[0];var u=-1,h=s[0];t:for(;++u<i&&c.length<l;){var v=f[u],m=e?e(v):v;if(v=n||0!==v?v:0,!(h?B(h,m):r(c,m,n))){for(a=o;--a;){var y=s[a];if(!(y?B(y,m):r(t[a],m,n)))continue t}h&&h.push(m),c.push(v)}}return c}function Cr(t,e,n,r){return er(t,function(t,i,o){e(r,n(t),i,o)}),r}function Tr(t,e,n){Po(e,t)||(e=ki(e),t=Wo(t,e),e=ba(e));var r=null==t?t:t[Yo(e)];return null==r?it:s(r,t,n)}function jr(t){return rl(t)&&dr(t)==zt}function $r(t){return rl(t)&&dr(t)==se}function Ar(t){return rl(t)&&dr(t)==Vt}function Sr(t,e,n,r,i){return t===e||(null==t||null==e||!nl(t)&&!rl(e)?t!==t&&e!==e:Or(t,e,Sr,n,r,i))}function Or(t,e,n,r,i,o){var a=gh(t),s=gh(e),l=It,c=It;a||(l=Tu(t),l=l==zt?Yt:l),s||(c=Tu(e),c=c==zt?Yt:c);var f=l==Yt,u=c==Yt,h=l==c;if(h&&mh(t)){if(!mh(e))return!1;a=!0,f=!1}if(h&&!f)return o||(o=new yn),a||wh(t)?co(t,e,n,r,i,o):fo(t,e,l,n,r,i,o);if(!(i&kt)){var p=f&&gf.call(t,"__wrapped__"),d=u&&gf.call(e,"__wrapped__");if(p||d){var g=p?t.value():t,v=d?e.value():e;return o||(o=new yn),n(g,v,r,i,o)}}return!!h&&(o||(o=new yn),uo(t,e,n,r,i,o))}function Mr(t){return rl(t)&&Tu(t)==Jt}function Er(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=af(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){s=n[i];var l=s[0],c=t[l],f=s[1];if(a&&s[2]){if(c===it&&!(l in t))return!1}else{var u=new yn;if(r)var h=r(c,f,l,t,e,u);if(!(h===it?Sr(f,c,r,wt|kt,u):h))return!1}}return!0}function Pr(t){if(!nl(t)||Ro(t))return!1;var e=Qs(t)?xf:We;return e.test(Ko(t))}function Nr(t){return rl(t)&&dr(t)==te}function Fr(t){return rl(t)&&Tu(t)==ee}function Rr(t){return rl(t)&&el(t.length)&&!!Wn[dr(t)]}function Br(t){return"function"==typeof t?t:null==t?Ac:"object"==typeof t?gh(t)?Vr(t[0],t[1]):qr(t):Rc(t)}function Dr(t){if(!Bo(t))return Vf(t);var e=[];for(var n in af(t))gf.call(t,n)&&"constructor"!=n&&e.push(n);return e}function zr(t){if(!nl(t))return Vo(t);var e=Bo(t),n=[];for(var r in t)("constructor"!=r||!e&&gf.call(t,r))&&n.push(r);return n}function Ir(t,e){return t<e}function Lr(t,e){var n=-1,r=Hs(t)?tf(t.length):[];return pu(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function qr(t){var e=_o(t);return 1==e.length&&e[0][2]?zo(e[0][0],e[0][1]):function(n){return n===t||Er(n,t,e)}}function Vr(t,e){return Po(t)&&Do(e)?zo(Yo(t),e):function(n){var r=Fl(n,t);return r===it&&r===e?Bl(n,t):Sr(e,r,it,wt|kt)}}function Hr(t,e,n,r,i){t!==e&&gu(e,function(o,a){if(nl(o))i||(i=new yn),Ur(t,e,a,n,Hr,r,i);else{var s=r?r(t[a],o,a+"",t,e,i):it;s===it&&(s=o),Sn(t,a,s)}},zl)}function Ur(t,e,n,r,i,o,a){var s=t[n],l=e[n],c=a.get(l);if(c)return void Sn(t,n,c);var f=o?o(s,l,n+"",t,e,a):it,u=f===it;if(u){var h=gh(l),p=!h&&mh(l),d=!h&&!p&&wh(l);f=l,h||p||d?gh(s)?f=s:Us(s)?f=Bi(s):p?(u=!1,f=Ti(l,!0)):d?(u=!1,f=Ei(l,!0)):f=[]:ul(l)||dh(l)?(f=s,dh(s)?f=kl(s):(!nl(s)||r&&Qs(s))&&(f=$o(l))):u=!1}u&&(a.set(l,f),i(f,l,r,o,a),a.delete(l)),Sn(t,n,f)}function Wr(t,e){var n=t.length;if(n)return e+=e<0?n:0,Mo(e,n)?t[e]:it}function Zr(t,e,n){var r=-1;e=g(e.length?e:[Ac],F(yo()));var i=Lr(t,function(t,n,i){var o=g(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return M(i,function(t,e){return Ni(t,e,n)})}function Jr(t,e){return t=af(t),Gr(t,e,function(e,n){return n in t})}function Gr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=t[a];n(s,a)&&Nn(o,a,s)}return o}function Xr(t){return function(e){return ar(e,t)}}function Yr(t,e,n,r){var i=r?T:C,o=-1,a=e.length,s=t;for(t===e&&(e=Bi(e)),n&&(s=g(t,F(n)));++o<a;)for(var l=0,c=e[o],f=n?n(c):c;(l=i(s,f,l,r))>-1;)s!==t&&Sf.call(s,l,1),Sf.call(t,l,1);return t}function Kr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;if(Mo(i))Sf.call(t,i,1);else if(Po(i,t))delete t[Yo(i)];else{var a=ki(i),s=Wo(t,a);null!=s&&delete s[Yo(ba(a))]}}}return t}function Qr(t,e){return t+Df(Jf()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=Hf(Bf((e-t)/(n||1)),0),a=tf(o);o--;)a[r?o:++i]=t,t+=n;return a}function ei(t,e){var n="";if(!t||e<1||e>Et)return n;do e%2&&(n+=t),e=Df(e/2),e&&(t+=t);while(e);return n}function ni(t,e){return Su(Uo(t,e,Ac),t+"")}function ri(t){return Tn(Yl(t))}function ii(t,e){var n=Yl(t);return Xo(n,Rn(e,0,n.length))}function oi(t,e,n,r){if(!nl(t))return t;e=Po(e,t)?[e]:ki(e);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++i<o;){var l=Yo(e[i]),c=n;if(i!=a){var f=s[l];c=r?r(f,l,s):it,c===it&&(c=nl(f)?f:Mo(e[i+1])?[]:{})}On(s,l,c),s=s[l]}return t}function ai(t){return Xo(Yl(t))}function si(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=tf(i);++r<i;)o[r]=t[r+e];return o}function li(t,e){var n;return pu(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function ci(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=Bt){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!dl(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return fi(t,e,Ac,n)}function fi(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!==e,s=null===e,l=dl(e),c=e===it;i<o;){var f=Df((i+o)/2),u=n(t[f]),h=u!==it,p=null===u,d=u===u,g=dl(u);if(a)var v=r||d;else v=c?d&&(r||h):s?d&&h&&(r||!p):l?d&&h&&!p&&(r||!g):!p&&!g&&(r?u<=e:u<e);v?i=f+1:o=f}return Uf(o,Rt)}function ui(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Vs(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function hi(t){return"number"==typeof t?t:dl(t)?Nt:+t}function pi(t){if("string"==typeof t)return t;if(gh(t))return g(t,pi)+"";if(dl(t))return uu?uu.call(t):"";var e=t+"";return"0"==e&&1/t==-Mt?"-0":e}function di(t,e,n){var r=-1,i=p,o=t.length,a=!0,s=[],l=s;if(n)a=!1,i=d;else if(o>=at){var c=e?null:xu(t);if(c)return G(c);a=!1,i=B,l=new gn}else l=e?[]:s;t:for(;++r<o;){var f=t[r],u=e?e(f):f;if(f=n||0!==f?f:0,a&&u===u){for(var h=l.length;h--;)if(l[h]===u)continue t;e&&l.push(u),s.push(f)}else i(l,u,n)||(l!==s&&l.push(u),s.push(f))}return s}function gi(t,e){e=Po(e,t)?[e]:ki(e),t=Wo(t,e);var n=Yo(ba(e));return!(null!=t&&gf.call(t,n))||delete t[n]}function vi(t,e,n,r){return oi(t,e,n(ar(t,e)),r)}function mi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?si(t,r?0:o,r?o+1:i):si(t,r?o+1:0,r?i:o)}function yi(t,e){var n=t;return n instanceof _&&(n=n.value()),m(e,function(t,e){return e.func.apply(e.thisArg,v([t],e.args))},n)}function bi(t,e,n){var r=t.length;if(r<2)return r?di(t[0]):[];for(var i=-1,o=tf(r);++i<r;)for(var a=t[i],s=-1;++s<r;)s!=i&&(o[i]=Vn(o[i]||a,t[s],e,n));return di(tr(o,1),e,n)}function _i(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:it;n(a,t[r],s)}return a}function xi(t){return Us(t)?t:[]}function wi(t){return"function"==typeof t?t:Ac}function ki(t){return gh(t)?t:Ou(t)}function Ci(t,e,n){var r=t.length;return n=n===it?r:n,!e&&n>=r?t:si(t,e,n)}function Ti(t,e){if(e)return t.slice();var n=t.length,r=Tf?Tf(n):new t.constructor(n);return t.copy(r),r}function ji(t){var e=new t.constructor(t.byteLength);return new Cf(e).set(new Cf(t)),e}function $i(t,e){var n=e?ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ai(t,e,n){var r=e?n(W(t),!0):W(t);return m(r,o,new t.constructor)}function Si(t){var e=new t.constructor(t.source,Ve.exec(t));return e.lastIndex=t.lastIndex,e}function Oi(t,e,n){var r=e?n(G(t),!0):G(t);return m(r,a,new t.constructor)}function Mi(t){return fu?af(fu.call(t)):{}}function Ei(t,e){var n=e?ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Pi(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=dl(t),a=e!==it,s=null===e,l=e===e,c=dl(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function Ni(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var l=Pi(i[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return t.index-e.index}function Fi(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,l=e.length,c=Hf(o-a,0),f=tf(l+c),u=!r;++s<l;)f[s]=e[s];for(;++i<a;)(u||i<o)&&(f[n[i]]=t[i]);for(;c--;)f[s++]=t[i++];return f}function Ri(t,e,n,r){for(var i=-1,o=t.length,a=-1,s=n.length,l=-1,c=e.length,f=Hf(o-s,0),u=tf(f+c),h=!r;++i<f;)u[i]=t[i];for(var p=i;++l<c;)u[p+l]=e[l];for(;++a<s;)(h||i<o)&&(u[p+n[a]]=t[i++]);return u}function Bi(t,e){var n=-1,r=t.length;for(e||(e=tf(r));++n<r;)e[n]=t[n];return e}function Di(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=r?r(n[s],t[s],s,n,t):it;l===it&&(l=t[s]),i?Nn(n,s,l):On(n,s,l)}return n}function zi(t,e){return Di(t,ku(t),e)}function Ii(t,e){return function(n,r){var i=gh(n)?l:En,o=e?e():{};return i(n,t,yo(r,2),o)}}function Li(t){return ni(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Eo(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=af(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e})}function qi(t,e){return function(n,r){if(null==n)return n;if(!Hs(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=af(n);(e?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function Vi(t){return function(e,n,r){for(var i=-1,o=af(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(n(o[l],l,o)===!1)break}return e}}function Hi(t,e,n){function r(){var e=this&&this!==nr&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e&ht,o=Zi(t);return r}function Ui(t){return function(e){e=Tl(e);var n=V(e)?tt(e):it,r=n?n[0]:e.charAt(0),i=n?Ci(n,1).join(""):e.slice(1);return r[t]()+i}}function Wi(t){return function(e){return m(kc(rc(e).replace(Dn,"")),t,"")}}function Zi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=hu(t.prototype),r=t.apply(n,e);return nl(r)?r:n}}function Ji(t,e,n){function r(){for(var o=arguments.length,a=tf(o),l=o,c=mo(r);l--;)a[l]=arguments[l];var f=o<3&&a[0]!==c&&a[o-1]!==c?[]:J(a,c);if(o-=f.length,o<n)return oo(t,e,Yi,r.placeholder,it,a,f,it,it,n-o);var u=this&&this!==nr&&this instanceof r?i:t;return s(u,this,a)}var i=Zi(t);return r}function Gi(t){return function(e,n,r){var i=af(e);if(!Hs(e)){var o=yo(n,3);e=Dl(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:it}}function Xi(t){return ho(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new cf(lt);if(o&&!s&&"wrapper"==vo(a))var s=new i([],!0)}for(r=s?r:n;++r<n;){a=e[r];var l=vo(a),c="wrapper"==l?wu(a):it;s=c&&Fo(c[0])&&c[1]==(bt|gt|mt|_t)&&!c[4].length&&1==c[9]?s[vo(c[0])].apply(s,c[3]):1==a.length&&Fo(a)?s[l]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&gh(r)&&r.length>=at)return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Yi(t,e,n,r,i,o,a,s,l,c){function f(){for(var m=arguments.length,y=tf(m),b=m;b--;)y[b]=arguments[b];if(d)var _=mo(f),x=I(y,_);if(r&&(y=Fi(y,r,i,d)),o&&(y=Ri(y,o,a,d)),m-=x,d&&m<c){var w=J(y,_);return oo(t,e,Yi,f.placeholder,n,y,w,s,l,c-m)}var k=h?n:this,C=p?k[t]:t;return m=y.length,s?y=Zo(y,s):g&&m>1&&y.reverse(),u&&l<m&&(y.length=l),this&&this!==nr&&this instanceof f&&(C=v||Zi(C)),C.apply(k,y)}var u=e&bt,h=e&ht,p=e&pt,d=e&(gt|vt),g=e&xt,v=p?it:Zi(t);return f}function Ki(t,e){return function(n,r){return Cr(n,t,e(r),{})}}function Qi(t,e){return function(n,r){var i;if(n===it&&r===it)return e;if(n!==it&&(i=n),r!==it){if(i===it)return r;"string"==typeof n||"string"==typeof r?(n=pi(n),r=pi(r)):(n=hi(n),r=hi(r)),i=t(n,r)}return i}}function to(t){return ho(function(e){return e=g(e,F(yo())),ni(function(n){var r=this;return t(e,function(t){return s(t,r,n)})})})}function eo(t,e){e=e===it?" ":pi(e);var n=e.length;if(n<2)return n?ei(e,t):e;var r=ei(e,Bf(t/Q(e)));return V(e)?Ci(tt(r),0,t).join(""):r.slice(0,t)}function no(t,e,n,r){function i(){for(var e=-1,l=arguments.length,c=-1,f=r.length,u=tf(f+l),h=this&&this!==nr&&this instanceof i?a:t;++c<f;)u[c]=r[c];for(;l--;)u[c++]=arguments[++e];return s(h,o?n:this,u)}var o=e&ht,a=Zi(t);return i}function ro(t){return function(e,n,r){return r&&"number"!=typeof r&&Eo(e,n,r)&&(n=r=it),e=bl(e),n===it?(n=e,e=0):n=bl(n),r=r===it?e<n?1:-1:bl(r),ti(e,n,r,t)}}function io(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=wl(e),n=wl(n)),t(e,n)}}function oo(t,e,n,r,i,o,a,s,l,c){var f=e&gt,u=f?a:it,h=f?it:a,p=f?o:it,d=f?it:o;e|=f?mt:yt,e&=~(f?yt:mt),e&dt||(e&=~(ht|pt));var g=[t,e,i,p,u,d,h,s,l,c],v=n.apply(it,g);return Fo(t)&&$u(v,g),v.placeholder=r,Jo(v,t,e)}function ao(t){var e=of[t];return function(t,n){if(t=wl(t),n=Uf(_l(n),292)){var r=(Tl(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Tl(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function so(t){return function(e){var n=Tu(e);return n==Jt?W(e):n==ee?X(e):N(e,t(e))}}function lo(t,e,n,r,i,o,a,s){var l=e&pt;if(!l&&"function"!=typeof t)throw new cf(lt);var c=r?r.length:0;if(c||(e&=~(mt|yt),r=i=it),a=a===it?a:Hf(_l(a),0),s=s===it?s:_l(s),c-=i?i.length:0,e&yt){var f=r,u=i;r=i=it}var h=l?it:wu(t),p=[t,e,n,r,i,f,u,o,a,s];if(h&&Lo(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],s=p[9]=null==p[9]?l?0:t.length:Hf(p[9]-c,0),!s&&e&(gt|vt)&&(e&=~(gt|vt)),e&&e!=ht)d=e==gt||e==vt?Ji(t,e,s):e!=mt&&e!=(ht|mt)||i.length?Yi.apply(it,p):no(t,e,n,r);else var d=Hi(t,e,n);var g=h?mu:$u;return Jo(g(d,p),t,e)}function co(t,e,n,r,i,o){var a=i&kt,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var f=-1,u=!0,h=i&wt?new gn:it;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],d=e[f];if(r)var g=a?r(d,p,f,e,t,o):r(p,d,f,t,e,o);if(g!==it){if(g)continue;u=!1;break}if(h){if(!b(e,function(t,e){if(!B(h,e)&&(p===t||n(p,t,r,i,o)))return h.push(e)})){u=!1;break}}else if(p!==d&&!n(p,d,r,i,o)){u=!1;break}}return o.delete(t),o.delete(e),u}function fo(t,e,n,r,i,o,a){switch(n){case le:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case se:return!(t.byteLength!=e.byteLength||!r(new Cf(t),new Cf(e)));case qt:case Vt:case Gt:return Vs(+t,+e);case Ut:return t.name==e.name&&t.message==e.message;case te:case ne:return t==e+"";case Jt:var s=W;case ee:var l=o&kt;if(s||(s=G),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;o|=wt,a.set(t,e);var f=co(s(t),s(e),r,i,o,a);return a.delete(t),f;case re:if(fu)return fu.call(t)==fu.call(e)}return!1}function uo(t,e,n,r,i,o){var a=i&kt,s=Dl(t),l=s.length,c=Dl(e),f=c.length;if(l!=f&&!a)return!1;for(var u=l;u--;){var h=s[u];if(!(a?h in e:gf.call(e,h)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var d=!0;o.set(t,e),o.set(e,t);for(var g=a;++u<l;){h=s[u];var v=t[h],m=e[h];if(r)var y=a?r(m,v,h,e,t,o):r(v,m,h,t,e,o);if(!(y===it?v===m||n(v,m,r,i,o):y)){d=!1;break}g||(g="constructor"==h)}if(d&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(d=!1)}return o.delete(t),o.delete(e),d}function ho(t){return Su(Uo(t,it,ua),t+"")}function po(t){return sr(t,Dl,ku)}function go(t){return sr(t,zl,Cu)}function vo(t){for(var e=t.name+"",n=ru[e],r=gf.call(ru,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function mo(t){var e=gf.call(n,"placeholder")?n:t;return e.placeholder}function yo(){var t=n.iteratee||Sc;return t=t===Sc?Br:t,arguments.length?t(arguments[0],arguments[1]):t}function bo(t,e){var n=t.__data__;return No(e)?n["string"==typeof e?"string":"hash"]:n.map}function _o(t){for(var e=Dl(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Do(i)]}return e}function xo(t,e){var n=q(t,e);return Pr(n)?n:it}function wo(t){var e=gf.call(t,Ef),n=t[Ef];try{t[Ef]=it;var r=!0}catch(t){}var i=yf.call(t);return r&&(e?t[Ef]=n:delete t[Ef]),i}function ko(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Uf(e,t+a);break;case"takeRight":t=Hf(t,e-a)}}return{start:t,end:e}}function Co(t){var e=t.match(De);return e?e[1].split(ze):[]}function To(t,e,n){e=Po(e,t)?[e]:ki(e);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Yo(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&el(i)&&Mo(a,i)&&(gh(t)||dh(t)))}function jo(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&gf.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function $o(t){return"function"!=typeof t.constructor||Bo(t)?{}:hu(jf(t))}function Ao(t,e,n,r){var i=t.constructor;switch(e){case se:return ji(t);case qt:case Vt:return new i(+t);case le:return $i(t,r);case ce:case fe:case ue:case he:case pe:case de:case ge:case ve:case me:return Ei(t,r);case Jt:return Ai(t,r,n);case Gt:case ne:return new i(t);case te:return Si(t);case ee:return Oi(t,r,n);case re:return Mi(t)}}function So(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Be,"{\n/* [wrapped with "+e+"] */\n")}function Oo(t){return gh(t)||dh(t)||!!(Of&&t&&t[Of])}function Mo(t,e){return e=null==e?Et:e,!!e&&("number"==typeof t||Je.test(t))&&t>-1&&t%1==0&&t<e}function Eo(t,e,n){if(!nl(n))return!1;var r=typeof e;return!!("number"==r?Hs(n)&&Mo(e,n.length):"string"==r&&e in n)&&Vs(n[e],t)}function Po(t,e){if(gh(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!dl(t))||(Se.test(t)||!Ae.test(t)||null!=e&&t in af(e))}function No(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Fo(t){var e=vo(t),r=n[e];if("function"!=typeof r||!(e in _.prototype))return!1;if(t===r)return!0;var i=wu(r);return!!i&&t===i[0]}function Ro(t){return!!mf&&mf in t}function Bo(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||hf;return t===n}function Do(t){return t===t&&!nl(t)}function zo(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==it||t in af(n)))}}function Io(t){var e=Ss(t,function(t){return n.size===ft&&n.clear(),t}),n=e.cache;return e}function Lo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(ht|pt|bt),a=r==bt&&n==gt||r==bt&&n==_t&&t[7].length<=e[8]||r==(bt|_t)&&e[7].length<=e[8]&&n==gt;if(!o&&!a)return t;r&ht&&(t[2]=e[2],i|=n&ht?0:dt);var s=e[3];if(s){var l=t[3];t[3]=l?Fi(l,s,e[4]):s,t[4]=l?J(t[3],ut):e[4]}return s=e[5],s&&(l=t[5],t[5]=l?Ri(l,s,e[6]):s,t[6]=l?J(t[5],ut):e[6]),s=e[7],s&&(t[7]=s),r&bt&&(t[8]=null==t[8]?e[8]:Uf(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function qo(t,e,n,r,i,o){return nl(t)&&nl(e)&&(o.set(e,t),Hr(t,e,it,qo,o),o.delete(e)),t}function Vo(t){var e=[];if(null!=t)for(var n in af(t))e.push(n);return e}function Ho(t){return yf.call(t)}function Uo(t,e,n){return e=Hf(e===it?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Hf(r.length-e,0),a=tf(o);++i<o;)a[i]=r[e+i];i=-1;for(var l=tf(e+1);++i<e;)l[i]=r[i];return l[e]=n(a),s(t,this,l)}}function Wo(t,e){return 1==e.length?t:ar(t,si(e,0,-1))}function Zo(t,e){for(var n=t.length,r=Uf(e.length,n),i=Bi(t);r--;){var o=e[r];t[r]=Mo(o,n)?i[o]:it}return t}function Jo(t,e,n){var r=e+"";return Su(t,So(r,Qo(Co(r),n)))}function Go(t){var e=0,n=0;return function(){var r=Wf(),i=$t-(r-n);if(n=r,i>0){if(++e>=jt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Xo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n<e;){var o=Qr(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Yo(t){if("string"==typeof t||dl(t))return t;var e=t+"";return"0"==e&&1/t==-Mt?"-0":e}function Ko(t){if(null!=t){try{return df.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Qo(t,e){return c(Dt,function(n){var r="_."+n[0];e&n[1]&&!p(t,r)&&t.push(r)}),t.sort()}function ta(t){if(t instanceof _)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=Bi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ea(t,e,n){e=(n?Eo(t,e,n):e===it)?1:Hf(_l(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=tf(Bf(r/e));i<r;)a[o++]=si(t,i,i+=e);return a}function na(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function ra(){var t=arguments.length;if(!t)return[];for(var e=tf(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return v(gh(n)?Bi(n):[n],tr(e,1))}function ia(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:_l(e),si(t,e<0?0:e,r)):[]}function oa(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:_l(e),e=r-e,si(t,0,e<0?0:e)):[]}function aa(t,e){return t&&t.length?mi(t,yo(e,3),!0,!0):[]}function sa(t,e){return t&&t.length?mi(t,yo(e,3),!0):[]}function la(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Eo(t,e,n)&&(n=0,r=i),Xn(t,e,n,r)):[]}function ca(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:_l(n);return i<0&&(i=Hf(r+i,0)),k(t,yo(e,3),i)}function fa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==it&&(i=_l(n),i=n<0?Hf(r+i,0):Uf(i,r-1)),k(t,yo(e,3),i,!0)}function ua(t){var e=null==t?0:t.length;return e?tr(t,1):[]}function ha(t){var e=null==t?0:t.length;return e?tr(t,Mt):[]}function pa(t,e){var n=null==t?0:t.length;return n?(e=e===it?1:_l(e),tr(t,e)):[]}function da(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function ga(t){return t&&t.length?t[0]:it}function va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:_l(n);return i<0&&(i=Hf(r+i,0)),C(t,e,i)}function ma(t){var e=null==t?0:t.length;return e?si(t,0,-1):[]}function ya(t,e){return null==t?"":qf.call(t,e)}function ba(t){var e=null==t?0:t.length;return e?t[e-1]:it}function _a(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==it&&(i=_l(n),i=i<0?Hf(r+i,0):Uf(i,r-1)),e===e?K(t,e,i):k(t,j,i,!0)}function xa(t,e){return t&&t.length?Wr(t,_l(e)):it}function wa(t,e){return t&&t.length&&e&&e.length?Yr(t,e):t}function ka(t,e,n){return t&&t.length&&e&&e.length?Yr(t,e,yo(n,2)):t}function Ca(t,e,n){return t&&t.length&&e&&e.length?Yr(t,e,it,n):t}function Ta(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=yo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Kr(t,i),n}function ja(t){return null==t?t:Gf.call(t)}function $a(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Eo(t,e,n)?(e=0,n=r):(e=null==e?0:_l(e),n=n===it?r:_l(n)),si(t,e,n)):[]}function Aa(t,e){return ci(t,e)}function Sa(t,e,n){return fi(t,e,yo(n,2))}function Oa(t,e){var n=null==t?0:t.length;if(n){var r=ci(t,e);if(r<n&&Vs(t[r],e))return r}return-1}function Ma(t,e){return ci(t,e,!0)}function Ea(t,e,n){return fi(t,e,yo(n,2),!0)}function Pa(t,e){var n=null==t?0:t.length;if(n){var r=ci(t,e,!0)-1;if(Vs(t[r],e))return r}return-1}function Na(t){return t&&t.length?ui(t):[]}function Fa(t,e){return t&&t.length?ui(t,yo(e,2)):[]}function Ra(t){var e=null==t?0:t.length;return e?si(t,1,e):[]}function Ba(t,e,n){return t&&t.length?(e=n||e===it?1:_l(e),si(t,0,e<0?0:e)):[]}function Da(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:_l(e),e=r-e,si(t,e<0?0:e,r)):[]}function za(t,e){return t&&t.length?mi(t,yo(e,3),!1,!0):[]}function Ia(t,e){return t&&t.length?mi(t,yo(e,3)):[]}function La(t){return t&&t.length?di(t):[]}function qa(t,e){return t&&t.length?di(t,yo(e,2)):[]}function Va(t,e){return e="function"==typeof e?e:it,t&&t.length?di(t,it,e):[]}function Ha(t){if(!t||!t.length)return[];var e=0;return t=h(t,function(t){if(Us(t))return e=Hf(t.length,e),!0}),P(e,function(e){return g(t,A(e))})}function Ua(t,e){if(!t||!t.length)return[];var n=Ha(t);return null==e?n:g(n,function(t){return s(e,it,t)})}function Wa(t,e){return _i(t||[],e||[],On)}function Za(t,e){return _i(t||[],e||[],oi)}function Ja(t){var e=n(t);return e.__chain__=!0,e}function Ga(t,e){return e(t),t}function Xa(t,e){return e(t)}function Ya(){return Ja(this)}function Ka(){return new i(this.value(),this.__chain__)}function Qa(){this.__values__===it&&(this.__values__=yl(this.value()));var t=this.__index__>=this.__values__.length,e=t?it:this.__values__[this.__index__++];return{done:t,value:e}}function ts(){return this}function es(t){for(var e,n=this;n instanceof r;){var i=ta(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function ns(){var t=this.__wrapped__;if(t instanceof _){var e=t;return this.__actions__.length&&(e=new _(this)),e=e.reverse(),e.__actions__.push({func:Xa,args:[ja],thisArg:it}),new i(e,this.__chain__)}return this.thru(ja)}function rs(){return yi(this.__wrapped__,this.__actions__)}function is(t,e,n){var r=gh(t)?u:Jn;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function os(t,e){var n=gh(t)?h:Yn;return n(t,yo(e,3))}function as(t,e){return tr(hs(t,e),1)}function ss(t,e){return tr(hs(t,e),Mt)}function ls(t,e,n){return n=n===it?1:_l(n),tr(hs(t,e),n)}function cs(t,e){var n=gh(t)?c:pu;return n(t,yo(e,3))}function fs(t,e){var n=gh(t)?f:du;return n(t,yo(e,3))}function us(t,e,n,r){t=Hs(t)?t:Yl(t),n=n&&!r?_l(n):0;var i=t.length;return n<0&&(n=Hf(i+n,0)),pl(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&C(t,e,n)>-1}function hs(t,e){var n=gh(t)?g:Lr;return n(t,yo(e,3))}function ps(t,e,n,r){return null==t?[]:(gh(e)||(e=null==e?[]:[e]),n=r?it:n,gh(n)||(n=null==n?[]:[n]),Zr(t,e,n))}function ds(t,e,n){var r=gh(t)?m:O,i=arguments.length<3;return r(t,yo(e,4),n,i,pu)}function gs(t,e,n){var r=gh(t)?y:O,i=arguments.length<3;return r(t,yo(e,4),n,i,du)}function vs(t,e){var n=gh(t)?h:Yn;return n(t,Os(yo(e,3)))}function ms(t){var e=gh(t)?Tn:ri;return e(t)}function ys(t,e,n){e=(n?Eo(t,e,n):e===it)?1:_l(e);var r=gh(t)?jn:ii;return r(t,e)}function bs(t){var e=gh(t)?$n:ai;return e(t)}function _s(t){if(null==t)return 0;if(Hs(t))return pl(t)?Q(t):t.length;var e=Tu(t);return e==Jt||e==ee?t.size:Dr(t).length}function xs(t,e,n){var r=gh(t)?b:li;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function ws(t,e){if("function"!=typeof e)throw new cf(lt);return t=_l(t),function(){if(--t<1)return e.apply(this,arguments)}}function ks(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,lo(t,bt,it,it,it,it,e)}function Cs(t,e){var n;if("function"!=typeof e)throw new cf(lt);return t=_l(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function Ts(t,e,n){e=n?it:e;var r=lo(t,gt,it,it,it,it,it,e);return r.placeholder=Ts.placeholder,r}function js(t,e,n){e=n?it:e;var r=lo(t,vt,it,it,it,it,it,e);return r.placeholder=js.placeholder,r}function $s(t,e,n){function r(e){var n=h,r=p;return h=p=it,y=e,g=t.apply(r,n)}function i(t){return y=t,v=Au(s,e),b?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return _?Uf(i,d-r):i}function a(t){var n=t-m,r=t-y;return m===it||n>=e||n<0||_&&r>=d}function s(){var t=rh();return a(t)?l(t):void(v=Au(s,o(t)))}function l(t){return v=it,x&&h?r(t):(h=p=it,g)}function c(){v!==it&&_u(v),y=0,h=m=p=v=it}function f(){return v===it?g:l(rh())}function u(){var t=rh(),n=a(t);if(h=arguments,p=this,m=t,n){if(v===it)return i(m);if(_)return v=Au(s,e),r(m)}return v===it&&(v=Au(s,e)),g}var h,p,d,g,v,m,y=0,b=!1,_=!1,x=!0;if("function"!=typeof t)throw new cf(lt);return e=wl(e)||0,nl(n)&&(b=!!n.leading,_="maxWait"in n,d=_?Hf(wl(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),u.cancel=c,u.flush=f,u}function As(t){return lo(t,xt)}function Ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cf(lt);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ss.Cache||cn),n}function Os(t){if("function"!=typeof t)throw new cf(lt);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ms(t){return Cs(2,t)}function Es(t,e){if("function"!=typeof t)throw new cf(lt);return e=e===it?e:_l(e),ni(t,e)}function Ps(t,e){if("function"!=typeof t)throw new cf(lt);return e=e===it?0:Hf(_l(e),0),ni(function(n){var r=n[e],i=Ci(n,0,e);return r&&v(i,r),s(t,this,i)})}function Ns(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new cf(lt);return nl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),$s(t,e,{leading:r,maxWait:e,trailing:i})}function Fs(t){return ks(t,1)}function Rs(t,e){return ch(wi(e),t)}function Bs(){if(!arguments.length)return[];var t=arguments[0];return gh(t)?t:[t]}function Ds(t){return Bn(t,!1,!0)}function zs(t,e){return e="function"==typeof e?e:it,Bn(t,!1,!0,e)}function Is(t){return Bn(t,!0,!0)}function Ls(t,e){return e="function"==typeof e?e:it,Bn(t,!0,!0,e)}function qs(t,e){return null==e||Ln(t,e,Dl(e))}function Vs(t,e){return t===e||t!==t&&e!==e}function Hs(t){return null!=t&&el(t.length)&&!Qs(t)}function Us(t){return rl(t)&&Hs(t)}function Ws(t){return t===!0||t===!1||rl(t)&&dr(t)==qt}function Zs(t){return rl(t)&&1===t.nodeType&&!ul(t)}function Js(t){if(null==t)return!0;if(Hs(t)&&(gh(t)||"string"==typeof t||"function"==typeof t.splice||mh(t)||wh(t)||dh(t)))return!t.length;var e=Tu(t);if(e==Jt||e==ee)return!t.size;if(Bo(t))return!Dr(t).length;for(var n in t)if(gf.call(t,n))return!1;return!0}function Gs(t,e){return Sr(t,e)}function Xs(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?Sr(t,e,n):!!r}function Ys(t){if(!rl(t))return!1;var e=dr(t);return e==Ut||e==Ht||"string"==typeof t.message&&"string"==typeof t.name&&!ul(t)}function Ks(t){return"number"==typeof t&&Lf(t)}function Qs(t){if(!nl(t))return!1;var e=dr(t);return e==Wt||e==Zt||e==Lt||e==Qt}function tl(t){return"number"==typeof t&&t==_l(t)}function el(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Et}function nl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function rl(t){return null!=t&&"object"==typeof t}function il(t,e){return t===e||Er(t,e,_o(e))}function ol(t,e,n){return n="function"==typeof n?n:it,Er(t,e,_o(e),n)}function al(t){return fl(t)&&t!=+t}function sl(t){if(ju(t))throw new nf(st);return Pr(t)}function ll(t){return null===t}function cl(t){return null==t}function fl(t){return"number"==typeof t||rl(t)&&dr(t)==Gt}function ul(t){if(!rl(t)||dr(t)!=Yt)return!1;var e=jf(t);if(null===e)return!0;var n=gf.call(e,"constructor")&&e.constructor;
-return"function"==typeof n&&n instanceof n&&df.call(n)==bf}function hl(t){return tl(t)&&t>=-Et&&t<=Et}function pl(t){return"string"==typeof t||!gh(t)&&rl(t)&&dr(t)==ne}function dl(t){return"symbol"==typeof t||rl(t)&&dr(t)==re}function gl(t){return t===it}function vl(t){return rl(t)&&Tu(t)==oe}function ml(t){return rl(t)&&dr(t)==ae}function yl(t){if(!t)return[];if(Hs(t))return pl(t)?tt(t):Bi(t);if(Mf&&t[Mf])return U(t[Mf]());var e=Tu(t),n=e==Jt?W:e==ee?G:Yl;return n(t)}function bl(t){if(!t)return 0===t?t:0;if(t=wl(t),t===Mt||t===-Mt){var e=t<0?-1:1;return e*Pt}return t===t?t:0}function _l(t){var e=bl(t),n=e%1;return e===e?n?e-n:e:0}function xl(t){return t?Rn(_l(t),0,Ft):0}function wl(t){if("number"==typeof t)return t;if(dl(t))return Nt;if(nl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=nl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ne,"");var n=Ue.test(t);return n||Ze.test(t)?Qn(t.slice(2),n?2:8):He.test(t)?Nt:+t}function kl(t){return Di(t,zl(t))}function Cl(t){return Rn(_l(t),-Et,Et)}function Tl(t){return null==t?"":pi(t)}function jl(t,e){var n=hu(t);return null==e?n:Pn(n,e)}function $l(t,e){return w(t,yo(e,3),er)}function Al(t,e){return w(t,yo(e,3),rr)}function Sl(t,e){return null==t?t:gu(t,yo(e,3),zl)}function Ol(t,e){return null==t?t:vu(t,yo(e,3),zl)}function Ml(t,e){return t&&er(t,yo(e,3))}function El(t,e){return t&&rr(t,yo(e,3))}function Pl(t){return null==t?[]:ir(t,Dl(t))}function Nl(t){return null==t?[]:ir(t,zl(t))}function Fl(t,e,n){var r=null==t?it:ar(t,e);return r===it?n:r}function Rl(t,e){return null!=t&&To(t,e,_r)}function Bl(t,e){return null!=t&&To(t,e,xr)}function Dl(t){return Hs(t)?Cn(t):Dr(t)}function zl(t){return Hs(t)?Cn(t,!0):zr(t)}function Il(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,e(t,r,i),t)}),n}function Ll(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,r,e(t,r,i))}),n}function ql(t,e){return Vl(t,Os(yo(e)))}function Vl(t,e){return null==t?{}:Gr(t,go(t),yo(e))}function Hl(t,e,n){e=Po(e,t)?[e]:ki(e);var r=-1,i=e.length;for(i||(t=it,i=1);++r<i;){var o=null==t?it:t[Yo(e[r])];o===it&&(r=i,o=n),t=Qs(o)?o.call(t):o}return t}function Ul(t,e,n){return null==t?t:oi(t,e,n)}function Wl(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:oi(t,e,n,r)}function Zl(t,e,n){var r=gh(t),i=r||mh(t)||wh(t);if(e=yo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:nl(t)&&Qs(o)?hu(jf(t)):{}}return(i?c:er)(t,function(t,r,i){return e(n,t,r,i)}),n}function Jl(t,e){return null==t||gi(t,e)}function Gl(t,e,n){return null==t?t:vi(t,e,wi(n))}function Xl(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:vi(t,e,wi(n),r)}function Yl(t){return null==t?[]:R(t,Dl(t))}function Kl(t){return null==t?[]:R(t,zl(t))}function Ql(t,e,n){return n===it&&(n=e,e=it),n!==it&&(n=wl(n),n=n===n?n:0),e!==it&&(e=wl(e),e=e===e?e:0),Rn(wl(t),e,n)}function tc(t,e,n){return e=bl(e),n===it?(n=e,e=0):n=bl(n),t=wl(t),wr(t,e,n)}function ec(t,e,n){if(n&&"boolean"!=typeof n&&Eo(t,e,n)&&(e=n=it),n===it&&("boolean"==typeof e?(n=e,e=it):"boolean"==typeof t&&(n=t,t=it)),t===it&&e===it?(t=0,e=1):(t=bl(t),e===it?(e=t,t=0):e=bl(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Jf();return Uf(t+i*(e-t+Kn("1e-"+((i+"").length-1))),e)}return Qr(t,e)}function nc(t){return Jh(Tl(t).toLowerCase())}function rc(t){return t=Tl(t),t&&t.replace(Ge,gr).replace(zn,"")}function ic(t,e,n){t=Tl(t),e=pi(e);var r=t.length;n=n===it?r:Rn(_l(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function oc(t){return t=Tl(t),t&&Ce.test(t)?t.replace(we,vr):t}function ac(t){return t=Tl(t),t&&Pe.test(t)?t.replace(Ee,"\\$&"):t}function sc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return eo(Df(i),n)+t+eo(Bf(i),n)}function lc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;return e&&r<e?t+eo(e-r,n):t}function cc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;return e&&r<e?eo(e-r,n)+t:t}function fc(t,e,n){return n||null==e?e=0:e&&(e=+e),Zf(Tl(t).replace(Fe,""),e||0)}function uc(t,e,n){return e=(n?Eo(t,e,n):e===it)?1:_l(e),ei(Tl(t),e)}function hc(){var t=arguments,e=Tl(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function pc(t,e,n){return n&&"number"!=typeof n&&Eo(t,e,n)&&(e=n=it),(n=n===it?Ft:n>>>0)?(t=Tl(t),t&&("string"==typeof e||null!=e&&!_h(e))&&(e=pi(e),!e&&V(t))?Ci(tt(t),0,n):t.split(e,n)):[]}function dc(t,e,n){return t=Tl(t),n=Rn(_l(n),0,t.length),e=pi(e),t.slice(n,n+e.length)==e}function gc(t,e,r){var i=n.templateSettings;r&&Eo(t,e,r)&&(e=it),t=Tl(t),e=$h({},e,i,An);var o,a,s=$h({},e.imports,i.imports,An),l=Dl(s),c=R(s,l),f=0,u=e.interpolate||Xe,h="__p += '",p=sf((e.escape||Xe).source+"|"+u.source+"|"+(u===$e?qe:Xe).source+"|"+(e.evaluate||Xe).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Un+"]")+"\n";t.replace(p,function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(f,l).replace(Ye,L),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(ye,""):h).replace(be,"$1").replace(_e,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Gh(function(){return rf(l,d+"return "+h).apply(it,c)});if(v.source=h,Ys(v))throw v;return v}function vc(t){return Tl(t).toLowerCase()}function mc(t){return Tl(t).toUpperCase()}function yc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Ne,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=tt(e),o=D(r,i),a=z(r,i)+1;return Ci(r,o,a).join("")}function bc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Re,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=z(r,tt(e))+1;return Ci(r,0,i).join("")}function _c(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Fe,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=D(r,tt(e));return Ci(r,i).join("")}function xc(t,e){var n=Ct,r=Tt;if(nl(e)){var i="separator"in e?e.separator:i;n="length"in e?_l(e.length):n,r="omission"in e?pi(e.omission):r}t=Tl(t);var o=t.length;if(V(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Q(r);if(s<1)return r;var l=a?Ci(a,0,s).join(""):t.slice(0,s);if(i===it)return l+r;if(a&&(s+=l.length-s),_h(i)){if(t.slice(s).search(i)){var c,f=l;for(i.global||(i=sf(i.source,Tl(Ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var u=c.index;l=l.slice(0,u===it?s:u)}}else if(t.indexOf(pi(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function wc(t){return t=Tl(t),t&&ke.test(t)?t.replace(xe,mr):t}function kc(t,e,n){return t=Tl(t),e=n?it:e,e===it?H(t)?rt(t):x(t):t.match(e)||[]}function Cc(t){var e=null==t?0:t.length,n=yo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new cf(lt);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++r<e;){var i=t[r];if(s(i[0],this,n))return s(i[1],this,n)}})}function Tc(t){return In(Bn(t,!0))}function jc(t){return function(){return t}}function $c(t,e){return null==t||t!==t?e:t}function Ac(t){return t}function Sc(t){return Br("function"==typeof t?t:Bn(t,!0))}function Oc(t){return qr(Bn(t,!0))}function Mc(t,e){return Vr(t,Bn(e,!0))}function Ec(t,e,n){var r=Dl(e),i=ir(e,r);null!=n||nl(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=ir(e,Dl(e)));var o=!(nl(n)&&"chain"in n&&!n.chain),a=Qs(t);return c(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Bi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,v([this.value()],arguments))})}),t}function Pc(){return nr._===this&&(nr._=_f),this}function Nc(){}function Fc(t){return t=_l(t),ni(function(e){return Wr(e,t)})}function Rc(t){return Po(t)?A(Yo(t)):Xr(t)}function Bc(t){return function(e){return null==t?it:ar(t,e)}}function Dc(){return[]}function zc(){return!1}function Ic(){return{}}function Lc(){return""}function qc(){return!0}function Vc(t,e){if(t=_l(t),t<1||t>Et)return[];var n=Ft,r=Uf(t,Ft);e=yo(e),t-=Ft;for(var i=P(r,e);++n<t;)e(n);return i}function Hc(t){return gh(t)?g(t,Yo):dl(t)?[t]:Bi(Ou(t))}function Uc(t){var e=++vf;return Tl(t)+e}function Wc(t){return t&&t.length?Gn(t,Ac,yr):it}function Zc(t,e){return t&&t.length?Gn(t,yo(e,2),yr):it}function Jc(t){return $(t,Ac)}function Gc(t,e){return $(t,yo(e,2))}function Xc(t){return t&&t.length?Gn(t,Ac,Ir):it}function Yc(t,e){return t&&t.length?Gn(t,yo(e,2),Ir):it}function Kc(t){return t&&t.length?E(t,Ac):0}function Qc(t,e){return t&&t.length?E(t,yo(e,2)):0}e=null==e?nr:br.defaults(nr.Object(),e,br.pick(nr,Hn));var tf=e.Array,ef=e.Date,nf=e.Error,rf=e.Function,of=e.Math,af=e.Object,sf=e.RegExp,lf=e.String,cf=e.TypeError,ff=tf.prototype,uf=rf.prototype,hf=af.prototype,pf=e["__core-js_shared__"],df=uf.toString,gf=hf.hasOwnProperty,vf=0,mf=function(){var t=/[^.]+$/.exec(pf&&pf.keys&&pf.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),yf=hf.toString,bf=df.call(af),_f=nr._,xf=sf("^"+df.call(gf).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wf=or?e.Buffer:it,kf=e.Symbol,Cf=e.Uint8Array,Tf=wf?wf.allocUnsafe:it,jf=Z(af.getPrototypeOf,af),$f=af.create,Af=hf.propertyIsEnumerable,Sf=ff.splice,Of=kf?kf.isConcatSpreadable:it,Mf=kf?kf.iterator:it,Ef=kf?kf.toStringTag:it,Pf=function(){try{var t=xo(af,"defineProperty");return t({},"",{}),t}catch(t){}}(),Nf=e.clearTimeout!==nr.clearTimeout&&e.clearTimeout,Ff=ef&&ef.now!==nr.Date.now&&ef.now,Rf=e.setTimeout!==nr.setTimeout&&e.setTimeout,Bf=of.ceil,Df=of.floor,zf=af.getOwnPropertySymbols,If=wf?wf.isBuffer:it,Lf=e.isFinite,qf=ff.join,Vf=Z(af.keys,af),Hf=of.max,Uf=of.min,Wf=ef.now,Zf=e.parseInt,Jf=of.random,Gf=ff.reverse,Xf=xo(e,"DataView"),Yf=xo(e,"Map"),Kf=xo(e,"Promise"),Qf=xo(e,"Set"),tu=xo(e,"WeakMap"),eu=xo(af,"create"),nu=tu&&new tu,ru={},iu=Ko(Xf),ou=Ko(Yf),au=Ko(Kf),su=Ko(Qf),lu=Ko(tu),cu=kf?kf.prototype:it,fu=cu?cu.valueOf:it,uu=cu?cu.toString:it,hu=function(){function t(){}return function(e){if(!nl(e))return{};if($f)return $f(e);t.prototype=e;var n=new t;return t.prototype=it,n}}();n.templateSettings={escape:Te,evaluate:je,interpolate:$e,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=hu(r.prototype),i.prototype.constructor=i,_.prototype=hu(r.prototype),_.prototype.constructor=_,nt.prototype.clear=Ie,nt.prototype.delete=Ke,nt.prototype.get=Qe,nt.prototype.has=tn,nt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=an,nn.prototype.has=sn,nn.prototype.set=ln,cn.prototype.clear=fn,cn.prototype.delete=un,cn.prototype.get=hn,cn.prototype.has=pn,cn.prototype.set=dn,gn.prototype.add=gn.prototype.push=vn,gn.prototype.has=mn,yn.prototype.clear=bn,yn.prototype.delete=_n,yn.prototype.get=xn,yn.prototype.has=wn,yn.prototype.set=kn;var pu=qi(er),du=qi(rr,!0),gu=Vi(),vu=Vi(!0),mu=nu?function(t,e){return nu.set(t,e),t}:Ac,yu=Pf?function(t,e){return Pf(t,"toString",{configurable:!0,enumerable:!1,value:jc(e),writable:!0})}:Ac,bu=ni,_u=Nf||function(t){return nr.clearTimeout(t)},xu=Qf&&1/G(new Qf([,-0]))[1]==Mt?function(t){return new Qf(t)}:Nc,wu=nu?function(t){return nu.get(t)}:Nc,ku=zf?Z(zf,af):Dc,Cu=zf?function(t){for(var e=[];t;)v(e,ku(t)),t=jf(t);return e}:Dc,Tu=dr;(Xf&&Tu(new Xf(new ArrayBuffer(1)))!=le||Yf&&Tu(new Yf)!=Jt||Kf&&Tu(Kf.resolve())!=Kt||Qf&&Tu(new Qf)!=ee||tu&&Tu(new tu)!=oe)&&(Tu=function(t){var e=dr(t),n=e==Yt?t.constructor:it,r=n?Ko(n):"";if(r)switch(r){case iu:return le;case ou:return Jt;case au:return Kt;case su:return ee;case lu:return oe}return e});var ju=pf?Qs:zc,$u=Go(mu),Au=Rf||function(t,e){return nr.setTimeout(t,e)},Su=Go(yu),Ou=Io(function(t){t=Tl(t);var e=[];return Oe.test(t)&&e.push(""),t.replace(Me,function(t,n,r,i){e.push(r?i.replace(Le,"$1"):n||t)}),e}),Mu=ni(function(t,e){return Us(t)?Vn(t,tr(e,1,Us,!0)):[]}),Eu=ni(function(t,e){var n=ba(e);return Us(n)&&(n=it),Us(t)?Vn(t,tr(e,1,Us,!0),yo(n,2)):[]}),Pu=ni(function(t,e){var n=ba(e);return Us(n)&&(n=it),Us(t)?Vn(t,tr(e,1,Us,!0),it,n):[]}),Nu=ni(function(t){var e=g(t,xi);return e.length&&e[0]===t[0]?kr(e):[]}),Fu=ni(function(t){var e=ba(t),n=g(t,xi);return e===ba(n)?e=it:n.pop(),n.length&&n[0]===t[0]?kr(n,yo(e,2)):[]}),Ru=ni(function(t){var e=ba(t),n=g(t,xi);return e="function"==typeof e?e:it,e&&n.pop(),n.length&&n[0]===t[0]?kr(n,it,e):[]}),Bu=ni(wa),Du=ho(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return Kr(t,g(e,function(t){return Mo(t,n)?+t:t}).sort(Pi)),r}),zu=ni(function(t){return di(tr(t,1,Us,!0))}),Iu=ni(function(t){var e=ba(t);return Us(e)&&(e=it),di(tr(t,1,Us,!0),yo(e,2))}),Lu=ni(function(t){var e=ba(t);return e="function"==typeof e?e:it,di(tr(t,1,Us,!0),it,e)}),qu=ni(function(t,e){return Us(t)?Vn(t,e):[]}),Vu=ni(function(t){return bi(h(t,Us))}),Hu=ni(function(t){var e=ba(t);return Us(e)&&(e=it),bi(h(t,Us),yo(e,2))}),Uu=ni(function(t){var e=ba(t);return e="function"==typeof e?e:it,bi(h(t,Us),it,e)}),Wu=ni(Ha),Zu=ni(function(t){var e=t.length,n=e>1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Ua(t,n)}),Ju=ho(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof _&&Mo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Xa,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Gu=Ii(function(t,e,n){gf.call(t,n)?++t[n]:Nn(t,n,1)}),Xu=Gi(ca),Yu=Gi(fa),Ku=Ii(function(t,e,n){gf.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Qu=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Po(e),a=Hs(t)?tf(t.length):[];return pu(t,function(t){var l=i?e:o&&null!=t?t[e]:it;a[++r]=l?s(l,t,n):Tr(t,e,n)}),a}),th=Ii(function(t,e,n){Nn(t,n,e)}),eh=Ii(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),nh=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Eo(t,e[0],e[1])?e=[]:n>2&&Eo(e[0],e[1],e[2])&&(e=[e[0]]),Zr(t,tr(e,1),[])}),rh=Ff||function(){return nr.Date.now()},ih=ni(function(t,e,n){var r=ht;if(n.length){var i=J(n,mo(ih));r|=mt}return lo(t,r,e,n,i)}),oh=ni(function(t,e,n){var r=ht|pt;if(n.length){var i=J(n,mo(oh));r|=mt}return lo(e,r,t,n,i)}),ah=ni(function(t,e){return qn(t,1,e)}),sh=ni(function(t,e,n){return qn(t,wl(e)||0,n)});Ss.Cache=cn;var lh=bu(function(t,e){e=1==e.length&&gh(e[0])?g(e[0],F(yo())):g(tr(e,1),F(yo()));var n=e.length;return ni(function(r){for(var i=-1,o=Uf(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return s(t,this,r)})}),ch=ni(function(t,e){var n=J(e,mo(ch));return lo(t,mt,it,e,n)}),fh=ni(function(t,e){var n=J(e,mo(fh));return lo(t,yt,it,e,n)}),uh=ho(function(t,e){return lo(t,_t,it,it,it,e)}),hh=io(yr),ph=io(function(t,e){return t>=e}),dh=jr(function(){return arguments}())?jr:function(t){return rl(t)&&gf.call(t,"callee")&&!Af.call(t,"callee")},gh=tf.isArray,vh=lr?F(lr):$r,mh=If||zc,yh=cr?F(cr):Ar,bh=fr?F(fr):Mr,_h=ur?F(ur):Nr,xh=hr?F(hr):Fr,wh=pr?F(pr):Rr,kh=io(Ir),Ch=io(function(t,e){return t<=e}),Th=Li(function(t,e){if(Bo(e)||Hs(e))return void Di(e,Dl(e),t);for(var n in e)gf.call(e,n)&&On(t,n,e[n])}),jh=Li(function(t,e){Di(e,zl(e),t)}),$h=Li(function(t,e,n,r){Di(e,zl(e),t,r)}),Ah=Li(function(t,e,n,r){Di(e,Dl(e),t,r)}),Sh=ho(Fn),Oh=ni(function(t){return t.push(it,An),s($h,it,t)}),Mh=ni(function(t){return t.push(it,qo),s(Rh,it,t)}),Eh=Ki(function(t,e,n){t[e]=n},jc(Ac)),Ph=Ki(function(t,e,n){gf.call(t,e)?t[e].push(n):t[e]=[n]},yo),Nh=ni(Tr),Fh=Li(function(t,e,n){Hr(t,e,n)}),Rh=Li(function(t,e,n,r){Hr(t,e,n,r)}),Bh=ho(function(t,e){return null==t?{}:(e=g(e,Yo),Jr(t,Vn(go(t),e)))}),Dh=ho(function(t,e){return null==t?{}:Jr(t,g(e,Yo))}),zh=so(Dl),Ih=so(zl),Lh=Wi(function(t,e,n){return e=e.toLowerCase(),t+(n?nc(e):e)}),qh=Wi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Vh=Wi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Hh=Ui("toLowerCase"),Uh=Wi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Wh=Wi(function(t,e,n){return t+(n?" ":"")+Jh(e)}),Zh=Wi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Jh=Ui("toUpperCase"),Gh=ni(function(t,e){try{return s(t,it,e)}catch(t){return Ys(t)?t:new nf(t)}}),Xh=ho(function(t,e){return c(e,function(e){e=Yo(e),Nn(t,e,ih(t[e],t))}),t}),Yh=Xi(),Kh=Xi(!0),Qh=ni(function(t,e){return function(n){return Tr(n,t,e)}}),tp=ni(function(t,e){return function(n){return Tr(t,n,e)}}),ep=to(g),np=to(u),rp=to(b),ip=ro(),op=ro(!0),ap=Qi(function(t,e){return t+e},0),sp=ao("ceil"),lp=Qi(function(t,e){return t/e},1),cp=ao("floor"),fp=Qi(function(t,e){return t*e},1),up=ao("round"),hp=Qi(function(t,e){return t-e},0);return n.after=ws,n.ary=ks,n.assign=Th,n.assignIn=jh,n.assignInWith=$h,n.assignWith=Ah,n.at=Sh,n.before=Cs,n.bind=ih,n.bindAll=Xh,n.bindKey=oh,n.castArray=Bs,n.chain=Ja,n.chunk=ea,n.compact=na,n.concat=ra,n.cond=Cc,n.conforms=Tc,n.constant=jc,n.countBy=Gu,n.create=jl,n.curry=Ts,n.curryRight=js,n.debounce=$s,n.defaults=Oh,n.defaultsDeep=Mh,n.defer=ah,n.delay=sh,n.difference=Mu,n.differenceBy=Eu,n.differenceWith=Pu,n.drop=ia,n.dropRight=oa,n.dropRightWhile=aa,n.dropWhile=sa,n.fill=la,n.filter=os,n.flatMap=as,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=ua,n.flattenDeep=ha,n.flattenDepth=pa,n.flip=As,n.flow=Yh,n.flowRight=Kh,n.fromPairs=da,n.functions=Pl,n.functionsIn=Nl,n.groupBy=Ku,n.initial=ma,n.intersection=Nu,n.intersectionBy=Fu,n.intersectionWith=Ru,n.invert=Eh,n.invertBy=Ph,n.invokeMap=Qu,n.iteratee=Sc,n.keyBy=th,n.keys=Dl,n.keysIn=zl,n.map=hs,n.mapKeys=Il,n.mapValues=Ll,n.matches=Oc,n.matchesProperty=Mc,n.memoize=Ss,n.merge=Fh,n.mergeWith=Rh,n.method=Qh,n.methodOf=tp,n.mixin=Ec,n.negate=Os,n.nthArg=Fc,n.omit=Bh,n.omitBy=ql,n.once=Ms,n.orderBy=ps,n.over=ep,n.overArgs=lh,n.overEvery=np,n.overSome=rp,n.partial=ch,n.partialRight=fh,n.partition=eh,n.pick=Dh,n.pickBy=Vl,n.property=Rc,n.propertyOf=Bc,n.pull=Bu,n.pullAll=wa,n.pullAllBy=ka,n.pullAllWith=Ca,n.pullAt=Du,n.range=ip,n.rangeRight=op,n.rearg=uh,n.reject=vs,n.remove=Ta,n.rest=Es,n.reverse=ja,n.sampleSize=ys,n.set=Ul,n.setWith=Wl,n.shuffle=bs,n.slice=$a,n.sortBy=nh,n.sortedUniq=Na,n.sortedUniqBy=Fa,n.split=pc,n.spread=Ps,n.tail=Ra,n.take=Ba,n.takeRight=Da,n.takeRightWhile=za,n.takeWhile=Ia,n.tap=Ga,n.throttle=Ns,n.thru=Xa,n.toArray=yl,n.toPairs=zh,n.toPairsIn=Ih,n.toPath=Hc,n.toPlainObject=kl,n.transform=Zl,n.unary=Fs,n.union=zu,n.unionBy=Iu,n.unionWith=Lu,n.uniq=La,n.uniqBy=qa,n.uniqWith=Va,n.unset=Jl,n.unzip=Ha,n.unzipWith=Ua,n.update=Gl,n.updateWith=Xl,n.values=Yl,n.valuesIn=Kl,n.without=qu,n.words=kc,n.wrap=Rs,n.xor=Vu,n.xorBy=Hu,n.xorWith=Uu,n.zip=Wu,n.zipObject=Wa,n.zipObjectDeep=Za,n.zipWith=Zu,n.entries=zh,n.entriesIn=Ih,n.extend=jh,n.extendWith=$h,Ec(n,n),n.add=ap,n.attempt=Gh,n.camelCase=Lh,n.capitalize=nc,n.ceil=sp,n.clamp=Ql,n.clone=Ds,n.cloneDeep=Is,n.cloneDeepWith=Ls,n.cloneWith=zs,n.conformsTo=qs,n.deburr=rc,n.defaultTo=$c,n.divide=lp,n.endsWith=ic,n.eq=Vs,n.escape=oc,n.escapeRegExp=ac,n.every=is,n.find=Xu,n.findIndex=ca,n.findKey=$l,n.findLast=Yu,n.findLastIndex=fa,n.findLastKey=Al,n.floor=cp,n.forEach=cs,n.forEachRight=fs,n.forIn=Sl,n.forInRight=Ol,n.forOwn=Ml,n.forOwnRight=El,n.get=Fl,n.gt=hh,n.gte=ph,n.has=Rl,n.hasIn=Bl,n.head=ga,n.identity=Ac,n.includes=us,n.indexOf=va,n.inRange=tc,n.invoke=Nh,n.isArguments=dh,n.isArray=gh,n.isArrayBuffer=vh,n.isArrayLike=Hs,n.isArrayLikeObject=Us,n.isBoolean=Ws,n.isBuffer=mh,n.isDate=yh,n.isElement=Zs,n.isEmpty=Js,n.isEqual=Gs,n.isEqualWith=Xs,n.isError=Ys,n.isFinite=Ks,n.isFunction=Qs,n.isInteger=tl,n.isLength=el,n.isMap=bh,n.isMatch=il,n.isMatchWith=ol,n.isNaN=al,n.isNative=sl,n.isNil=cl,n.isNull=ll,n.isNumber=fl,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=ul,n.isRegExp=_h,n.isSafeInteger=hl,n.isSet=xh,n.isString=pl,n.isSymbol=dl,n.isTypedArray=wh,n.isUndefined=gl,n.isWeakMap=vl,n.isWeakSet=ml,n.join=ya,n.kebabCase=qh,n.last=ba,n.lastIndexOf=_a,n.lowerCase=Vh,n.lowerFirst=Hh,n.lt=kh,n.lte=Ch,n.max=Wc,n.maxBy=Zc,n.mean=Jc,n.meanBy=Gc,n.min=Xc,n.minBy=Yc,n.stubArray=Dc,n.stubFalse=zc,n.stubObject=Ic,n.stubString=Lc,n.stubTrue=qc,n.multiply=fp,n.nth=xa,n.noConflict=Pc,n.noop=Nc,n.now=rh,n.pad=sc,n.padEnd=lc,n.padStart=cc,n.parseInt=fc,n.random=ec,n.reduce=ds,n.reduceRight=gs,n.repeat=uc,n.replace=hc,n.result=Hl,n.round=up,n.runInContext=t,n.sample=ms,n.size=_s,n.snakeCase=Uh,n.some=xs,n.sortedIndex=Aa,n.sortedIndexBy=Sa,n.sortedIndexOf=Oa,n.sortedLastIndex=Ma,n.sortedLastIndexBy=Ea,n.sortedLastIndexOf=Pa,n.startCase=Wh,n.startsWith=dc,n.subtract=hp,n.sum=Kc,n.sumBy=Qc,n.template=gc,n.times=Vc,n.toFinite=bl,n.toInteger=_l,n.toLength=xl,n.toLower=vc,n.toNumber=wl,n.toSafeInteger=Cl,n.toString=Tl,n.toUpper=mc,n.trim=yc,n.trimEnd=bc,n.trimStart=_c,n.truncate=xc,n.unescape=wc,n.uniqueId=Uc,n.upperCase=Zh,n.upperFirst=Jh,n.each=cs,n.eachRight=fs,n.first=ga,Ec(n,function(){var t={};return er(n,function(e,r){gf.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION=ot,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){_.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new _(this);n=n===it?1:Hf(_l(n),0);var i=this.clone();return r?i.__takeCount__=Uf(n,i.__takeCount__):i.__views__.push({size:Uf(n,Ft),type:t+(i.__dir__<0?"Right":"")}),i},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==At||n==Ot;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:yo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Ac)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new _(this):this.map(function(n){return Tr(n,t,e)})}),_.prototype.reject=function(t){return this.filter(Os(yo(t)))},_.prototype.slice=function(t,e){t=_l(t);var n=this;return n.__filtered__&&(t>0||e<0)?new _(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=_l(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(Ft)},er(_.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,c=e instanceof _,f=l[0],u=c||gh(e),h=function(t){var e=a.apply(n,v([t],l));return o&&p?e[0]:e};u&&r&&"function"==typeof f&&1!=f.length&&(c=u=!1);var p=this.__chain__,d=!!this.__actions__.length,g=s&&!p,m=c&&!d;if(!s&&u){e=m?e:new _(this);var y=t.apply(e,l);return y.__actions__.push({func:Xa,args:[h],thisArg:it}),new i(y,p)}return g&&m?t.apply(this,l):(y=this.thru(h),g?o?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=ff[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(gh(n)?n:[],t)}return this[r](function(n){return e.apply(gh(n)?n:[],t)})}}),er(_.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"",o=ru[i]||(ru[i]=[]);o.push({name:e,func:r})}}),ru[Yi(it,pt).name]=[{name:"wrapper",func:it}],_.prototype.clone=S,_.prototype.reverse=Y,_.prototype.value=et,n.prototype.at=Ju,n.prototype.chain=Ya,n.prototype.commit=Ka,n.prototype.next=Qa,n.prototype.plant=es,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,Mf&&(n.prototype[Mf]=ts),n},br=yr();nr._=br,r=function(){return br}.call(e,n,e,i),!(r!==it&&(i.exports=r))}).call(this)}).call(e,function(){return this}(),n(229)(t))},function(t,e,n){var r,i;n(225),r=n(62);var o=n(209);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-64c3b6ce",t.exports=r},function(t,e,n){var r,i;n(216),r=n(73);var o=n(199);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-1826f540",t.exports=r},function(t,e,n){var r,i;n(215),r=n(76);var o=n(198);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-163b42f5",t.exports=r},function(t,e,n){var r,i;r=n(79);var o=n(204);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(87),o=r(i),a=n(85),s=r(a),l=n(227);e.default={data:function(){return{items:[],query:"",current:-1,loading:!1,selectFirst:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length<this.minChars||(this.loading=!0,this.fetch().then(function(e){if(t.query){var n=e.data;n=t.prepareResponseData?t.prepareResponseData(n):n,t.items=t.limit?n.slice(0,t.limit):n,t.current=-1,t.loading=!1,t.selectFirst&&t.down()}}))):this.reset()},fetch:function(){if(!this.$http)return l.util.warn("You need to install the `vue-resource` plugin",this);if(!this.src)return l.util.warn("You need to set the `src` property",this);var t=this.queryParamName?this.src:this.src+this.query,e=this.queryParamName?(0,s.default)((0,o.default)({},this.queryParamName,this.query),this.data):this.data;return this.$http.get(t,{params:e})},reset:function(){this.items=[],this.query="",this.loading=!1},setActive:function(t){this.current=t},activeClass:function(t){return{active:this.current===t}},hit:function(){this.current!==-1&&this.onHit(this.items[this.current])},up:function(){this.current>0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.current<this.items.length-1?this.current++:this.current=-1},onHit:function(){l.util.warn("You need to implement the `onHit` method",this)}}}},function(t,e){"use strict";var n=t.exports,r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};Object.keys(r).forEach(function(t){var e=r[t],i=n[t]={};i.open="["+e[0]+"m",i.close="["+e[1]+"m"})},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{}},mounted:function(){t(".collection-container").hide(),t(".collection-description-complete").hide(),t("#show-main-collections").hide()},methods:{pickOtherCollection:function(e){t("#show-collection-"+e).hasClass("btn-primary")||(t("#main-panel").hide(),t("#show-main-collections").show(),t(".collection-container").removeClass("selected"),t(".collection-container:not(.selected)").hide(),t(".collection-description-complete").hide(),t(".collection-description").show(),t(".btn-collection").removeClass("btn-primary"),t("#show-collection-"+e).addClass("btn-primary"),t(".collection-container#collection-panel-"+e).show(),t(".collection-container#collection-panel-"+e).addClass("selected"))},showMainPanel:function(){t(".collection-container").removeClass("selected"),t(".btn-collection").removeClass("btn-primary"),t(".collection-container").hide(),t("#main-panel").show(),t("#show-main-collections").hide()},showCompleteDescription:function(e){t(".collection-description-complete").hide(),t("#collection-description-short-"+e).hide(),t("#collection-description-complete-"+e).show()},hideCompleteDescription:function(e){t(".collection-description-complete").hide(),t("#collection-description-short-"+e).show()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(82),o=r(i),a=n(37),s=r(a),l=n(57),c=r(l);e.default={el:"#drawing-zone",MODE_RECT:"RECT",MODE_FREE:"FREE",ZOOM_IN:"in",ZOOM_OUT:"out",components:{typeahead:s.default,zoomview:c.default},data:{mode:"",isRect:!0,normalizePath:"",readOnly:!1,formView:!0,useClipPath:!1,transformMatrix:"",fragmentPath:"",canZoom:!0,displayMask:!1},mounted:function(){var t=this;this.initialDrawingMode=null,this.drawingComponent=o.default.init({wrapperId:"#iconolab-image-wrapper",actionWrapper:"#action-wrapper",readOnly:!1,onDrawingModeChange:function(e){t.setDrawingMode(e,!1)}}),this.$refs.zoomview.setZoomTarget(this.drawingComponent.getPaper()),this.showForm()},methods:{computeCentreredViewBox:function(){var t=this.$refs.zoomSvg,e=[],n=t.getAttribute("width"),r=t.getAttribute("height"),i=n/100,o=r/100,a=this.drawingComponent.getShapeBBox();return e=[(a.x-1)*i,(a.y-1)*o,(a.w+2)*i,(a.h+2)*o],e.join(" ")},computeZoomedViewBox:function(){var t=[],e=this.$refs.zoomSvg,n=this.drawingComponent.getShapeBBox(),r=e.getAttribute("width"),i=e.getAttribute("height"),o=r/100,a=i/100;n.x=n.x*o,n.y=n.y*a,n.w=n.w*o,n.h=n.h*a;var s=r/i;return n.w>n.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(192),s=r(a);e.default=(o={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function t(){var t="";return this.transformMatrix&&(t="matrix("+this.transformMatrix+")"),t}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){
-var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length<e.length){var i=e.slice(t.length);i.forEach(function(t,e){t.action="add",r.push(t)})}this.tags=r},showTextDiff:function(e,n){this.switchMode("textMode");for(var r=iconolab.JsDiff.diffWords(e,n),i=document.createDocumentFragment(),o=0;o<r.length;o++){if(r[o].added&&r[o+1]&&r[o+1].removed){var a=r[o];r[o]=r[o+1],r[o+1]=a}var s;r[o].removed?(s=document.createElement("del"),s.appendChild(document.createTextNode(r[o].value))):r[o].added?(s=document.createElement("ins"),s.appendChild(document.createTextNode(r[o].value))):s=document.createTextNode(r[o].value),i.appendChild(s)}this.diffText=t("<div>").append(i).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i),a=n(53),s=r(a),l={title:"",description:"",fragment:"",tags:[],readonly:!0};e.default={props:{action:String,annotation:{type:Object,default:function(){return null}}},components:{"tag-list":o.default},data:function(){return l},watch:{annotation:function(t){t?Object.assign(this,{title:t.title,description:t.description,fragment:t.fragment,tags:t.tags.slice(),readonly:!0}):this.reset()}},computed:{formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var t=this.tags.map(function(t){return{tag_input:"string"==typeof t.tag_link&&t.tag_link.length?t.tag_link:t.tag_label,tag_label:t.tag_label,accuracy:t.accuracy,relevancy:t.relevancy}});return JSON.stringify(t)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(t){this.tags=t},reset:function(){Object.assign(this,l)}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(188),s=r(a),l=n(187),c=r(l),f=n(190),u=r(f);e.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1}},components:{shapeRect:s.default,shapeFree:c.default,zoomThumbnail:u.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&"rect"===this.mode,"canvas--free":!this.readonly&&"free"===this.mode}}},watch:{mode:function(t){this.reset(),"free"===t&&this.handleDrawFree(),"rect"===t&&this.handleDrawRect()},loaded:function(t){t&&(this.annotation?this.loadAnnotation():("free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()))},annotation:function(t){this.reset(),this.readonly=!!t,this.annotation&&this.loadAnnotation()},scale:function(t){var e=this,n=0;if(t>1&&(n=t-1),1===t)this.resetViewBox();else{var r=this.getCenter(),i=this.imgMinSize-this.imgMinSize*n,o=i,a=[r.x-i/2,r.y-o/2,i,o];this.hideTooltip(),this.animateViewBox(a,function(){return e.showTooltip()})}}},mounted:function(){var t=this,e=new Image;e.onload=function(n){t.paper=new o.default(t.$refs.svg),t.imgMinSize=Math.min(e.width,e.height),console.log("Image: %s x %s",e.width,e.height),setTimeout(function(){var n=t.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",n.width,n.height);var r=[0,0,e.width,e.height],i={width:n.width,height:n.height};Object.assign(t,{imageWidth:e.width,imageHeight:e.height,viewBox:r,viewport:i});var o=15*Math.min(r[2],r[3])/i.width;t.$refs.rect.handlerSize=o,t.$refs.free.handlerRadius=o/2,t.paper.attr({viewBox:t.viewBox}),t.loaded=!0},100)},e.src=this.image},methods:{hideTooltip:function(){"free"===this.mode&&this.$refs.free.hideTooltip(),"rect"===this.mode&&this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox(),"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},loadAnnotation:function(){var t=this;if(this.annotation.fragment.length>0){var e=this.annotation.fragment.split(";"),n=e[0],r=e[1].toLowerCase();this.mode=r,this.$nextTick(function(){n=t.denormalizePath(n),"free"===r&&t.$refs.free.fromSVGPath(n,t.tooltip),"rect"===r&&t.$refs.rect.fromSVGPath(n,t.tooltip)})}},setMode:function(t){this.readonly||(this.mode=t)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(t){var e=this.viewBox.slice();e[0]=t.x,e[1]=t.y,this.paper.attr({viewBox:e})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(t,e){var n=this,r=this.viewBox.slice();o.default.animate(r,t,function(t){return n.paper.attr({viewBox:t})},350,mina.easeinout,function(){n.viewBox=t,e&&e()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(t){var e=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(t.clientX-e.left)/Math.min(n.x,n.y),i=(t.clientY-e.top)/Math.min(n.x,n.y);return{x:r,y:i}},computeHandlerSize:function(t){return 60*Math.min(this.viewBox[2],this.viewBox[3])/this.imageWidth},normalizePath:function(t){var e=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},denormalizePath:function(t){var e=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDrawFree:function(){var e=this;this.removeEventHandlers();var n,r=function(t,e){n=null,this.$refs.free.addPoint(t,e)};this.paper.click(function(i){if(!n&&t(i.target).is("image")&&!e.$refs.free.closed){var o=e.computeOffset(i),a=o.x,s=o.y;n=setTimeout(r.bind(e,a,s),190)}})},handleDrawRect:function(){var t=this;this.removeEventHandlers();var e={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){t.$refs.rect.width>0&&t.$refs.rect.height>0||(e=t.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var o,a;n=t.computeOffset(i);var s=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-s,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-l),o&&a&&Object.assign(t.$refs.rect,{x:o,y:a,width:s,height:l})}}),this.paper.mouseup(function(e){if(r){if(r=!1,0===t.$refs.rect.width&&0===t.$refs.rect.height){var n=t.computeOffset(e),i=t.imgMinSize/4;Object.assign(t.$refs.rect,{x:n.x-i/2,y:n.y-i/2,width:i,height:i})}t.$nextTick(function(){t.$refs.rect.addResizeHandlers(),t.$refs.rect.addTooltip()})}})}}}}).call(e,n(1))},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["comment","username","email","date"],computed:{dateFormatted:function(){var t=new Date(this.date),e=t.getDate(),n=t.getMonth()+1,r=t.getFullYear();return e+"/"+n+"/"+r}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(185),o=r(i);e.default={props:["annotation","fetch"],components:{Comment:o.default},data:function(){return{comments:[]}},computed:{commentsURL:function(){return this.fetch.replace(":annotation_guid",this.annotation.annotation_guid)}},watch:{annotation:function(e){var n=this;e?t.getJSON(this.commentsURL).then(function(t){return n.comments=t}):this.comments=[]}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","readonly"],data:function(){return{path:"",closed:!1,points:[],handlerRadius:30}},mounted:function(){},watch:{closed:function(t){t&&(this.path+=" Z")},points:function(t){var e="M";if(!(t.length<=1)){e+=t[0].x+","+t[0].y;for(var n=0;n<t.length;n++)if(0!=n){var r=t[n],i="L"+r.x+","+r.y;e+=" "+i}this.closed&&(e+=" Z"),this.path=e}}},methods:{addPoint:function(t,e){var n=this;this.points.push({x:t,y:e}),this.$nextTick(function(){var t=n.$refs.handlers[n.$refs.handlers.length-1];n.addResizeHandler(t)})},clear:function(){this.destroyTooltip(),Object.assign(this,{points:[],closed:!1,path:""})},getTooltipTarget:function(){return this.$refs.path},fromSVGPath:function(t,e){var n=this,r=o.default.parsePathString(t),i=[];r.map(function(t){"Z"!==t[0]&&i.push({x:t[1],y:t[2]})}),this.points=i,this.closed=!0,this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){return this.$parent.normalizePath(this.path)+";FREE"},addResizeHandler:function(t){var e=this,n=this,r=new o.default(t),i=!1;r.click(function(t){var n=parseInt(r.attr("data-key"),10);0===n&&e.points.length>2&&(e.closed=!0,e.$nextTick(function(){setTimeout(function(){return e.addTooltip()},250)}))}),r.dblclick(function(t){var n=new o.default(t.target),r=parseInt(n.attr("data-key"),10);e.points.splice(r,1)});var a={onMove:function(t,e,r,o,a){i=!0;var s=n.$parent.computeOffset(a);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return e.hideTooltip()},onEnd:function(t){i&&(i=!1,n.showTooltip())}};r.drag(a.onMove,a.onStart,a.onEnd)},addResizeHandlers:function(){var t=this;this.$refs.handlers.forEach(function(e){return t.addResizeHandler(e)})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","tooltip","readonly"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0,handlerSize:60}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var t=this,e={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},n=new o.default(this.$refs.g);n.drag(e.onMove,e.onStart,e.onEnd)},watch:{x:function(t,e){this.transform="translate("+this.x+", "+this.y+")"},y:function(t,e){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var t=new o.default(this.$refs.shape),e=new o.default(this.$refs.topLeft),n=new o.default(this.$refs.bottomRight);t.node.removeAttribute("transform"),e.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var t=this,e=new o.default(this.$refs.shape),n=new o.default(this.$refs.topLeft),r=new o.default(this.$refs.bottomRight),i={onMove:function(t,i){var o=this.transform().diffMatrix.invert();o.e=o.f=0;var a=o.x(t,i),s=o.y(t,i);this.transform("t"+[a,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,c=r.getBBox().y-n.getBBox().y,f={width:l,height:c};this===n&&(f.transform=e.data("origTransform")+(e.data("origTransform")?"T":"t")+[a,s]),e.attr(f)},onStart:function(){t.isResizing=!0,e.data("origTransform",e.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){t.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(t,e){var n=this,r=o.default.path.getBBox(t);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var t,e=new o.default(this.$refs.shape),n=e.getBBox(),r=e.transform();if(r.global.length){var i=e.node.getAttribute("x"),a=e.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,a),s.y(i,a),n.width,n.height);t=l.getBBox().path,l.remove()}else t=e.getBBox().path;var c=o.default.path.toAbsolute(t).toString();return this.$parent.normalizePath(c)+";RECT"}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i);e.default={props:["original-title","original-description","original-tags"],components:{"tag-list":o.default},data:function(){return{title:"",description:"",tags:[],error:!1}},computed:{titleFormGroup:function(){return{"has-error":this.error}}},mounted:function(){var t=this;this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription),this.$on("error",function(e){e.title&&(t.error=!0)})},methods:{close:function(t){t.preventDefault(),this.$emit("close")},save:function(t){return t.preventDefault(),this.error=!1,0===this.title.trim().length?void this.$emit("error",{title:!0}):void this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e.default={props:["image","viewport","viewBox","imageWidth","imageHeight"],data:function(){return{thumbnailWidth:0,thumbnailHeight:0,loaded:!1}},computed:{x:function(){return this.viewBox[0]*this.getRatioX()},y:function(){return this.viewBox[1]*this.getRatioY()},width:function(){return this.viewBox[2]*this.getRatioX()},height:function(){return this.viewBox[3]*this.getRatioY()}},methods:{reset:function(){var t=new o.default(this.$refs.handler);t.node.removeAttribute("transform")},getRatioX:function(){return 0===this.imageWidth?0:this.thumbnailWidth/this.imageWidth},getRatioY:function(){return 0===this.imageHeight?0:this.thumbnailHeight/this.imageHeight}},mounted:function(){var t=this,e=new o.default(this.$refs.svg),n=new o.default(this.$refs.handler),r=new Image;r.onload=function(i){var o=t;e.attr({viewBox:[0,0,r.width,r.height]}),Object.assign(t,{thumbnailWidth:r.width,thumbnailHeight:r.height,loaded:!0});var a={onMove:function(t,e,n,r){var i=this.transform().diffMatrix.invert();i.e=i.f=0;var a=i.x(t,e),s=i.y(t,e),l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,s];this.transform(l),o.$emit("change",{x:this.getBBox().x*(o.imageWidth/o.thumbnailWidth),y:this.getBBox().y*(o.imageHeight/o.thumbnailHeight)})},onStart:function(){this.data("origTransform",this.transform().local),o.$emit("dragstart")},onEnd:function(){o.$emit("dragend")}};n.drag(a.onMove,a.onStart,a.onEnd)},r.src=this.image}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(37),o=r(i),a=n(54),s=r(a);e.default={data:function(){return{}},components:{Typeahead:o.default,diffviewer:s.default},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var l=i.getAttribute("data-path-type");l=l||"FREE";var c=this.$refs["fragment-field"];c.value=s+";"+l}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],l=this.$refs["proposal-tags"];0!==s.tags.length&&0!==l.tags.length&&a.showTagDiff(s.tags,l.tags)}if("frag"===n){var c=i.getAttribute("d"),f=r.getAttribute("d");a.showFragmentDiff(c,f)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["original-value"],data:function(){return{value:this.originalValue}},watch:{originalValue:function(t){this.value=t}},mounted:function(){this.originalValue&&(this.value=this.originalValue)},methods:{animate:function(){var t,e=0,n=1,r=function r(){return 5===this.value&&(n=-1),1===this.value&&(n=1),this.value+=n,10===++e?(clearTimeout(t),void(null===this.originalValue&&(this.value=null))):void(t=setTimeout(r.bind(this),100))};r.apply(this)},onMouseEnter:function(e){var n=t(e.target).data("value");this.$refs.buttons.forEach(function(e){t(e).data("value")<=n?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")})},onMouseLeave:function(e){var n=this;this.value?this.$refs.buttons.forEach(function(e){t(e).data("value")<=n.value?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")}):this.$refs.buttons.forEach(function(e){t(e).removeClass("btn--highlight")})},onClick:function(e){var n=parseInt(t(e.target).data("value"));this.value=n,this.$emit("change",{value:n})}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(193),o=r(i),a=n(56),s=r(a),l=n(53),c=r(l);e.default={props:{originalTags:{type:Array,default:function(){return[]}},readonly:{type:Boolean,default:!1}},data:function(){return{tags:c.default.cloneDeep(this.originalTags)}},components:{typeahead:s.default,"tag-list-item":o.default},watch:{originalTags:function(t){this.tags=c.default.cloneDeep(this.originalTags),this.hideAll()},tags:function(t){this.$emit("change",{tags:t})}},mounted:function(){var t=this;this.$refs.typeahead.$on("selected",function(e){t.tags.push(e)})},methods:{hideAll:function(){this.$refs.items&&this.$refs.items.forEach(function(t){return t.hide()})},replaceItemAt:function(t,e){var n=this.tags[t];Object.assign(n,e),this.tags.splice(t,1,n)},removeItemAt:function(t){this.tags.$remove(this.tags[t])}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(55),o=r(i),a=n(56),s=r(a);e.default={props:["index","label","accuracy","relevancy","readonly"],components:{typeahead:s.default,"color-buttons":o.default},data:function(){return{isNew:!0}},computed:{accuracyTitle:function(){return"Fiabilité : "+this.accuracy},relevancyTitle:function(){return"Pertinence : "+this.relevancy}},watch:{accuracy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())},relevancy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())}},mounted:function(){this.isNew=!this.accuracy&&!this.relevancy,this.$refs.accuracy.value=this.accuracy,this.$refs.relevancy.value=this.relevancy,t(this.$el).find(".collapse").collapse({toggle:!1}),this.isNew&&(this.$parent.hideAll(),this.show(),this.$refs.accuracy.animate())},methods:{isComplete:function(){return this.accuracy&&this.relevancy},onChange:function(t,e){var n={};n[t]=e,this.$parent.replaceItemAt(this.index,n)},show:function(){t(this.$el).find(".collapse").collapse("show")},hide:function(){t(this.$el).find(".collapse").collapse("hide")},toggle:function(e){e.preventDefault(),this.readonly||(this.$parent.hideAll(),t(this.$el).find(".collapse").collapse("toggle"))},remove:function(t){t.preventDefault(),t.stopPropagation(),this.readonly||this.$parent.removeItemAt(this.index)}}}}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",s="https://fr.wikipedia.org/w/api.php",l={reset:o.default.methods.reset},c=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],props:{placeholder:String,readonly:{type:Boolean,default:!1}},data:function(){return{src:a,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,c(this.src,query)},fetchWikiPedia:function(){this.src=s;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,l.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=null,i.relevancy=null,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},onHit:function(t){this.$emit("selected",t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.default={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a=n(194),s=r(a),l="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",c="https://fr.wikipedia.org/w/api.php",f={reset:o.default.methods.reset},u=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],components:{taglist:s.default},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:l,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString",placeholder:"..."}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,u(this.src,query)},fetchWikiPedia:function(){this.src=c;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,f.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(7),o=n(39),a=r(o),s=n(6),l=r(s);e.default={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new l.default(this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new l.default(t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a.default.enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),l=i+e,c=o+n;l+r.w>=a&&(l=a-r.w),c+r.h>=s&&(c=s-r.h),l=l<0?0:l,c=c<0?0:c;var f="T"+[l,c];this.attr("transform",f),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(182),o=r(i);e.default={init:function(){return new Vue(o.default)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local),
-this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,l=t.handler.transform().diffMatrix.invert();l.e=l.f=0,a=l.x(e,n),s=l.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e.default={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(81),s=r(a),l=n(7),c=n(39);r(c);o.default.plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var f=null,u=null,h=[],p={X:100,Y:100},d={x:1,y:1},g={width:850,height:850},v=[],m=!1,y=null,b=null,_=!1,x=null,w="#ff00ff",k="red",C="orange",T="#FF0000",j=8,$=!1,A=!0,S=!1,O=!0,M="RECT",E=M,P="FREE",N=[M,P],F=null,R=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),B=function(t){if(m)return void f.path(t).attr({stroke:"red",opacity:.6});var e=o.default.path.getBBox(t);x=f.rect(e.x,e.y,e.width,e.height),x.attr({fill:C,stroke:k,opacity:.6}),b=x,_=!1,S=!0,s.default.enable_resizer(f,b,g,v)},D=function(t){if(m)return void f.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o.default.parsePathString(t);e.map(function(t){"Z"!==t[0]?J(f,t[1],t[2],h):(S=!0,z(f,L))})},z=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r<h.length;r++)if(0!=r){var i=h[r],o="L"+i.x+","+i.y;n+=" "+o}n+=S?" Z":"",b&&b.remove(),b=t.path(n),b.attr({stroke:k,"vector-effect":"non-scaling-stroke","stroke-width":3,fill:"white",opacity:.1}),h.map(function(t){H();t.handler&&t.handler.toFront()}),"function"==typeof e&&S&&e(),!e&&S&&I()}},I=function(){b.attr({fill:C,strokeWidth:1,opacity:.6})},L=function(){O=!1,I()},q=function(t,e,n){t.isFirst&&h.length>2&&(S=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},H=function(){v.length||(v=[0,0,parseInt(u.width()),parseInt(u.height())]);var t=j*Math.min(v[2],v[3])/850;return t},U=function(t,e,n,r,i){$=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:l});var c=this.getBBox(),f=V(this.data("point"),c.x+H()/2,c.y+H()/2);f&&z(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?T:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!$||($=!1,void(A=!1))})},Z=function(t,e){var n,r=H(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?T:"",opacity:.9,stroke:w}),e},J=function(t,e,n,r){var i={x:e,y:n,id:R()};return S?void z(t,L):A?(i=Z(t,i),r.push(i),void z(t)):(A=!0,!1)},G=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}};t.mousedown(function(t){if(E!==P&&!S){var n=r(t);e.x=n.x,e.y=n.y,_=!0}}),t.mousemove(function(i){if(E!==P&&_){var o,a,s=r(i);n.x=s.x,n.y=s.y,x&&x.remove();var l=Math.abs(n.x-e.x),c=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-l,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-c),o&&a&&(x=t.rect(o,a,l,c),x.attr({fill:C,stroke:k,opacity:.6}))}}),t.mouseup(function(){return!(E===P||S||!x)&&(b=x,s.default.enable_resizer(t,x,g,v),_=!1,void(S=!0))})},X=function(e){if(!m){var n=null,r=!1;e.dblclick(function(t){return E===M||(r=!0,n&&(n=clearTimeout(n),r=!1,S=!0,h.length>2&&z(e,L)),!1)});var i=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}},o=function(t,i){if(!r){if(E===M)return!0;if(!O)return!0;J(e,t,i,h),n=null,r=!1}};e.click(function(e){if(!n&&t(e.target).is(u)){var r=i(e),a=r.x,s=r.y;n=setTimeout(o.bind(this,a,s),190)}})}},Y=function(){l.eventEmitter.on("zoomChanged",function(t){d=t.zoomFactor,v=t.currentViewBox;var e=K.getPath();K.clear(),K.setPath(e)})},K={getPaper:function(){return f},setPath:function(t){var e=t.split(";");N.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=u.attr("width")/p.X,i=u.attr("height")/p.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o.default.matrix(r,0,0,i,0,0),s=o.default.path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===M&&B(s),e[1]===P&&D(s))}},setDrawingMode:function(t){N.indexOf(t)!==-1&&(E=t),"function"==typeof F&&F(E),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),l.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,$=!1,A=!0,S=!1,O=!0},getShapeBBox:function(){var t=this.getPath();return o.default.path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(E===M){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=f.rect(a.x(r,i),a.y(r,i),e.width,e.height);l=s.getBBox().path,s.remove()}else var l=b.getBBox().path;t=o.default.path.toAbsolute(l).toString()}else t=b.attr("d");var c=p.X/u.attr("width"),h=p.Y/u.attr("height");if((isNaN(c)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=E===M?";RECT":";FREE";var d=o.default.matrix(c,0,0,h,0,0);t=o.default.path.map(t,d).toString();var g=E===M?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=g}};e.default={init:function(e){u=t(e.wrapperId).find(".main-image").eq(0);var n=t(e.wrapperId).find(".cut-canvas").eq(0),r=t(e.wrapperId).find(".image-path").eq(0);if("function"==typeof e.onDrawingModeChange&&(F=e.onDrawingModeChange),!u.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=t('<svg version="1.1"></svg>').addClass("cut-canvas");t(e.wrapperId).append(n),n.append(u)}if(n.css({marginLeft:"auto",marginRight:"auto",width:g.width,height:g.height}),"boolean"==typeof e.readOnly&&e.readOnly===!0&&(m=!0),f=new o.default(n.get(0)),r.length){t(n).append(r);var i=r.attr("d");K.setPath(i),r.remove()}return Y(),X(f),G(f),K}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(184),o=r(i),a=n(183),s=r(a),l=n(186),c=r(l);e.default={Canvas:o.default,AnnotationForm:s.default,CommentList:c.default}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n(172),n(173),n(171);var i=n(212),o=(r(i),n(37)),a=r(o),s=n(80),l=r(s),c=n(57),f=r(c),u=n(191),h=r(u),p=n(181),d=r(p),g=n(54),v=r(g),m=n(20),y=r(m),b=n(83),_=r(b),x=n(55),w=r(x),k=n(36),C=r(k),T=n(152);Vue.config.ignoredElements=["mask"];var j={Cutout:l.default,JsDiff:T,JsonDiff:y.default,CollectionSelector:d.default,VueComponents:{Typeahead:a.default,MergeTool:h.default,Zoomview:f.default,DiffViewer:v.default,Editor:_.default,ColorButtons:w.default,TagList:C.default}};Vue.component("color-buttons",w.default),Vue.component("image-annotator",_.default.Canvas),Vue.component("annotation",_.default.Annotation),Vue.component("annotation-form",_.default.AnnotationForm),Vue.component("comment-list",_.default.CommentList),window.iconolab||(window.iconolab=j)},function(t,e,n){t.exports={default:n(102),__esModule:!0}},function(t,e,n){t.exports={default:n(103),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(86),o=r(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){var e=function t(){return i.apply(t,arguments)};return e._styles=t,e.__proto__=d,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;r<e;r++)n+=" "+t[r];if(!h.enabled||!n)return n;for(var i=this._styles,o=0;o<i.length;o++){var a=s[i[o]];n=a.open+n.replace(a.closeRe,a.open)+a.close}return n}function o(){var t={};return Object.keys(p).forEach(function(e){t[e]={get:function(){return r([e])}}}),t}var a=n(169),s=n(59),l=n(179),c=n(175),f=n(180),u=Object.defineProperties,h=t.exports,p=function(){var t={};return s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=new RegExp(a(s[e].close),"g"),t[e]={get:function(){return r(this._styles.concat(e))}}}),t}(),d=u(function(){},p);u(h,o()),h.styles=s,h.hasColor=c,h.stripColor=l,h.supportsColor=f,void 0===h.enabled&&(h.enabled=h.supportsColor)},function(t,e,n){n(127),t.exports=n(22).Object.assign},function(t,e,n){n(128);var r=n(22).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(25);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(47),i=n(123),o=n(122);t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),f=o(a,c);if(t&&n!=n){for(;c>f;)if(s=l[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in l)&&l[f]===n)return t||f||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(104);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(25),i=n(24).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(45),i=n(119);t.exports=n(17)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(17)&&!n(23)(function(){return 7!=Object.defineProperty(n(109)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(117),i=n(115),o=n(118),a=n(124),s=n(44),l=Object.assign;t.exports=!l||n(23)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,f=i.f,u=o.f;l>c;)for(var h,p=s(arguments[c++]),d=f?r(p).concat(f(p)):r(p),g=d.length,v=0;g>v;)u.call(p,h=d[v++])&&(n[h]=p[h]);return n}:l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(111),i=n(47),o=n(106)(!1),a=n(120)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(116),i=n(110);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(121)("keys"),i=n(126);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(24),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(46),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(46),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(42);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(25);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(43);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){var r=n(43);r(r.S+r.F*!n(17),"Object",{defineProperty:n(45).f})},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-09005644]{position:relative}.selected-tags[data-v-09005644]{border:1px solid red;width:200px!important}.selected-tags select[data-v-09005644]{display:inline-block}.Typeahead__input[data-v-09005644]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-09005644]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-09005644]{border:1px solid red}.fa-times[data-v-09005644]{cursor:pointer}ul[data-v-09005644]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-09005644]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-09005644]:first-child{border-radius:4px 4px 0 0}li[data-v-09005644]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-09005644]{display:block;color:#2c3e50}.active[data-v-09005644]{background-color:#3aa373}.active span[data-v-09005644]{color:#fff}.name[data-v-09005644]{font-weight:700;font-size:18px}.screen-name[data-v-09005644]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-163b42f5]{position:relative}.selected-tags[data-v-163b42f5]{border:1px solid red;width:200px!important}.selected-tags select[data-v-163b42f5]{display:inline-block}.Typeahead__input[data-v-163b42f5]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-163b42f5]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-163b42f5]{border:1px solid red}.fa-times[data-v-163b42f5]{cursor:pointer}ul[data-v-163b42f5]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-163b42f5]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-163b42f5]:first-child{border-radius:4px 4px 0 0}li[data-v-163b42f5]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-163b42f5]{display:block;color:#2c3e50}.active[data-v-163b42f5]{background-color:#3aa373}.active span[data-v-163b42f5]{color:#fff}.name[data-v-163b42f5]{font-weight:700;font-size:18px}.screen-name[data-v-163b42f5]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.btn-group[data-v-1826f540]{margin-bottom:10px}.btn--highlight[data-v-1826f540]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-1826f540]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-1826f540]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-1826f540]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-1826f540]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-1826f540]{background-color:#b9e78b}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-21ad04a8]{padding:10px;font-size:12px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-2842cc86]{padding:10px;font-size:12px}.tag-list[data-v-2842cc86]{margin-bottom:15px}.tag-list-item[data-v-2842cc86]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-2842cc86]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".move-handler[data-v-2cdf3ca8]{cursor:-webkit-grab;cursor:grab}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.tag-item-btn[data-v-2ceb798e]{float:left;position:relative}.tag-item-btn button[data-v-2ceb798e]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-2ceb798e],.tag-item-relevancy .fa[data-v-2ceb798e]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-2ceb798e]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-2ceb798e]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-2ceb798e]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-2ceb798e]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-2ceb798e]{background-color:#b9e78b}.tag-title[data-v-2ceb798e]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-2ceb798e]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-2ceb798e],.tag-item-form small[data-v-2ceb798e]{display:block;margin-bottom:5px}.tag-container[data-v-2ceb798e]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-2ceb798e],.tag-list .tag-container[data-v-2ceb798e]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-2ceb798e]{cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-2ceb798e]:hover{background-color:#f5f5f5}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".zoom[data-v-45428799]{position:relative}.zoomer[data-v-45428799]{position:absolute;bottom:15px;right:15px}.cut-canvas[data-v-45428799]{width:100%;height:600px}.canvas--rect[data-v-45428799]:hover{cursor:crosshair}.canvas--free[data-v-45428799]:hover{cursor:pointer}.mode-controls .btn>svg[data-v-45428799]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-45428799]{fill:#fff}.controls[data-v-45428799]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-45428799]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-45428799]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-45428799],.controls .btn[data-v-45428799]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-45428799]:hover{background-color:#222}.controls .controls-left[data-v-45428799]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-45428799]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-45428799]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".shape[data-v-506fb618]{fill:#bdc3c7;stroke:#000;opacity:.6}.shape--draggable[data-v-506fb618]:hover{cursor:move}.handler-top-left[data-v-506fb618]:hover{cursor:nw-resize}.handler-bottom-right[data-v-506fb618]:hover{cursor:se-resize}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"form[data-v-51ceff58]{margin-bottom:20px;clear:both}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".comment[data-v-52ae02ee]{font-size:12px;padding:5px 0;border-bottom:1px solid #ccc}.comment-footer[data-v-52ae02ee]{margin-top:5px;color:#ccc}.comment-date[data-v-52ae02ee]{float:right}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".diff-viewer-wrapper[data-v-64c3b6ce]{margin-top:5px}.diff-panel[data-v-64c3b6ce]{border:1px solid gray;width:300px;heigth:250px}del[data-v-64c3b6ce]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-64c3b6ce]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".handler[data-v-a8fd4508]{fill:#fff;stroke:#000;opacity:.9}.handler--first[data-v-a8fd4508]{fill:#ff0}",""])},function(t,e,n){"use strict";var r,i=n(156),o=n(163),a=n(159),s=n(166);r=t.exports=function(t,e){var n,r,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:n,enumerable:r,writable:a},l?i(o(l),c):c},r.gs=function(t,e,n){var r,l,c,f;return"string"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(c=n,n=void 0):(c=e,e=n=void 0),null==t?(r=!0,l=!1):(r=s.call(t,"c"),l=s.call(t,"e")),f={get:e,set:n,configurable:r,enumerable:l},c?i(o(c),f):f}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i<t.length;i++)n=t[i],r=n.added?1:n.removed?-1:0,e.push([r,n.value]);return e}e.__esModule=!0,e.convertChangesToDMP=n},function(t,e){"use strict";function n(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];i.added?e.push("<ins>"):i.removed&&e.push("<del>"),e.push(r(i.value)),i.added?e.push("</ins>"):i.removed&&e.push("</del>")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&amp;"),e=e.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),e=e.replace(/"/g,"&quot;")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.arrayDiff=void 0,e.diffArrays=i;var o=n(5),a=r(o),s=e.arrayDiff=new a.default;s.tokenize=s.join=function(t){return t.slice()}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(5),a=r(o),s=e.characterDiff=new a.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(5),a=r(o),s=e.cssDiff=new a.default;s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return u.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;r<e.length;r+=1)if(e[r]===t)return n[r];var i=void 0;if("[object Array]"===f.call(t)){for(e.push(t),i=new Array(t.length),n.push(i),r=0;r<t.length;r+=1)i[r]=o(t[r],e,n);return e.pop(),n.pop(),i}if(t&&t.toJSON&&(t=t.toJSON()),"object"===("undefined"==typeof t?"undefined":a(t))&&null!==t){e.push(t),i={},n.push(i);var s=[],l=void 0;for(l in t)t.hasOwnProperty(l)&&s.push(l);for(s.sort(),r=0;r<s.length;r+=1)l=s[r],i[l]=o(t[l],e,n);e.pop(),n.pop()}else i=t;return i}e.__esModule=!0,e.jsonDiff=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.diffJson=i,e.canonicalize=o;var s=n(5),l=r(s),c=n(26),f=Object.prototype.toString,u=e.jsonDiff=new l.default;u.useLongestToken=!0,u.tokenize=c.lineDiff.tokenize,u.castInput=function(t){var e=this.options.undefinedReplacement;return"string"==typeof t?t:JSON.stringify(o(t),function(t,n){return"undefined"==typeof n?e:n},"  ")},u.equals=function(t,e){return l.default.prototype.equals(t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.sentenceDiff=void 0,e.diffSentences=i;var o=n(5),a=r(o),s=e.sentenceDiff=new a.default;s.tokenize=function(t){return t.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){var r=(0,l.generateOptions)(n,{ignoreWhitespace:!0});return u.diff(t,e,r)}function o(t,e,n){return u.diff(t,e,n)}e.__esModule=!0,e.wordDiff=void 0,e.diffWords=i,e.diffWordsWithSpace=o;var a=n(5),s=r(a),l=n(49),c=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,f=/\S/,u=e.wordDiff=new s.default;u.equals=function(t,e){return t===e||this.options.ignoreWhitespace&&!f.test(t)&&!f.test(e)},u.tokenize=function(t){for(var e=t.split(/(\s+|\b)/),n=0;n<e.length-1;n++)!e[n+1]&&e[n+2]&&c.test(e[n])&&c.test(e[n+2])&&(e[n]+=e[n+2],e.splice(n+1,2),n--);return e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.canonicalize=e.convertChangesToXML=e.convertChangesToDMP=e.parsePatch=e.applyPatches=e.applyPatch=e.createPatch=e.createTwoFilesPatch=e.structuredPatch=e.diffArrays=e.diffJson=e.diffCss=e.diffSentences=e.diffTrimmedLines=e.diffLines=e.diffWordsWithSpace=e.diffWords=e.diffChars=e.Diff=void 0;var i=n(5),o=r(i),a=n(147),s=n(151),l=n(26),c=n(150),f=n(148),u=n(149),h=n(146),p=n(153),d=n(48),g=n(154),v=n(144),m=n(145);e.Diff=o.default,e.diffChars=a.diffChars,e.diffWords=s.diffWords,e.diffWordsWithSpace=s.diffWordsWithSpace,e.diffLines=l.diffLines,e.diffTrimmedLines=l.diffTrimmedLines,e.diffSentences=c.diffSentences,e.diffCss=f.diffCss,e.diffJson=u.diffJson,e.diffArrays=h.diffArrays,e.structuredPatch=g.structuredPatch,e.createTwoFilesPatch=g.createTwoFilesPatch,e.createPatch=g.createPatch,e.applyPatch=p.applyPatch,e.applyPatches=p.applyPatches,e.parsePatch=d.parsePatch,e.convertChangesToDMP=v.convertChangesToDMP,e.convertChangesToXML=m.convertChangesToXML,e.canonicalize=u.canonicalize},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){function n(t,e){for(var n=0;n<t.lines.length;n++){var r=t.lines[n],o=r[0],a=r.substr(1);if(" "===o||"-"===o){if(!c(e+1,i[e],o,a)&&(f++,f>u))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split(/\r\n|[\n\v\f\r\x85]/),o=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=e.hunks,c=r.compareLine||function(t,e,n,r){return e===r},f=0,u=r.fuzzFactor||0,h=0,p=0,d=void 0,g=void 0,v=0;v<s.length;v++){for(var m=s[v],y=i.length-m.oldLines,b=0,_=p+m.oldStart-1,x=(0,l.default)(_,h,y);void 0!==b;b=x())if(n(m,_+b)){m.offset=p+=b;break}if(void 0===b)return!1;h=m.offset+m.oldStart+m.oldLines}for(var w=0;w<s.length;w++){var k=s[w],C=k.offset+k.newStart-1;0==k.newLines&&C++;for(var T=0;T<k.lines.length;T++){var j=k.lines[T],$=j[0],A=j.substr(1),S=k.linedelimiters[T];if(" "===$)C++;else if("-"===$)i.splice(C,1),o.splice(C,1);else if("+"===$)i.splice(C,0,A),o.splice(C,0,S),C++;else if("\\"===$){var O=k.lines[T-1]?k.lines[T-1][0]:null;"+"===O?d=!0:"-"===O&&(g=!0)}}}if(d)for(;!i[i.length-1];)i.pop(),o.pop();else g&&(i.push(""),o.push("\n"));for(var M=0;M<i.length-1;M++)i[M]=i[M]+o[M];return i.join("")}function o(t,e){function n(){var o=t[r++];return o?void e.loadFile(o,function(t,r){if(t)return e.complete(t);var a=i(r,o,e);e.patched(o,a,function(t){return t?e.complete(t):void n()})}):e.complete()}"string"==typeof t&&(t=(0,a.parsePatch)(t));var r=0;n()}e.__esModule=!0,e.applyPatch=i,e.applyPatches=o;var a=n(48),s=n(155),l=r(s)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n,i,o,a,l){function c(t){return t.map(function(t){return" "+t})}l||(l={}),"undefined"==typeof l.context&&(l.context=4);var f=(0,s.diffLines)(n,i,l);f.push({value:"",lines:[]});for(var u=[],h=0,p=0,d=[],g=1,v=1,m=function(t){var e=f[t],o=e.lines||e.value.replace(/\n$/,"").split("\n");if(e.lines=o,e.added||e.removed){var a;if(!h){var s=f[t-1];h=g,p=v,s&&(d=l.context>0?c(s.lines.slice(-l.context)):[],h-=d.length,p-=d.length)}(a=d).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?v+=o.length:g+=o.length}else{if(h)if(o.length<=2*l.context&&t<f.length-2){var m;(m=d).push.apply(m,r(c(o)))}else{var y,b=Math.min(o.length,l.context);(y=d).push.apply(y,r(c(o.slice(0,b))));var _={oldStart:h,oldLines:g-h+b,newStart:p,newLines:v-p+b,lines:d};if(t>=f.length-2&&o.length<=l.context){var x=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||x?x&&w||d.push("\\ No newline at end of file"):d.splice(_.oldLines,0,"\\ No newline at end of file")}u.push(_),h=0,p=0,d=[]}g+=o.length,v+=o.length}},y=0;y<f.length;y++)m(y);return{oldFileName:t,newFileName:e,oldHeader:o,newHeader:a,hunks:u}}function o(t,e,n,r,o,a,s){var l=i(t,e,n,r,o,a,s),c=[];t==e&&c.push("Index: "+t),c.push("==================================================================="),c.push("--- "+l.oldFileName+("undefined"==typeof l.oldHeader?"":"\t"+l.oldHeader)),c.push("+++ "+l.newFileName+("undefined"==typeof l.newHeader?"":"\t"+l.newHeader));for(var f=0;f<l.hunks.length;f++){var u=l.hunks[f];c.push("@@ -"+u.oldStart+","+u.oldLines+" +"+u.newStart+","+u.newLines+" @@"),c.push.apply(c,u.lines)}return c.join("\n")+"\n"}function a(t,e,n,r,i,a){return o(t,t,e,n,r,i,a)}e.__esModule=!0,e.structuredPatch=i,e.createTwoFilesPatch=o,e.createPatch=a;var s=n(26)},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,n){var r=!0,i=!1,o=!1,a=1;return function s(){if(r&&!o){if(i?a++:r=!1,t+a<=n)return a;o=!0}if(!i)return o||(r=!0),e<=t-a?-a++:(i=!0,s())}}},function(t,e,n){"use strict";t.exports=n(157)()?Object.assign:n(158)},function(t,e){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var r=n(160),i=n(165),o=Math.max;t.exports=function(t,e){var n,a,s,l=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},a=1;a<l;++a)e=arguments[a],r(e).forEach(s);if(void 0!==n)throw n;return t}},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(161)()?Object.keys:n(162)},function(t,e){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e){"use strict";var n=Object.keys;t.exports=function(t){return n(null==t?t:Object(t))}},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create,i=function(t,e){var n;for(n in t)e[n]=t[n];
+return"function"==typeof n&&n instanceof n&&df.call(n)==bf}function hl(t){return tl(t)&&t>=-Et&&t<=Et}function pl(t){return"string"==typeof t||!gh(t)&&rl(t)&&dr(t)==ne}function dl(t){return"symbol"==typeof t||rl(t)&&dr(t)==re}function gl(t){return t===it}function vl(t){return rl(t)&&Tu(t)==oe}function ml(t){return rl(t)&&dr(t)==ae}function yl(t){if(!t)return[];if(Hs(t))return pl(t)?tt(t):Bi(t);if(Mf&&t[Mf])return U(t[Mf]());var e=Tu(t),n=e==Jt?W:e==ee?G:Yl;return n(t)}function bl(t){if(!t)return 0===t?t:0;if(t=wl(t),t===Mt||t===-Mt){var e=t<0?-1:1;return e*Pt}return t===t?t:0}function _l(t){var e=bl(t),n=e%1;return e===e?n?e-n:e:0}function xl(t){return t?Rn(_l(t),0,Ft):0}function wl(t){if("number"==typeof t)return t;if(dl(t))return Nt;if(nl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=nl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ne,"");var n=Ue.test(t);return n||Ze.test(t)?Qn(t.slice(2),n?2:8):He.test(t)?Nt:+t}function kl(t){return Di(t,zl(t))}function Cl(t){return Rn(_l(t),-Et,Et)}function Tl(t){return null==t?"":pi(t)}function jl(t,e){var n=hu(t);return null==e?n:Pn(n,e)}function $l(t,e){return w(t,yo(e,3),er)}function Al(t,e){return w(t,yo(e,3),rr)}function Sl(t,e){return null==t?t:gu(t,yo(e,3),zl)}function Ol(t,e){return null==t?t:vu(t,yo(e,3),zl)}function Ml(t,e){return t&&er(t,yo(e,3))}function El(t,e){return t&&rr(t,yo(e,3))}function Pl(t){return null==t?[]:ir(t,Dl(t))}function Nl(t){return null==t?[]:ir(t,zl(t))}function Fl(t,e,n){var r=null==t?it:ar(t,e);return r===it?n:r}function Rl(t,e){return null!=t&&To(t,e,_r)}function Bl(t,e){return null!=t&&To(t,e,xr)}function Dl(t){return Hs(t)?Cn(t):Dr(t)}function zl(t){return Hs(t)?Cn(t,!0):zr(t)}function Il(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,e(t,r,i),t)}),n}function Ll(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,r,e(t,r,i))}),n}function ql(t,e){return Vl(t,Os(yo(e)))}function Vl(t,e){return null==t?{}:Gr(t,go(t),yo(e))}function Hl(t,e,n){e=Po(e,t)?[e]:ki(e);var r=-1,i=e.length;for(i||(t=it,i=1);++r<i;){var o=null==t?it:t[Yo(e[r])];o===it&&(r=i,o=n),t=Qs(o)?o.call(t):o}return t}function Ul(t,e,n){return null==t?t:oi(t,e,n)}function Wl(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:oi(t,e,n,r)}function Zl(t,e,n){var r=gh(t),i=r||mh(t)||wh(t);if(e=yo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:nl(t)&&Qs(o)?hu(jf(t)):{}}return(i?c:er)(t,function(t,r,i){return e(n,t,r,i)}),n}function Jl(t,e){return null==t||gi(t,e)}function Gl(t,e,n){return null==t?t:vi(t,e,wi(n))}function Xl(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:vi(t,e,wi(n),r)}function Yl(t){return null==t?[]:R(t,Dl(t))}function Kl(t){return null==t?[]:R(t,zl(t))}function Ql(t,e,n){return n===it&&(n=e,e=it),n!==it&&(n=wl(n),n=n===n?n:0),e!==it&&(e=wl(e),e=e===e?e:0),Rn(wl(t),e,n)}function tc(t,e,n){return e=bl(e),n===it?(n=e,e=0):n=bl(n),t=wl(t),wr(t,e,n)}function ec(t,e,n){if(n&&"boolean"!=typeof n&&Eo(t,e,n)&&(e=n=it),n===it&&("boolean"==typeof e?(n=e,e=it):"boolean"==typeof t&&(n=t,t=it)),t===it&&e===it?(t=0,e=1):(t=bl(t),e===it?(e=t,t=0):e=bl(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Jf();return Uf(t+i*(e-t+Kn("1e-"+((i+"").length-1))),e)}return Qr(t,e)}function nc(t){return Jh(Tl(t).toLowerCase())}function rc(t){return t=Tl(t),t&&t.replace(Ge,gr).replace(zn,"")}function ic(t,e,n){t=Tl(t),e=pi(e);var r=t.length;n=n===it?r:Rn(_l(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function oc(t){return t=Tl(t),t&&Ce.test(t)?t.replace(we,vr):t}function ac(t){return t=Tl(t),t&&Pe.test(t)?t.replace(Ee,"\\$&"):t}function sc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return eo(Df(i),n)+t+eo(Bf(i),n)}function lc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;return e&&r<e?t+eo(e-r,n):t}function cc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;return e&&r<e?eo(e-r,n)+t:t}function fc(t,e,n){return n||null==e?e=0:e&&(e=+e),Zf(Tl(t).replace(Fe,""),e||0)}function uc(t,e,n){return e=(n?Eo(t,e,n):e===it)?1:_l(e),ei(Tl(t),e)}function hc(){var t=arguments,e=Tl(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function pc(t,e,n){return n&&"number"!=typeof n&&Eo(t,e,n)&&(e=n=it),(n=n===it?Ft:n>>>0)?(t=Tl(t),t&&("string"==typeof e||null!=e&&!_h(e))&&(e=pi(e),!e&&V(t))?Ci(tt(t),0,n):t.split(e,n)):[]}function dc(t,e,n){return t=Tl(t),n=Rn(_l(n),0,t.length),e=pi(e),t.slice(n,n+e.length)==e}function gc(t,e,r){var i=n.templateSettings;r&&Eo(t,e,r)&&(e=it),t=Tl(t),e=$h({},e,i,An);var o,a,s=$h({},e.imports,i.imports,An),l=Dl(s),c=R(s,l),f=0,u=e.interpolate||Xe,h="__p += '",p=sf((e.escape||Xe).source+"|"+u.source+"|"+(u===$e?qe:Xe).source+"|"+(e.evaluate||Xe).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Un+"]")+"\n";t.replace(p,function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(f,l).replace(Ye,L),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(ye,""):h).replace(be,"$1").replace(_e,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Gh(function(){return rf(l,d+"return "+h).apply(it,c)});if(v.source=h,Ys(v))throw v;return v}function vc(t){return Tl(t).toLowerCase()}function mc(t){return Tl(t).toUpperCase()}function yc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Ne,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=tt(e),o=D(r,i),a=z(r,i)+1;return Ci(r,o,a).join("")}function bc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Re,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=z(r,tt(e))+1;return Ci(r,0,i).join("")}function _c(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Fe,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=D(r,tt(e));return Ci(r,i).join("")}function xc(t,e){var n=Ct,r=Tt;if(nl(e)){var i="separator"in e?e.separator:i;n="length"in e?_l(e.length):n,r="omission"in e?pi(e.omission):r}t=Tl(t);var o=t.length;if(V(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Q(r);if(s<1)return r;var l=a?Ci(a,0,s).join(""):t.slice(0,s);if(i===it)return l+r;if(a&&(s+=l.length-s),_h(i)){if(t.slice(s).search(i)){var c,f=l;for(i.global||(i=sf(i.source,Tl(Ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var u=c.index;l=l.slice(0,u===it?s:u)}}else if(t.indexOf(pi(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function wc(t){return t=Tl(t),t&&ke.test(t)?t.replace(xe,mr):t}function kc(t,e,n){return t=Tl(t),e=n?it:e,e===it?H(t)?rt(t):x(t):t.match(e)||[]}function Cc(t){var e=null==t?0:t.length,n=yo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new cf(lt);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++r<e;){var i=t[r];if(s(i[0],this,n))return s(i[1],this,n)}})}function Tc(t){return In(Bn(t,!0))}function jc(t){return function(){return t}}function $c(t,e){return null==t||t!==t?e:t}function Ac(t){return t}function Sc(t){return Br("function"==typeof t?t:Bn(t,!0))}function Oc(t){return qr(Bn(t,!0))}function Mc(t,e){return Vr(t,Bn(e,!0))}function Ec(t,e,n){var r=Dl(e),i=ir(e,r);null!=n||nl(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=ir(e,Dl(e)));var o=!(nl(n)&&"chain"in n&&!n.chain),a=Qs(t);return c(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Bi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,v([this.value()],arguments))})}),t}function Pc(){return nr._===this&&(nr._=_f),this}function Nc(){}function Fc(t){return t=_l(t),ni(function(e){return Wr(e,t)})}function Rc(t){return Po(t)?A(Yo(t)):Xr(t)}function Bc(t){return function(e){return null==t?it:ar(t,e)}}function Dc(){return[]}function zc(){return!1}function Ic(){return{}}function Lc(){return""}function qc(){return!0}function Vc(t,e){if(t=_l(t),t<1||t>Et)return[];var n=Ft,r=Uf(t,Ft);e=yo(e),t-=Ft;for(var i=P(r,e);++n<t;)e(n);return i}function Hc(t){return gh(t)?g(t,Yo):dl(t)?[t]:Bi(Ou(t))}function Uc(t){var e=++vf;return Tl(t)+e}function Wc(t){return t&&t.length?Gn(t,Ac,yr):it}function Zc(t,e){return t&&t.length?Gn(t,yo(e,2),yr):it}function Jc(t){return $(t,Ac)}function Gc(t,e){return $(t,yo(e,2))}function Xc(t){return t&&t.length?Gn(t,Ac,Ir):it}function Yc(t,e){return t&&t.length?Gn(t,yo(e,2),Ir):it}function Kc(t){return t&&t.length?E(t,Ac):0}function Qc(t,e){return t&&t.length?E(t,yo(e,2)):0}e=null==e?nr:br.defaults(nr.Object(),e,br.pick(nr,Hn));var tf=e.Array,ef=e.Date,nf=e.Error,rf=e.Function,of=e.Math,af=e.Object,sf=e.RegExp,lf=e.String,cf=e.TypeError,ff=tf.prototype,uf=rf.prototype,hf=af.prototype,pf=e["__core-js_shared__"],df=uf.toString,gf=hf.hasOwnProperty,vf=0,mf=function(){var t=/[^.]+$/.exec(pf&&pf.keys&&pf.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),yf=hf.toString,bf=df.call(af),_f=nr._,xf=sf("^"+df.call(gf).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wf=or?e.Buffer:it,kf=e.Symbol,Cf=e.Uint8Array,Tf=wf?wf.allocUnsafe:it,jf=Z(af.getPrototypeOf,af),$f=af.create,Af=hf.propertyIsEnumerable,Sf=ff.splice,Of=kf?kf.isConcatSpreadable:it,Mf=kf?kf.iterator:it,Ef=kf?kf.toStringTag:it,Pf=function(){try{var t=xo(af,"defineProperty");return t({},"",{}),t}catch(t){}}(),Nf=e.clearTimeout!==nr.clearTimeout&&e.clearTimeout,Ff=ef&&ef.now!==nr.Date.now&&ef.now,Rf=e.setTimeout!==nr.setTimeout&&e.setTimeout,Bf=of.ceil,Df=of.floor,zf=af.getOwnPropertySymbols,If=wf?wf.isBuffer:it,Lf=e.isFinite,qf=ff.join,Vf=Z(af.keys,af),Hf=of.max,Uf=of.min,Wf=ef.now,Zf=e.parseInt,Jf=of.random,Gf=ff.reverse,Xf=xo(e,"DataView"),Yf=xo(e,"Map"),Kf=xo(e,"Promise"),Qf=xo(e,"Set"),tu=xo(e,"WeakMap"),eu=xo(af,"create"),nu=tu&&new tu,ru={},iu=Ko(Xf),ou=Ko(Yf),au=Ko(Kf),su=Ko(Qf),lu=Ko(tu),cu=kf?kf.prototype:it,fu=cu?cu.valueOf:it,uu=cu?cu.toString:it,hu=function(){function t(){}return function(e){if(!nl(e))return{};if($f)return $f(e);t.prototype=e;var n=new t;return t.prototype=it,n}}();n.templateSettings={escape:Te,evaluate:je,interpolate:$e,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=hu(r.prototype),i.prototype.constructor=i,_.prototype=hu(r.prototype),_.prototype.constructor=_,nt.prototype.clear=Ie,nt.prototype.delete=Ke,nt.prototype.get=Qe,nt.prototype.has=tn,nt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=an,nn.prototype.has=sn,nn.prototype.set=ln,cn.prototype.clear=fn,cn.prototype.delete=un,cn.prototype.get=hn,cn.prototype.has=pn,cn.prototype.set=dn,gn.prototype.add=gn.prototype.push=vn,gn.prototype.has=mn,yn.prototype.clear=bn,yn.prototype.delete=_n,yn.prototype.get=xn,yn.prototype.has=wn,yn.prototype.set=kn;var pu=qi(er),du=qi(rr,!0),gu=Vi(),vu=Vi(!0),mu=nu?function(t,e){return nu.set(t,e),t}:Ac,yu=Pf?function(t,e){return Pf(t,"toString",{configurable:!0,enumerable:!1,value:jc(e),writable:!0})}:Ac,bu=ni,_u=Nf||function(t){return nr.clearTimeout(t)},xu=Qf&&1/G(new Qf([,-0]))[1]==Mt?function(t){return new Qf(t)}:Nc,wu=nu?function(t){return nu.get(t)}:Nc,ku=zf?Z(zf,af):Dc,Cu=zf?function(t){for(var e=[];t;)v(e,ku(t)),t=jf(t);return e}:Dc,Tu=dr;(Xf&&Tu(new Xf(new ArrayBuffer(1)))!=le||Yf&&Tu(new Yf)!=Jt||Kf&&Tu(Kf.resolve())!=Kt||Qf&&Tu(new Qf)!=ee||tu&&Tu(new tu)!=oe)&&(Tu=function(t){var e=dr(t),n=e==Yt?t.constructor:it,r=n?Ko(n):"";if(r)switch(r){case iu:return le;case ou:return Jt;case au:return Kt;case su:return ee;case lu:return oe}return e});var ju=pf?Qs:zc,$u=Go(mu),Au=Rf||function(t,e){return nr.setTimeout(t,e)},Su=Go(yu),Ou=Io(function(t){t=Tl(t);var e=[];return Oe.test(t)&&e.push(""),t.replace(Me,function(t,n,r,i){e.push(r?i.replace(Le,"$1"):n||t)}),e}),Mu=ni(function(t,e){return Us(t)?Vn(t,tr(e,1,Us,!0)):[]}),Eu=ni(function(t,e){var n=ba(e);return Us(n)&&(n=it),Us(t)?Vn(t,tr(e,1,Us,!0),yo(n,2)):[]}),Pu=ni(function(t,e){var n=ba(e);return Us(n)&&(n=it),Us(t)?Vn(t,tr(e,1,Us,!0),it,n):[]}),Nu=ni(function(t){var e=g(t,xi);return e.length&&e[0]===t[0]?kr(e):[]}),Fu=ni(function(t){var e=ba(t),n=g(t,xi);return e===ba(n)?e=it:n.pop(),n.length&&n[0]===t[0]?kr(n,yo(e,2)):[]}),Ru=ni(function(t){var e=ba(t),n=g(t,xi);return e="function"==typeof e?e:it,e&&n.pop(),n.length&&n[0]===t[0]?kr(n,it,e):[]}),Bu=ni(wa),Du=ho(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return Kr(t,g(e,function(t){return Mo(t,n)?+t:t}).sort(Pi)),r}),zu=ni(function(t){return di(tr(t,1,Us,!0))}),Iu=ni(function(t){var e=ba(t);return Us(e)&&(e=it),di(tr(t,1,Us,!0),yo(e,2))}),Lu=ni(function(t){var e=ba(t);return e="function"==typeof e?e:it,di(tr(t,1,Us,!0),it,e)}),qu=ni(function(t,e){return Us(t)?Vn(t,e):[]}),Vu=ni(function(t){return bi(h(t,Us))}),Hu=ni(function(t){var e=ba(t);return Us(e)&&(e=it),bi(h(t,Us),yo(e,2))}),Uu=ni(function(t){var e=ba(t);return e="function"==typeof e?e:it,bi(h(t,Us),it,e)}),Wu=ni(Ha),Zu=ni(function(t){var e=t.length,n=e>1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Ua(t,n)}),Ju=ho(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof _&&Mo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Xa,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Gu=Ii(function(t,e,n){gf.call(t,n)?++t[n]:Nn(t,n,1)}),Xu=Gi(ca),Yu=Gi(fa),Ku=Ii(function(t,e,n){gf.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Qu=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Po(e),a=Hs(t)?tf(t.length):[];return pu(t,function(t){var l=i?e:o&&null!=t?t[e]:it;a[++r]=l?s(l,t,n):Tr(t,e,n)}),a}),th=Ii(function(t,e,n){Nn(t,n,e)}),eh=Ii(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),nh=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Eo(t,e[0],e[1])?e=[]:n>2&&Eo(e[0],e[1],e[2])&&(e=[e[0]]),Zr(t,tr(e,1),[])}),rh=Ff||function(){return nr.Date.now()},ih=ni(function(t,e,n){var r=ht;if(n.length){var i=J(n,mo(ih));r|=mt}return lo(t,r,e,n,i)}),oh=ni(function(t,e,n){var r=ht|pt;if(n.length){var i=J(n,mo(oh));r|=mt}return lo(e,r,t,n,i)}),ah=ni(function(t,e){return qn(t,1,e)}),sh=ni(function(t,e,n){return qn(t,wl(e)||0,n)});Ss.Cache=cn;var lh=bu(function(t,e){e=1==e.length&&gh(e[0])?g(e[0],F(yo())):g(tr(e,1),F(yo()));var n=e.length;return ni(function(r){for(var i=-1,o=Uf(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return s(t,this,r)})}),ch=ni(function(t,e){var n=J(e,mo(ch));return lo(t,mt,it,e,n)}),fh=ni(function(t,e){var n=J(e,mo(fh));return lo(t,yt,it,e,n)}),uh=ho(function(t,e){return lo(t,_t,it,it,it,e)}),hh=io(yr),ph=io(function(t,e){return t>=e}),dh=jr(function(){return arguments}())?jr:function(t){return rl(t)&&gf.call(t,"callee")&&!Af.call(t,"callee")},gh=tf.isArray,vh=lr?F(lr):$r,mh=If||zc,yh=cr?F(cr):Ar,bh=fr?F(fr):Mr,_h=ur?F(ur):Nr,xh=hr?F(hr):Fr,wh=pr?F(pr):Rr,kh=io(Ir),Ch=io(function(t,e){return t<=e}),Th=Li(function(t,e){if(Bo(e)||Hs(e))return void Di(e,Dl(e),t);for(var n in e)gf.call(e,n)&&On(t,n,e[n])}),jh=Li(function(t,e){Di(e,zl(e),t)}),$h=Li(function(t,e,n,r){Di(e,zl(e),t,r)}),Ah=Li(function(t,e,n,r){Di(e,Dl(e),t,r)}),Sh=ho(Fn),Oh=ni(function(t){return t.push(it,An),s($h,it,t)}),Mh=ni(function(t){return t.push(it,qo),s(Rh,it,t)}),Eh=Ki(function(t,e,n){t[e]=n},jc(Ac)),Ph=Ki(function(t,e,n){gf.call(t,e)?t[e].push(n):t[e]=[n]},yo),Nh=ni(Tr),Fh=Li(function(t,e,n){Hr(t,e,n)}),Rh=Li(function(t,e,n,r){Hr(t,e,n,r)}),Bh=ho(function(t,e){return null==t?{}:(e=g(e,Yo),Jr(t,Vn(go(t),e)))}),Dh=ho(function(t,e){return null==t?{}:Jr(t,g(e,Yo))}),zh=so(Dl),Ih=so(zl),Lh=Wi(function(t,e,n){return e=e.toLowerCase(),t+(n?nc(e):e)}),qh=Wi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Vh=Wi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Hh=Ui("toLowerCase"),Uh=Wi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Wh=Wi(function(t,e,n){return t+(n?" ":"")+Jh(e)}),Zh=Wi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Jh=Ui("toUpperCase"),Gh=ni(function(t,e){try{return s(t,it,e)}catch(t){return Ys(t)?t:new nf(t)}}),Xh=ho(function(t,e){return c(e,function(e){e=Yo(e),Nn(t,e,ih(t[e],t))}),t}),Yh=Xi(),Kh=Xi(!0),Qh=ni(function(t,e){return function(n){return Tr(n,t,e)}}),tp=ni(function(t,e){return function(n){return Tr(t,n,e)}}),ep=to(g),np=to(u),rp=to(b),ip=ro(),op=ro(!0),ap=Qi(function(t,e){return t+e},0),sp=ao("ceil"),lp=Qi(function(t,e){return t/e},1),cp=ao("floor"),fp=Qi(function(t,e){return t*e},1),up=ao("round"),hp=Qi(function(t,e){return t-e},0);return n.after=ws,n.ary=ks,n.assign=Th,n.assignIn=jh,n.assignInWith=$h,n.assignWith=Ah,n.at=Sh,n.before=Cs,n.bind=ih,n.bindAll=Xh,n.bindKey=oh,n.castArray=Bs,n.chain=Ja,n.chunk=ea,n.compact=na,n.concat=ra,n.cond=Cc,n.conforms=Tc,n.constant=jc,n.countBy=Gu,n.create=jl,n.curry=Ts,n.curryRight=js,n.debounce=$s,n.defaults=Oh,n.defaultsDeep=Mh,n.defer=ah,n.delay=sh,n.difference=Mu,n.differenceBy=Eu,n.differenceWith=Pu,n.drop=ia,n.dropRight=oa,n.dropRightWhile=aa,n.dropWhile=sa,n.fill=la,n.filter=os,n.flatMap=as,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=ua,n.flattenDeep=ha,n.flattenDepth=pa,n.flip=As,n.flow=Yh,n.flowRight=Kh,n.fromPairs=da,n.functions=Pl,n.functionsIn=Nl,n.groupBy=Ku,n.initial=ma,n.intersection=Nu,n.intersectionBy=Fu,n.intersectionWith=Ru,n.invert=Eh,n.invertBy=Ph,n.invokeMap=Qu,n.iteratee=Sc,n.keyBy=th,n.keys=Dl,n.keysIn=zl,n.map=hs,n.mapKeys=Il,n.mapValues=Ll,n.matches=Oc,n.matchesProperty=Mc,n.memoize=Ss,n.merge=Fh,n.mergeWith=Rh,n.method=Qh,n.methodOf=tp,n.mixin=Ec,n.negate=Os,n.nthArg=Fc,n.omit=Bh,n.omitBy=ql,n.once=Ms,n.orderBy=ps,n.over=ep,n.overArgs=lh,n.overEvery=np,n.overSome=rp,n.partial=ch,n.partialRight=fh,n.partition=eh,n.pick=Dh,n.pickBy=Vl,n.property=Rc,n.propertyOf=Bc,n.pull=Bu,n.pullAll=wa,n.pullAllBy=ka,n.pullAllWith=Ca,n.pullAt=Du,n.range=ip,n.rangeRight=op,n.rearg=uh,n.reject=vs,n.remove=Ta,n.rest=Es,n.reverse=ja,n.sampleSize=ys,n.set=Ul,n.setWith=Wl,n.shuffle=bs,n.slice=$a,n.sortBy=nh,n.sortedUniq=Na,n.sortedUniqBy=Fa,n.split=pc,n.spread=Ps,n.tail=Ra,n.take=Ba,n.takeRight=Da,n.takeRightWhile=za,n.takeWhile=Ia,n.tap=Ga,n.throttle=Ns,n.thru=Xa,n.toArray=yl,n.toPairs=zh,n.toPairsIn=Ih,n.toPath=Hc,n.toPlainObject=kl,n.transform=Zl,n.unary=Fs,n.union=zu,n.unionBy=Iu,n.unionWith=Lu,n.uniq=La,n.uniqBy=qa,n.uniqWith=Va,n.unset=Jl,n.unzip=Ha,n.unzipWith=Ua,n.update=Gl,n.updateWith=Xl,n.values=Yl,n.valuesIn=Kl,n.without=qu,n.words=kc,n.wrap=Rs,n.xor=Vu,n.xorBy=Hu,n.xorWith=Uu,n.zip=Wu,n.zipObject=Wa,n.zipObjectDeep=Za,n.zipWith=Zu,n.entries=zh,n.entriesIn=Ih,n.extend=jh,n.extendWith=$h,Ec(n,n),n.add=ap,n.attempt=Gh,n.camelCase=Lh,n.capitalize=nc,n.ceil=sp,n.clamp=Ql,n.clone=Ds,n.cloneDeep=Is,n.cloneDeepWith=Ls,n.cloneWith=zs,n.conformsTo=qs,n.deburr=rc,n.defaultTo=$c,n.divide=lp,n.endsWith=ic,n.eq=Vs,n.escape=oc,n.escapeRegExp=ac,n.every=is,n.find=Xu,n.findIndex=ca,n.findKey=$l,n.findLast=Yu,n.findLastIndex=fa,n.findLastKey=Al,n.floor=cp,n.forEach=cs,n.forEachRight=fs,n.forIn=Sl,n.forInRight=Ol,n.forOwn=Ml,n.forOwnRight=El,n.get=Fl,n.gt=hh,n.gte=ph,n.has=Rl,n.hasIn=Bl,n.head=ga,n.identity=Ac,n.includes=us,n.indexOf=va,n.inRange=tc,n.invoke=Nh,n.isArguments=dh,n.isArray=gh,n.isArrayBuffer=vh,n.isArrayLike=Hs,n.isArrayLikeObject=Us,n.isBoolean=Ws,n.isBuffer=mh,n.isDate=yh,n.isElement=Zs,n.isEmpty=Js,n.isEqual=Gs,n.isEqualWith=Xs,n.isError=Ys,n.isFinite=Ks,n.isFunction=Qs,n.isInteger=tl,n.isLength=el,n.isMap=bh,n.isMatch=il,n.isMatchWith=ol,n.isNaN=al,n.isNative=sl,n.isNil=cl,n.isNull=ll,n.isNumber=fl,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=ul,n.isRegExp=_h,n.isSafeInteger=hl,n.isSet=xh,n.isString=pl,n.isSymbol=dl,n.isTypedArray=wh,n.isUndefined=gl,n.isWeakMap=vl,n.isWeakSet=ml,n.join=ya,n.kebabCase=qh,n.last=ba,n.lastIndexOf=_a,n.lowerCase=Vh,n.lowerFirst=Hh,n.lt=kh,n.lte=Ch,n.max=Wc,n.maxBy=Zc,n.mean=Jc,n.meanBy=Gc,n.min=Xc,n.minBy=Yc,n.stubArray=Dc,n.stubFalse=zc,n.stubObject=Ic,n.stubString=Lc,n.stubTrue=qc,n.multiply=fp,n.nth=xa,n.noConflict=Pc,n.noop=Nc,n.now=rh,n.pad=sc,n.padEnd=lc,n.padStart=cc,n.parseInt=fc,n.random=ec,n.reduce=ds,n.reduceRight=gs,n.repeat=uc,n.replace=hc,n.result=Hl,n.round=up,n.runInContext=t,n.sample=ms,n.size=_s,n.snakeCase=Uh,n.some=xs,n.sortedIndex=Aa,n.sortedIndexBy=Sa,n.sortedIndexOf=Oa,n.sortedLastIndex=Ma,n.sortedLastIndexBy=Ea,n.sortedLastIndexOf=Pa,n.startCase=Wh,n.startsWith=dc,n.subtract=hp,n.sum=Kc,n.sumBy=Qc,n.template=gc,n.times=Vc,n.toFinite=bl,n.toInteger=_l,n.toLength=xl,n.toLower=vc,n.toNumber=wl,n.toSafeInteger=Cl,n.toString=Tl,n.toUpper=mc,n.trim=yc,n.trimEnd=bc,n.trimStart=_c,n.truncate=xc,n.unescape=wc,n.uniqueId=Uc,n.upperCase=Zh,n.upperFirst=Jh,n.each=cs,n.eachRight=fs,n.first=ga,Ec(n,function(){var t={};return er(n,function(e,r){gf.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION=ot,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){_.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new _(this);n=n===it?1:Hf(_l(n),0);var i=this.clone();return r?i.__takeCount__=Uf(n,i.__takeCount__):i.__views__.push({size:Uf(n,Ft),type:t+(i.__dir__<0?"Right":"")}),i},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==At||n==Ot;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:yo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Ac)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new _(this):this.map(function(n){return Tr(n,t,e)})}),_.prototype.reject=function(t){return this.filter(Os(yo(t)))},_.prototype.slice=function(t,e){t=_l(t);var n=this;return n.__filtered__&&(t>0||e<0)?new _(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=_l(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(Ft)},er(_.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,c=e instanceof _,f=l[0],u=c||gh(e),h=function(t){var e=a.apply(n,v([t],l));return o&&p?e[0]:e};u&&r&&"function"==typeof f&&1!=f.length&&(c=u=!1);var p=this.__chain__,d=!!this.__actions__.length,g=s&&!p,m=c&&!d;if(!s&&u){e=m?e:new _(this);var y=t.apply(e,l);return y.__actions__.push({func:Xa,args:[h],thisArg:it}),new i(y,p)}return g&&m?t.apply(this,l):(y=this.thru(h),g?o?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=ff[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(gh(n)?n:[],t)}return this[r](function(n){return e.apply(gh(n)?n:[],t)})}}),er(_.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"",o=ru[i]||(ru[i]=[]);o.push({name:e,func:r})}}),ru[Yi(it,pt).name]=[{name:"wrapper",func:it}],_.prototype.clone=S,_.prototype.reverse=Y,_.prototype.value=et,n.prototype.at=Ju,n.prototype.chain=Ya,n.prototype.commit=Ka,n.prototype.next=Qa,n.prototype.plant=es,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,Mf&&(n.prototype[Mf]=ts),n},br=yr();nr._=br,r=function(){return br}.call(e,n,e,i),!(r!==it&&(i.exports=r))}).call(this)}).call(e,function(){return this}(),n(229)(t))},function(t,e,n){var r,i;n(222),r=n(62);var o=n(206);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-763ea1ba",t.exports=r},function(t,e,n){var r,i;n(219),r=n(73);var o=n(203);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-699ae618",t.exports=r},function(t,e,n){var r,i;n(220),r=n(76);var o=n(204);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-6b5883e1",t.exports=r},function(t,e,n){var r,i;r=n(79);var o=n(200);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(87),o=r(i),a=n(85),s=r(a),l=n(227);e.default={data:function(){return{items:[],query:"",current:-1,loading:!1,selectFirst:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length<this.minChars||(this.loading=!0,this.fetch().then(function(e){if(t.query){var n=e.data;n=t.prepareResponseData?t.prepareResponseData(n):n,t.items=t.limit?n.slice(0,t.limit):n,t.current=-1,t.loading=!1,t.selectFirst&&t.down()}}))):this.reset()},fetch:function(){if(!this.$http)return l.util.warn("You need to install the `vue-resource` plugin",this);if(!this.src)return l.util.warn("You need to set the `src` property",this);var t=this.queryParamName?this.src:this.src+this.query,e=this.queryParamName?(0,s.default)((0,o.default)({},this.queryParamName,this.query),this.data):this.data;return this.$http.get(t,{params:e})},reset:function(){this.items=[],this.query="",this.loading=!1},setActive:function(t){this.current=t},activeClass:function(t){return{active:this.current===t}},hit:function(){this.current!==-1&&this.onHit(this.items[this.current])},up:function(){this.current>0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.current<this.items.length-1?this.current++:this.current=-1},onHit:function(){l.util.warn("You need to implement the `onHit` method",this)}}}},function(t,e){"use strict";var n=t.exports,r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};Object.keys(r).forEach(function(t){var e=r[t],i=n[t]={};i.open="["+e[0]+"m",i.close="["+e[1]+"m"})},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{}},mounted:function(){t(".collection-container").hide(),t(".collection-description-complete").hide(),t("#show-main-collections").hide()},methods:{pickOtherCollection:function(e){t("#show-collection-"+e).hasClass("btn-primary")||(t("#main-panel").hide(),t("#show-main-collections").show(),t(".collection-container").removeClass("selected"),t(".collection-container:not(.selected)").hide(),t(".collection-description-complete").hide(),t(".collection-description").show(),t(".btn-collection").removeClass("btn-primary"),t("#show-collection-"+e).addClass("btn-primary"),t(".collection-container#collection-panel-"+e).show(),t(".collection-container#collection-panel-"+e).addClass("selected"))},showMainPanel:function(){t(".collection-container").removeClass("selected"),t(".btn-collection").removeClass("btn-primary"),t(".collection-container").hide(),t("#main-panel").show(),t("#show-main-collections").hide()},showCompleteDescription:function(e){t(".collection-description-complete").hide(),t("#collection-description-short-"+e).hide(),t("#collection-description-complete-"+e).show()},hideCompleteDescription:function(e){t(".collection-description-complete").hide(),t("#collection-description-short-"+e).show()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(82),o=r(i),a=n(37),s=r(a),l=n(57),c=r(l);e.default={el:"#drawing-zone",MODE_RECT:"RECT",MODE_FREE:"FREE",ZOOM_IN:"in",ZOOM_OUT:"out",components:{typeahead:s.default,zoomview:c.default},data:{mode:"",isRect:!0,normalizePath:"",readOnly:!1,formView:!0,useClipPath:!1,transformMatrix:"",fragmentPath:"",canZoom:!0,displayMask:!1},mounted:function(){var t=this;this.initialDrawingMode=null,this.drawingComponent=o.default.init({wrapperId:"#iconolab-image-wrapper",actionWrapper:"#action-wrapper",readOnly:!1,onDrawingModeChange:function(e){t.setDrawingMode(e,!1)}}),this.$refs.zoomview.setZoomTarget(this.drawingComponent.getPaper()),this.showForm()},methods:{computeCentreredViewBox:function(){var t=this.$refs.zoomSvg,e=[],n=t.getAttribute("width"),r=t.getAttribute("height"),i=n/100,o=r/100,a=this.drawingComponent.getShapeBBox();return e=[(a.x-1)*i,(a.y-1)*o,(a.w+2)*i,(a.h+2)*o],e.join(" ")},computeZoomedViewBox:function(){var t=[],e=this.$refs.zoomSvg,n=this.drawingComponent.getShapeBBox(),r=e.getAttribute("width"),i=e.getAttribute("height"),o=r/100,a=i/100;n.x=n.x*o,n.y=n.y*a,n.w=n.w*o,n.h=n.h*a;var s=r/i;return n.w>n.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(192),s=r(a);e.default=(o={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function t(){var t="";return this.transformMatrix&&(t="matrix("+this.transformMatrix+")"),t}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){
+var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length<e.length){var i=e.slice(t.length);i.forEach(function(t,e){t.action="add",r.push(t)})}this.tags=r},showTextDiff:function(e,n){this.switchMode("textMode");for(var r=iconolab.JsDiff.diffWords(e,n),i=document.createDocumentFragment(),o=0;o<r.length;o++){if(r[o].added&&r[o+1]&&r[o+1].removed){var a=r[o];r[o]=r[o+1],r[o+1]=a}var s;r[o].removed?(s=document.createElement("del"),s.appendChild(document.createTextNode(r[o].value))):r[o].added?(s=document.createElement("ins"),s.appendChild(document.createTextNode(r[o].value))):s=document.createTextNode(r[o].value),i.appendChild(s)}this.diffText=t("<div>").append(i).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i),a=n(53),s=r(a),l={title:"",description:"",fragment:"",tags:[],readonly:!0};e.default={props:{action:String,annotation:{type:Object,default:function(){return null}}},components:{"tag-list":o.default},data:function(){return l},watch:{annotation:function(t){t?Object.assign(this,{title:t.title,description:t.description,fragment:t.fragment,tags:t.tags.slice(),readonly:!0}):this.reset()}},computed:{formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var t=this.tags.map(function(t){return{tag_input:"string"==typeof t.tag_link&&t.tag_link.length?t.tag_link:t.tag_label,tag_label:t.tag_label,accuracy:t.accuracy,relevancy:t.relevancy}});return JSON.stringify(t)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(t){this.tags=t},reset:function(){Object.assign(this,l)}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(188),s=r(a),l=n(187),c=r(l),f=n(190),u=r(f);e.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1}},components:{shapeRect:s.default,shapeFree:c.default,zoomThumbnail:u.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&"rect"===this.mode,"canvas--free":!this.readonly&&"free"===this.mode}}},watch:{mode:function(t){this.reset(),"free"===t&&this.handleDrawFree(),"rect"===t&&this.handleDrawRect()},loaded:function(t){if(t){var e=this.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",e.width,e.height);var n=[0,0,this.imageWidth,this.imageHeight],r={width:e.width,height:e.height};Object.assign(this,{viewBox:n,viewport:r});var i=15*Math.min(n[2],n[3])/r.width;this.$refs.rect.handlerSize=i,this.$refs.free.handlerRadius=i/2,this.paper.attr({viewBox:this.viewBox}),this.annotation?this.loadAnnotation():("free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect())}},annotation:function(t){this.reset(),this.readonly=!!t,this.annotation&&this.loadAnnotation()},scale:function(t){var e=this,n=0;if(t>1&&(n=t-1),1===t)this.resetViewBox();else{var r=this.getCenter(),i=this.imgMinSize-this.imgMinSize*n,o=i,a=[r.x-i/2,r.y-o/2,i,o];this.hideTooltip(),this.animateViewBox(a,function(){return e.showTooltip()})}}},mounted:function(){var t=this,e=new Image;e.onload=function(n){t.paper=new o.default(t.$refs.svg),t.imgMinSize=Math.min(e.width,e.height),console.log("Image: %s x %s",e.width,e.height),Object.assign(t,{imageWidth:e.width,imageHeight:e.height,loaded:!0})},e.src=this.image},methods:{hideTooltip:function(){"free"===this.mode&&this.$refs.free.hideTooltip(),"rect"===this.mode&&this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox(),"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},loadAnnotation:function(){var t=this;if(this.annotation.fragment.length>0){var e=this.annotation.fragment.split(";"),n=e[0],r=e[1].toLowerCase();this.mode=r,this.$nextTick(function(){n=t.denormalizePath(n),"free"===r&&t.$refs.free.fromSVGPath(n,t.tooltip),"rect"===r&&t.$refs.rect.fromSVGPath(n,t.tooltip)})}},setMode:function(t){this.readonly||(this.mode=t)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(t){var e=this.viewBox.slice();e[0]=t.x,e[1]=t.y,this.paper.attr({viewBox:e})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(t,e){var n=this,r=this.viewBox.slice();o.default.animate(r,t,function(t){return n.paper.attr({viewBox:t})},350,mina.easeinout,function(){n.viewBox=t,e&&e()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(t){var e=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(t.clientX-e.left)/Math.min(n.x,n.y),i=(t.clientY-e.top)/Math.min(n.x,n.y);return{x:r,y:i}},computeHandlerSize:function(t){return 60*Math.min(this.viewBox[2],this.viewBox[3])/this.imageWidth},normalizePath:function(t){var e=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},denormalizePath:function(t){var e=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDrawFree:function(){var e=this;this.removeEventHandlers();var n,r=function(t,e){n=null,this.$refs.free.addPoint(t,e)};this.paper.click(function(i){if(!n&&t(i.target).is("image")&&!e.$refs.free.closed){var o=e.computeOffset(i),a=o.x,s=o.y;n=setTimeout(r.bind(e,a,s),190)}})},handleDrawRect:function(){var t=this;this.removeEventHandlers();var e={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){t.$refs.rect.width>0&&t.$refs.rect.height>0||(e=t.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var o,a;n=t.computeOffset(i);var s=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-s,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-l),o&&a&&Object.assign(t.$refs.rect,{x:o,y:a,width:s,height:l})}}),this.paper.mouseup(function(e){if(r){if(r=!1,0===t.$refs.rect.width&&0===t.$refs.rect.height){var n=t.computeOffset(e),i=t.imgMinSize/4;Object.assign(t.$refs.rect,{x:n.x-i/2,y:n.y-i/2,width:i,height:i})}t.$nextTick(function(){t.$refs.rect.addResizeHandlers(),t.$refs.rect.addTooltip()})}})}}}}).call(e,n(1))},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["comment","username","email","date"],computed:{dateFormatted:function(){var t=new Date(this.date),e=t.getDate(),n=t.getMonth()+1,r=t.getFullYear();return e+"/"+n+"/"+r}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(185),o=r(i);e.default={props:["annotation","fetch"],components:{Comment:o.default},data:function(){return{comments:[]}},computed:{commentsURL:function(){return this.fetch.replace(":annotation_guid",this.annotation.annotation_guid)}},watch:{annotation:function(e){var n=this;e?t.getJSON(this.commentsURL).then(function(t){return n.comments=t}):this.comments=[]}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","readonly"],data:function(){return{path:"",closed:!1,points:[],handlerRadius:30}},mounted:function(){},watch:{closed:function(t){t&&(this.path+=" Z")},points:function(t){var e="M";if(!(t.length<=1)){e+=t[0].x+","+t[0].y;for(var n=0;n<t.length;n++)if(0!=n){var r=t[n],i="L"+r.x+","+r.y;e+=" "+i}this.closed&&(e+=" Z"),this.path=e}}},methods:{addPoint:function(t,e){var n=this;this.points.push({x:t,y:e}),this.$nextTick(function(){var t=n.$refs.handlers[n.$refs.handlers.length-1];n.addResizeHandler(t)})},clear:function(){this.destroyTooltip(),Object.assign(this,{points:[],closed:!1,path:""})},getTooltipTarget:function(){return this.$refs.path},fromSVGPath:function(t,e){var n=this,r=o.default.parsePathString(t),i=[];r.map(function(t){"Z"!==t[0]&&i.push({x:t[1],y:t[2]})}),this.points=i,this.closed=!0,this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){return this.$parent.normalizePath(this.path)+";FREE"},addResizeHandler:function(t){var e=this,n=this,r=new o.default(t),i=!1;r.click(function(t){var n=parseInt(r.attr("data-key"),10);0===n&&e.points.length>2&&(e.closed=!0,e.$nextTick(function(){setTimeout(function(){return e.addTooltip()},250)}))}),r.dblclick(function(t){var n=new o.default(t.target),r=parseInt(n.attr("data-key"),10);e.points.splice(r,1)});var a={onMove:function(t,e,r,o,a){i=!0;var s=n.$parent.computeOffset(a);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return e.hideTooltip()},onEnd:function(t){i&&(i=!1,n.showTooltip())}};r.drag(a.onMove,a.onStart,a.onEnd)},addResizeHandlers:function(){var t=this;this.$refs.handlers.forEach(function(e){return t.addResizeHandler(e)})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","tooltip","readonly"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0,handlerSize:60}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var t=this,e={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},n=new o.default(this.$refs.g);n.drag(e.onMove,e.onStart,e.onEnd)},watch:{x:function(t,e){this.transform="translate("+this.x+", "+this.y+")"},y:function(t,e){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var t=new o.default(this.$refs.shape),e=new o.default(this.$refs.topLeft),n=new o.default(this.$refs.bottomRight);t.node.removeAttribute("transform"),e.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var t=this,e=new o.default(this.$refs.shape),n=new o.default(this.$refs.topLeft),r=new o.default(this.$refs.bottomRight),i={onMove:function(t,i){var o=this.transform().diffMatrix.invert();o.e=o.f=0;var a=o.x(t,i),s=o.y(t,i);this.transform("t"+[a,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,c=r.getBBox().y-n.getBBox().y,f={width:l,height:c};this===n&&(f.transform=e.data("origTransform")+(e.data("origTransform")?"T":"t")+[a,s]),e.attr(f)},onStart:function(){t.isResizing=!0,e.data("origTransform",e.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){t.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(t,e){var n=this,r=o.default.path.getBBox(t);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var t,e=new o.default(this.$refs.shape),n=e.getBBox(),r=e.transform();if(r.global.length){var i=e.node.getAttribute("x"),a=e.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,a),s.y(i,a),n.width,n.height);t=l.getBBox().path,l.remove()}else t=e.getBBox().path;var c=o.default.path.toAbsolute(t).toString();return this.$parent.normalizePath(c)+";RECT"}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i);e.default={props:["original-title","original-description","original-tags"],components:{"tag-list":o.default},data:function(){return{title:"",description:"",tags:[],error:!1}},computed:{titleFormGroup:function(){return{"has-error":this.error}}},mounted:function(){var t=this;this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription),this.$on("error",function(e){e.title&&(t.error=!0)})},methods:{close:function(t){t.preventDefault(),this.$emit("close")},save:function(t){return t.preventDefault(),this.error=!1,0===this.title.trim().length?void this.$emit("error",{title:!0}):void this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e.default={props:["image","viewport","viewBox","imageWidth","imageHeight"],data:function(){return{thumbnailWidth:0,thumbnailHeight:0,loaded:!1}},computed:{x:function(){return this.viewBox[0]*this.getRatioX()},y:function(){return this.viewBox[1]*this.getRatioY()},width:function(){return this.viewBox[2]*this.getRatioX()},height:function(){return this.viewBox[3]*this.getRatioY()}},methods:{reset:function(){var t=new o.default(this.$refs.handler);t.node.removeAttribute("transform")},getRatioX:function(){return 0===this.imageWidth?0:this.thumbnailWidth/this.imageWidth},getRatioY:function(){return 0===this.imageHeight?0:this.thumbnailHeight/this.imageHeight}},mounted:function(){var t=this,e=new o.default(this.$refs.svg),n=new o.default(this.$refs.handler),r=new Image;r.onload=function(i){var o=t;e.attr({viewBox:[0,0,r.width,r.height]}),Object.assign(t,{thumbnailWidth:r.width,thumbnailHeight:r.height,loaded:!0});var a={onMove:function(t,e,n,r){var i=this.transform().diffMatrix.invert();i.e=i.f=0;var a=i.x(t,e),s=i.y(t,e),l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,s];this.transform(l),o.$emit("change",{x:this.getBBox().x*(o.imageWidth/o.thumbnailWidth),y:this.getBBox().y*(o.imageHeight/o.thumbnailHeight)})},onStart:function(){this.data("origTransform",this.transform().local),o.$emit("dragstart")},onEnd:function(){o.$emit("dragend")}};n.drag(a.onMove,a.onStart,a.onEnd)},r.src=this.image}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(37),o=r(i),a=n(54),s=r(a);e.default={data:function(){return{}},components:{Typeahead:o.default,diffviewer:s.default},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var l=i.getAttribute("data-path-type");l=l||"FREE";var c=this.$refs["fragment-field"];c.value=s+";"+l}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],l=this.$refs["proposal-tags"];0!==s.tags.length&&0!==l.tags.length&&a.showTagDiff(s.tags,l.tags)}if("frag"===n){var c=i.getAttribute("d"),f=r.getAttribute("d");a.showFragmentDiff(c,f)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["original-value"],data:function(){return{value:this.originalValue}},watch:{originalValue:function(t){this.value=t}},mounted:function(){this.originalValue&&(this.value=this.originalValue)},methods:{animate:function(){var t,e=0,n=1,r=function r(){return 5===this.value&&(n=-1),1===this.value&&(n=1),this.value+=n,10===++e?(clearTimeout(t),void(null===this.originalValue&&(this.value=null))):void(t=setTimeout(r.bind(this),100))};r.apply(this)},onMouseEnter:function(e){var n=t(e.target).data("value");this.$refs.buttons.forEach(function(e){t(e).data("value")<=n?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")})},onMouseLeave:function(e){var n=this;this.value?this.$refs.buttons.forEach(function(e){t(e).data("value")<=n.value?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")}):this.$refs.buttons.forEach(function(e){t(e).removeClass("btn--highlight")})},onClick:function(e){var n=parseInt(t(e.target).data("value"));this.value=n,this.$emit("change",{value:n})}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(193),o=r(i),a=n(56),s=r(a),l=n(53),c=r(l);e.default={props:{originalTags:{type:Array,default:function(){return[]}},readonly:{type:Boolean,default:!1}},data:function(){return{tags:c.default.cloneDeep(this.originalTags)}},components:{typeahead:s.default,"tag-list-item":o.default},watch:{originalTags:function(t){this.tags=c.default.cloneDeep(this.originalTags),this.hideAll()},tags:function(t){this.$emit("change",{tags:t})}},mounted:function(){var t=this;this.$refs.typeahead.$on("selected",function(e){t.tags.push(e)})},methods:{hideAll:function(){this.$refs.items&&this.$refs.items.forEach(function(t){return t.hide()})},replaceItemAt:function(t,e){var n=this.tags[t];Object.assign(n,e),this.tags.splice(t,1,n)},removeItemAt:function(t){this.tags.$remove(this.tags[t])}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(55),o=r(i),a=n(56),s=r(a);e.default={props:["index","label","accuracy","relevancy","readonly"],components:{typeahead:s.default,"color-buttons":o.default},data:function(){return{isNew:!0}},computed:{accuracyTitle:function(){return"Fiabilité : "+this.accuracy},relevancyTitle:function(){return"Pertinence : "+this.relevancy}},watch:{accuracy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())},relevancy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())}},mounted:function(){this.isNew=!this.accuracy&&!this.relevancy,this.$refs.accuracy.value=this.accuracy,this.$refs.relevancy.value=this.relevancy,t(this.$el).find(".collapse").collapse({toggle:!1}),this.isNew&&(this.$parent.hideAll(),this.show(),this.$refs.accuracy.animate())},methods:{isComplete:function(){return this.accuracy&&this.relevancy},onChange:function(t,e){var n={};n[t]=e,this.$parent.replaceItemAt(this.index,n)},show:function(){t(this.$el).find(".collapse").collapse("show")},hide:function(){t(this.$el).find(".collapse").collapse("hide")},toggle:function(e){e.preventDefault(),this.readonly||(this.$parent.hideAll(),t(this.$el).find(".collapse").collapse("toggle"))},remove:function(t){t.preventDefault(),t.stopPropagation(),this.readonly||this.$parent.removeItemAt(this.index)}}}}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",s="https://fr.wikipedia.org/w/api.php",l={reset:o.default.methods.reset},c=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],props:{placeholder:String,readonly:{type:Boolean,default:!1}},data:function(){return{src:a,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,c(this.src,query)},fetchWikiPedia:function(){this.src=s;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,l.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=null,i.relevancy=null,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},onHit:function(t){this.$emit("selected",t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.default={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a=n(194),s=r(a),l="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",c="https://fr.wikipedia.org/w/api.php",f={reset:o.default.methods.reset},u=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],components:{taglist:s.default},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:l,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString",placeholder:"..."}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,u(this.src,query)},fetchWikiPedia:function(){this.src=c;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,f.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(7),o=n(39),a=r(o),s=n(6),l=r(s);e.default={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new l.default(this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new l.default(t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a.default.enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),l=i+e,c=o+n;l+r.w>=a&&(l=a-r.w),c+r.h>=s&&(c=s-r.h),l=l<0?0:l,c=c<0?0:c;var f="T"+[l,c];this.attr("transform",f),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(182),o=r(i);e.default={init:function(){return new Vue(o.default)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local),
+this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,l=t.handler.transform().diffMatrix.invert();l.e=l.f=0,a=l.x(e,n),s=l.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e.default={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(81),s=r(a),l=n(7),c=n(39);r(c);o.default.plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var f=null,u=null,h=[],p={X:100,Y:100},d={x:1,y:1},g={width:850,height:850},v=[],m=!1,y=null,b=null,_=!1,x=null,w="#ff00ff",k="red",C="orange",T="#FF0000",j=8,$=!1,A=!0,S=!1,O=!0,M="RECT",E=M,P="FREE",N=[M,P],F=null,R=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),B=function(t){if(m)return void f.path(t).attr({stroke:"red",opacity:.6});var e=o.default.path.getBBox(t);x=f.rect(e.x,e.y,e.width,e.height),x.attr({fill:C,stroke:k,opacity:.6}),b=x,_=!1,S=!0,s.default.enable_resizer(f,b,g,v)},D=function(t){if(m)return void f.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o.default.parsePathString(t);e.map(function(t){"Z"!==t[0]?J(f,t[1],t[2],h):(S=!0,z(f,L))})},z=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r<h.length;r++)if(0!=r){var i=h[r],o="L"+i.x+","+i.y;n+=" "+o}n+=S?" Z":"",b&&b.remove(),b=t.path(n),b.attr({stroke:k,"vector-effect":"non-scaling-stroke","stroke-width":3,fill:"white",opacity:.1}),h.map(function(t){H();t.handler&&t.handler.toFront()}),"function"==typeof e&&S&&e(),!e&&S&&I()}},I=function(){b.attr({fill:C,strokeWidth:1,opacity:.6})},L=function(){O=!1,I()},q=function(t,e,n){t.isFirst&&h.length>2&&(S=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},H=function(){v.length||(v=[0,0,parseInt(u.width()),parseInt(u.height())]);var t=j*Math.min(v[2],v[3])/850;return t},U=function(t,e,n,r,i){$=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:l});var c=this.getBBox(),f=V(this.data("point"),c.x+H()/2,c.y+H()/2);f&&z(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?T:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!$||($=!1,void(A=!1))})},Z=function(t,e){var n,r=H(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?T:"",opacity:.9,stroke:w}),e},J=function(t,e,n,r){var i={x:e,y:n,id:R()};return S?void z(t,L):A?(i=Z(t,i),r.push(i),void z(t)):(A=!0,!1)},G=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}};t.mousedown(function(t){if(E!==P&&!S){var n=r(t);e.x=n.x,e.y=n.y,_=!0}}),t.mousemove(function(i){if(E!==P&&_){var o,a,s=r(i);n.x=s.x,n.y=s.y,x&&x.remove();var l=Math.abs(n.x-e.x),c=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.y<e.y&&n.x>e.x&&(o=n.x-l,a=n.y),n.y<e.y&&n.x<e.x&&(o=n.x,a=n.y),n.y>e.y&&n.x<e.x&&(o=n.x,a=n.y-c),o&&a&&(x=t.rect(o,a,l,c),x.attr({fill:C,stroke:k,opacity:.6}))}}),t.mouseup(function(){return!(E===P||S||!x)&&(b=x,s.default.enable_resizer(t,x,g,v),_=!1,void(S=!0))})},X=function(e){if(!m){var n=null,r=!1;e.dblclick(function(t){return E===M||(r=!0,n&&(n=clearTimeout(n),r=!1,S=!0,h.length>2&&z(e,L)),!1)});var i=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}},o=function(t,i){if(!r){if(E===M)return!0;if(!O)return!0;J(e,t,i,h),n=null,r=!1}};e.click(function(e){if(!n&&t(e.target).is(u)){var r=i(e),a=r.x,s=r.y;n=setTimeout(o.bind(this,a,s),190)}})}},Y=function(){l.eventEmitter.on("zoomChanged",function(t){d=t.zoomFactor,v=t.currentViewBox;var e=K.getPath();K.clear(),K.setPath(e)})},K={getPaper:function(){return f},setPath:function(t){var e=t.split(";");N.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=u.attr("width")/p.X,i=u.attr("height")/p.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o.default.matrix(r,0,0,i,0,0),s=o.default.path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===M&&B(s),e[1]===P&&D(s))}},setDrawingMode:function(t){N.indexOf(t)!==-1&&(E=t),"function"==typeof F&&F(E),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),l.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,$=!1,A=!0,S=!1,O=!0},getShapeBBox:function(){var t=this.getPath();return o.default.path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(E===M){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=f.rect(a.x(r,i),a.y(r,i),e.width,e.height);l=s.getBBox().path,s.remove()}else var l=b.getBBox().path;t=o.default.path.toAbsolute(l).toString()}else t=b.attr("d");var c=p.X/u.attr("width"),h=p.Y/u.attr("height");if((isNaN(c)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=E===M?";RECT":";FREE";var d=o.default.matrix(c,0,0,h,0,0);t=o.default.path.map(t,d).toString();var g=E===M?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=g}};e.default={init:function(e){u=t(e.wrapperId).find(".main-image").eq(0);var n=t(e.wrapperId).find(".cut-canvas").eq(0),r=t(e.wrapperId).find(".image-path").eq(0);if("function"==typeof e.onDrawingModeChange&&(F=e.onDrawingModeChange),!u.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=t('<svg version="1.1"></svg>').addClass("cut-canvas");t(e.wrapperId).append(n),n.append(u)}if(n.css({marginLeft:"auto",marginRight:"auto",width:g.width,height:g.height}),"boolean"==typeof e.readOnly&&e.readOnly===!0&&(m=!0),f=new o.default(n.get(0)),r.length){t(n).append(r);var i=r.attr("d");K.setPath(i),r.remove()}return Y(),X(f),G(f),K}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(184),o=r(i),a=n(183),s=r(a),l=n(186),c=r(l);e.default={Canvas:o.default,AnnotationForm:s.default,CommentList:c.default}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n(172),n(173),n(171);var i=n(212),o=(r(i),n(37)),a=r(o),s=n(80),l=r(s),c=n(57),f=r(c),u=n(191),h=r(u),p=n(181),d=r(p),g=n(54),v=r(g),m=n(20),y=r(m),b=n(83),_=r(b),x=n(55),w=r(x),k=n(36),C=r(k),T=n(152);Vue.config.ignoredElements=["mask"];var j={Cutout:l.default,JsDiff:T,JsonDiff:y.default,CollectionSelector:d.default,VueComponents:{Typeahead:a.default,MergeTool:h.default,Zoomview:f.default,DiffViewer:v.default,Editor:_.default,ColorButtons:w.default,TagList:C.default}};Vue.component("color-buttons",w.default),Vue.component("image-annotator",_.default.Canvas),Vue.component("annotation",_.default.Annotation),Vue.component("annotation-form",_.default.AnnotationForm),Vue.component("comment-list",_.default.CommentList),window.iconolab||(window.iconolab=j)},function(t,e,n){t.exports={default:n(102),__esModule:!0}},function(t,e,n){t.exports={default:n(103),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(86),o=r(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){var e=function t(){return i.apply(t,arguments)};return e._styles=t,e.__proto__=d,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;r<e;r++)n+=" "+t[r];if(!h.enabled||!n)return n;for(var i=this._styles,o=0;o<i.length;o++){var a=s[i[o]];n=a.open+n.replace(a.closeRe,a.open)+a.close}return n}function o(){var t={};return Object.keys(p).forEach(function(e){t[e]={get:function(){return r([e])}}}),t}var a=n(169),s=n(59),l=n(179),c=n(175),f=n(180),u=Object.defineProperties,h=t.exports,p=function(){var t={};return s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=new RegExp(a(s[e].close),"g"),t[e]={get:function(){return r(this._styles.concat(e))}}}),t}(),d=u(function(){},p);u(h,o()),h.styles=s,h.hasColor=c,h.stripColor=l,h.supportsColor=f,void 0===h.enabled&&(h.enabled=h.supportsColor)},function(t,e,n){n(127),t.exports=n(22).Object.assign},function(t,e,n){n(128);var r=n(22).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(25);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(47),i=n(123),o=n(122);t.exports=function(t){return function(e,n,a){var s,l=r(e),c=i(l.length),f=o(a,c);if(t&&n!=n){for(;c>f;)if(s=l[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in l)&&l[f]===n)return t||f||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(104);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(25),i=n(24).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(45),i=n(119);t.exports=n(17)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(17)&&!n(23)(function(){return 7!=Object.defineProperty(n(109)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(117),i=n(115),o=n(118),a=n(124),s=n(44),l=Object.assign;t.exports=!l||n(23)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,f=i.f,u=o.f;l>c;)for(var h,p=s(arguments[c++]),d=f?r(p).concat(f(p)):r(p),g=d.length,v=0;g>v;)u.call(p,h=d[v++])&&(n[h]=p[h]);return n}:l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(111),i=n(47),o=n(106)(!1),a=n(120)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(116),i=n(110);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(121)("keys"),i=n(126);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(24),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(46),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(46),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(42);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(25);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(43);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){var r=n(43);r(r.S+r.F*!n(17),"Object",{defineProperty:n(45).f})},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-01594f1c]{padding:10px;font-size:12px}.tag-list[data-v-01594f1c]{margin-bottom:15px}.tag-list-item[data-v-01594f1c]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-01594f1c]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".move-handler[data-v-0425443c]{cursor:-webkit-grab;cursor:grab}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"form[data-v-2ed92980]{margin-bottom:20px;clear:both}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".shape[data-v-3a6dd2f0]{fill:#bdc3c7;stroke:#000;opacity:.6}.shape--draggable[data-v-3a6dd2f0]:hover{cursor:move}.handler-top-left[data-v-3a6dd2f0]:hover{cursor:nw-resize}.handler-bottom-right[data-v-3a6dd2f0]:hover{cursor:se-resize}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-3db45a40]{padding:10px;font-size:12px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.btn-group[data-v-699ae618]{margin-bottom:10px}.btn--highlight[data-v-699ae618]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-699ae618]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-699ae618]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-699ae618]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-699ae618]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-699ae618]{background-color:#b9e78b}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-6b5883e1]{position:relative}.selected-tags[data-v-6b5883e1]{border:1px solid red;width:200px!important}.selected-tags select[data-v-6b5883e1]{display:inline-block}.Typeahead__input[data-v-6b5883e1]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-6b5883e1]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-6b5883e1]{border:1px solid red}.fa-times[data-v-6b5883e1]{cursor:pointer}ul[data-v-6b5883e1]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-6b5883e1]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-6b5883e1]:first-child{border-radius:4px 4px 0 0}li[data-v-6b5883e1]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-6b5883e1]{display:block;color:#2c3e50}.active[data-v-6b5883e1]{background-color:#3aa373}.active span[data-v-6b5883e1]{color:#fff}.name[data-v-6b5883e1]{font-weight:700;font-size:18px}.screen-name[data-v-6b5883e1]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.tag-item-btn[data-v-6c5af925]{float:left;position:relative}.tag-item-btn button[data-v-6c5af925]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-6c5af925],.tag-item-relevancy .fa[data-v-6c5af925]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-6c5af925]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-6c5af925]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-6c5af925]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-6c5af925]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-6c5af925]{background-color:#b9e78b}.tag-title[data-v-6c5af925]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-6c5af925]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-6c5af925],.tag-item-form small[data-v-6c5af925]{display:block;margin-bottom:5px}.tag-container[data-v-6c5af925]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-6c5af925],.tag-list .tag-container[data-v-6c5af925]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-6c5af925]{cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-6c5af925]:hover{background-color:#f5f5f5}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".diff-viewer-wrapper[data-v-763ea1ba]{margin-top:5px}.diff-panel[data-v-763ea1ba]{border:1px solid gray;width:300px;heigth:250px}del[data-v-763ea1ba]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-763ea1ba]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".comment[data-v-7aa64982]{font-size:12px;padding:5px 0;border-bottom:1px solid #ccc}.comment-footer[data-v-7aa64982]{margin-top:5px;color:#ccc}.comment-date[data-v-7aa64982]{float:right}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-7e508aca]{position:relative}.selected-tags[data-v-7e508aca]{border:1px solid red;width:200px!important}.selected-tags select[data-v-7e508aca]{display:inline-block}.Typeahead__input[data-v-7e508aca]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-7e508aca]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-7e508aca]{border:1px solid red}.fa-times[data-v-7e508aca]{cursor:pointer}ul[data-v-7e508aca]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-7e508aca]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-7e508aca]:first-child{border-radius:4px 4px 0 0}li[data-v-7e508aca]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-7e508aca]{display:block;color:#2c3e50}.active[data-v-7e508aca]{background-color:#3aa373}.active span[data-v-7e508aca]{color:#fff}.name[data-v-7e508aca]{font-weight:700;font-size:18px}.screen-name[data-v-7e508aca]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".handler[data-v-92fb61e0]{fill:#fff;stroke:#000;opacity:.9}.handler--first[data-v-92fb61e0]{fill:#ff0}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".zoom[data-v-eec5c2f6]{position:relative}.zoomer[data-v-eec5c2f6]{position:absolute;bottom:15px;right:15px}.cut-canvas[data-v-eec5c2f6]{width:100%;height:600px}.canvas--rect[data-v-eec5c2f6]:hover{cursor:crosshair}.canvas--free[data-v-eec5c2f6]:hover{cursor:pointer}.mode-controls .btn>svg[data-v-eec5c2f6]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-eec5c2f6]{fill:#fff}.controls[data-v-eec5c2f6]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-eec5c2f6]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-eec5c2f6]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-eec5c2f6],.controls .btn[data-v-eec5c2f6]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-eec5c2f6]:hover{background-color:#222}.controls .controls-left[data-v-eec5c2f6]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-eec5c2f6]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-eec5c2f6]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){"use strict";var r,i=n(156),o=n(163),a=n(159),s=n(166);r=t.exports=function(t,e){var n,r,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:n,enumerable:r,writable:a},l?i(o(l),c):c},r.gs=function(t,e,n){var r,l,c,f;return"string"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(c=n,n=void 0):(c=e,e=n=void 0),null==t?(r=!0,l=!1):(r=s.call(t,"c"),l=s.call(t,"e")),f={get:e,set:n,configurable:r,enumerable:l},c?i(o(c),f):f}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i<t.length;i++)n=t[i],r=n.added?1:n.removed?-1:0,e.push([r,n.value]);return e}e.__esModule=!0,e.convertChangesToDMP=n},function(t,e){"use strict";function n(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];i.added?e.push("<ins>"):i.removed&&e.push("<del>"),e.push(r(i.value)),i.added?e.push("</ins>"):i.removed&&e.push("</del>")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&amp;"),e=e.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),e=e.replace(/"/g,"&quot;")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.arrayDiff=void 0,e.diffArrays=i;var o=n(5),a=r(o),s=e.arrayDiff=new a.default;s.tokenize=s.join=function(t){return t.slice()}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(5),a=r(o),s=e.characterDiff=new a.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(5),a=r(o),s=e.cssDiff=new a.default;s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return u.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;r<e.length;r+=1)if(e[r]===t)return n[r];var i=void 0;if("[object Array]"===f.call(t)){for(e.push(t),i=new Array(t.length),n.push(i),r=0;r<t.length;r+=1)i[r]=o(t[r],e,n);return e.pop(),n.pop(),i}if(t&&t.toJSON&&(t=t.toJSON()),"object"===("undefined"==typeof t?"undefined":a(t))&&null!==t){e.push(t),i={},n.push(i);var s=[],l=void 0;for(l in t)t.hasOwnProperty(l)&&s.push(l);for(s.sort(),r=0;r<s.length;r+=1)l=s[r],i[l]=o(t[l],e,n);e.pop(),n.pop()}else i=t;return i}e.__esModule=!0,e.jsonDiff=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.diffJson=i,e.canonicalize=o;var s=n(5),l=r(s),c=n(26),f=Object.prototype.toString,u=e.jsonDiff=new l.default;u.useLongestToken=!0,u.tokenize=c.lineDiff.tokenize,u.castInput=function(t){var e=this.options.undefinedReplacement;return"string"==typeof t?t:JSON.stringify(o(t),function(t,n){return"undefined"==typeof n?e:n},"  ")},u.equals=function(t,e){return l.default.prototype.equals(t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.sentenceDiff=void 0,e.diffSentences=i;var o=n(5),a=r(o),s=e.sentenceDiff=new a.default;s.tokenize=function(t){return t.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){var r=(0,l.generateOptions)(n,{ignoreWhitespace:!0});return u.diff(t,e,r)}function o(t,e,n){return u.diff(t,e,n)}e.__esModule=!0,e.wordDiff=void 0,e.diffWords=i,e.diffWordsWithSpace=o;var a=n(5),s=r(a),l=n(49),c=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,f=/\S/,u=e.wordDiff=new s.default;u.equals=function(t,e){return t===e||this.options.ignoreWhitespace&&!f.test(t)&&!f.test(e)},u.tokenize=function(t){for(var e=t.split(/(\s+|\b)/),n=0;n<e.length-1;n++)!e[n+1]&&e[n+2]&&c.test(e[n])&&c.test(e[n+2])&&(e[n]+=e[n+2],e.splice(n+1,2),n--);return e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.canonicalize=e.convertChangesToXML=e.convertChangesToDMP=e.parsePatch=e.applyPatches=e.applyPatch=e.createPatch=e.createTwoFilesPatch=e.structuredPatch=e.diffArrays=e.diffJson=e.diffCss=e.diffSentences=e.diffTrimmedLines=e.diffLines=e.diffWordsWithSpace=e.diffWords=e.diffChars=e.Diff=void 0;var i=n(5),o=r(i),a=n(147),s=n(151),l=n(26),c=n(150),f=n(148),u=n(149),h=n(146),p=n(153),d=n(48),g=n(154),v=n(144),m=n(145);e.Diff=o.default,e.diffChars=a.diffChars,e.diffWords=s.diffWords,e.diffWordsWithSpace=s.diffWordsWithSpace,e.diffLines=l.diffLines,e.diffTrimmedLines=l.diffTrimmedLines,e.diffSentences=c.diffSentences,e.diffCss=f.diffCss,e.diffJson=u.diffJson,e.diffArrays=h.diffArrays,e.structuredPatch=g.structuredPatch,e.createTwoFilesPatch=g.createTwoFilesPatch,e.createPatch=g.createPatch,e.applyPatch=p.applyPatch,e.applyPatches=p.applyPatches,e.parsePatch=d.parsePatch,e.convertChangesToDMP=v.convertChangesToDMP,e.convertChangesToXML=m.convertChangesToXML,e.canonicalize=u.canonicalize},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){function n(t,e){for(var n=0;n<t.lines.length;n++){var r=t.lines[n],o=r[0],a=r.substr(1);if(" "===o||"-"===o){if(!c(e+1,i[e],o,a)&&(f++,f>u))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split(/\r\n|[\n\v\f\r\x85]/),o=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=e.hunks,c=r.compareLine||function(t,e,n,r){return e===r},f=0,u=r.fuzzFactor||0,h=0,p=0,d=void 0,g=void 0,v=0;v<s.length;v++){for(var m=s[v],y=i.length-m.oldLines,b=0,_=p+m.oldStart-1,x=(0,l.default)(_,h,y);void 0!==b;b=x())if(n(m,_+b)){m.offset=p+=b;break}if(void 0===b)return!1;h=m.offset+m.oldStart+m.oldLines}for(var w=0;w<s.length;w++){var k=s[w],C=k.offset+k.newStart-1;0==k.newLines&&C++;for(var T=0;T<k.lines.length;T++){var j=k.lines[T],$=j[0],A=j.substr(1),S=k.linedelimiters[T];if(" "===$)C++;else if("-"===$)i.splice(C,1),o.splice(C,1);else if("+"===$)i.splice(C,0,A),o.splice(C,0,S),C++;else if("\\"===$){var O=k.lines[T-1]?k.lines[T-1][0]:null;"+"===O?d=!0:"-"===O&&(g=!0)}}}if(d)for(;!i[i.length-1];)i.pop(),o.pop();else g&&(i.push(""),o.push("\n"));for(var M=0;M<i.length-1;M++)i[M]=i[M]+o[M];return i.join("")}function o(t,e){function n(){var o=t[r++];return o?void e.loadFile(o,function(t,r){if(t)return e.complete(t);var a=i(r,o,e);e.patched(o,a,function(t){return t?e.complete(t):void n()})}):e.complete()}"string"==typeof t&&(t=(0,a.parsePatch)(t));var r=0;n()}e.__esModule=!0,e.applyPatch=i,e.applyPatches=o;var a=n(48),s=n(155),l=r(s)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n,i,o,a,l){function c(t){return t.map(function(t){return" "+t})}l||(l={}),"undefined"==typeof l.context&&(l.context=4);var f=(0,s.diffLines)(n,i,l);f.push({value:"",lines:[]});for(var u=[],h=0,p=0,d=[],g=1,v=1,m=function(t){var e=f[t],o=e.lines||e.value.replace(/\n$/,"").split("\n");if(e.lines=o,e.added||e.removed){var a;if(!h){var s=f[t-1];h=g,p=v,s&&(d=l.context>0?c(s.lines.slice(-l.context)):[],h-=d.length,p-=d.length)}(a=d).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?v+=o.length:g+=o.length}else{if(h)if(o.length<=2*l.context&&t<f.length-2){var m;(m=d).push.apply(m,r(c(o)))}else{var y,b=Math.min(o.length,l.context);(y=d).push.apply(y,r(c(o.slice(0,b))));var _={oldStart:h,oldLines:g-h+b,newStart:p,newLines:v-p+b,lines:d};if(t>=f.length-2&&o.length<=l.context){var x=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||x?x&&w||d.push("\\ No newline at end of file"):d.splice(_.oldLines,0,"\\ No newline at end of file")}u.push(_),h=0,p=0,d=[]}g+=o.length,v+=o.length}},y=0;y<f.length;y++)m(y);return{oldFileName:t,newFileName:e,oldHeader:o,newHeader:a,hunks:u}}function o(t,e,n,r,o,a,s){var l=i(t,e,n,r,o,a,s),c=[];t==e&&c.push("Index: "+t),c.push("==================================================================="),c.push("--- "+l.oldFileName+("undefined"==typeof l.oldHeader?"":"\t"+l.oldHeader)),c.push("+++ "+l.newFileName+("undefined"==typeof l.newHeader?"":"\t"+l.newHeader));for(var f=0;f<l.hunks.length;f++){var u=l.hunks[f];c.push("@@ -"+u.oldStart+","+u.oldLines+" +"+u.newStart+","+u.newLines+" @@"),c.push.apply(c,u.lines)}return c.join("\n")+"\n"}function a(t,e,n,r,i,a){return o(t,t,e,n,r,i,a)}e.__esModule=!0,e.structuredPatch=i,e.createTwoFilesPatch=o,e.createPatch=a;var s=n(26)},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,n){var r=!0,i=!1,o=!1,a=1;return function s(){if(r&&!o){if(i?a++:r=!1,t+a<=n)return a;o=!0}if(!i)return o||(r=!0),e<=t-a?-a++:(i=!0,s())}}},function(t,e,n){"use strict";t.exports=n(157)()?Object.assign:n(158)},function(t,e){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var r=n(160),i=n(165),o=Math.max;t.exports=function(t,e){var n,a,s,l=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},a=1;a<l;++a)e=arguments[a],r(e).forEach(s);if(void 0!==n)throw n;return t}},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(161)()?Object.keys:n(162)},function(t,e){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e){"use strict";var n=Object.keys;t.exports=function(t){return n(null==t?t:Object(t))}},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create,i=function(t,e){var n;for(n in t)e[n]=t[n];
 };t.exports=function(t){var e=r(null);return n.call(arguments,function(t){null!=t&&i(Object(t),e)}),e}},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e){"use strict";t.exports=function(t){if(null==t)throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";t.exports=n(167)()?String.prototype.contains:n(168)},function(t,e){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&(n.contains("dwa")===!0&&n.contains("foo")===!1)}},function(t,e){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,n){"use strict";var r,i,o,a,s,l,c,f=n(143),u=n(164),h=Function.prototype.apply,p=Function.prototype.call,d=Object.create,g=Object.defineProperty,v=Object.defineProperties,m=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return u(e),m.call(this,"__ee__")?n=this.__ee__:(n=y.value=d(null),g(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return u(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),h.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(u(e),!m.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"==typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(m.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)h.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];h.call(i,this,o)}},s={on:r,once:i,off:o,emit:a},l={on:f(r),once:f(i),off:f(o),emit:f(a)},c=v({},l),t.exports=e=function(t){return null==t?d(c):v(Object(t),l)},e.methods=s},function(t,e,n){(function(e){t.exports=e.$=n(1)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.Vue=n(228)}).call(e,function(){return this}())},function(t,e,n){(function(e){t.exports=e.jQuery=n(1)}).call(e,function(){return this}())},function(t,e){t.exports={navbar:"navbar",btn:"btn",caret:"caret",dropup:"dropup",label:"label",table:"table","table-bordered":"table-bordered",glyphicon:"glyphicon","glyphicon-asterisk":"glyphicon-asterisk","glyphicon-plus":"glyphicon-plus","glyphicon-euro":"glyphicon-euro","glyphicon-eur":"glyphicon-eur","glyphicon-minus":"glyphicon-minus","glyphicon-cloud":"glyphicon-cloud","glyphicon-envelope":"glyphicon-envelope","glyphicon-pencil":"glyphicon-pencil","glyphicon-glass":"glyphicon-glass","glyphicon-music":"glyphicon-music","glyphicon-search":"glyphicon-search","glyphicon-heart":"glyphicon-heart","glyphicon-star":"glyphicon-star","glyphicon-star-empty":"glyphicon-star-empty","glyphicon-user":"glyphicon-user","glyphicon-film":"glyphicon-film","glyphicon-th-large":"glyphicon-th-large","glyphicon-th":"glyphicon-th","glyphicon-th-list":"glyphicon-th-list","glyphicon-ok":"glyphicon-ok","glyphicon-remove":"glyphicon-remove","glyphicon-zoom-in":"glyphicon-zoom-in","glyphicon-zoom-out":"glyphicon-zoom-out","glyphicon-off":"glyphicon-off","glyphicon-signal":"glyphicon-signal","glyphicon-cog":"glyphicon-cog","glyphicon-trash":"glyphicon-trash","glyphicon-home":"glyphicon-home","glyphicon-file":"glyphicon-file","glyphicon-time":"glyphicon-time","glyphicon-road":"glyphicon-road","glyphicon-download-alt":"glyphicon-download-alt","glyphicon-download":"glyphicon-download","glyphicon-upload":"glyphicon-upload","glyphicon-inbox":"glyphicon-inbox","glyphicon-play-circle":"glyphicon-play-circle","glyphicon-repeat":"glyphicon-repeat","glyphicon-refresh":"glyphicon-refresh","glyphicon-list-alt":"glyphicon-list-alt","glyphicon-lock":"glyphicon-lock","glyphicon-flag":"glyphicon-flag","glyphicon-headphones":"glyphicon-headphones","glyphicon-volume-off":"glyphicon-volume-off","glyphicon-volume-down":"glyphicon-volume-down","glyphicon-volume-up":"glyphicon-volume-up","glyphicon-qrcode":"glyphicon-qrcode","glyphicon-barcode":"glyphicon-barcode","glyphicon-tag":"glyphicon-tag","glyphicon-tags":"glyphicon-tags","glyphicon-book":"glyphicon-book","glyphicon-bookmark":"glyphicon-bookmark","glyphicon-print":"glyphicon-print","glyphicon-camera":"glyphicon-camera","glyphicon-font":"glyphicon-font","glyphicon-bold":"glyphicon-bold","glyphicon-italic":"glyphicon-italic","glyphicon-text-height":"glyphicon-text-height","glyphicon-text-width":"glyphicon-text-width","glyphicon-align-left":"glyphicon-align-left","glyphicon-align-center":"glyphicon-align-center","glyphicon-align-right":"glyphicon-align-right","glyphicon-align-justify":"glyphicon-align-justify","glyphicon-list":"glyphicon-list","glyphicon-indent-left":"glyphicon-indent-left","glyphicon-indent-right":"glyphicon-indent-right","glyphicon-facetime-video":"glyphicon-facetime-video","glyphicon-picture":"glyphicon-picture","glyphicon-map-marker":"glyphicon-map-marker","glyphicon-adjust":"glyphicon-adjust","glyphicon-tint":"glyphicon-tint","glyphicon-edit":"glyphicon-edit","glyphicon-share":"glyphicon-share","glyphicon-check":"glyphicon-check","glyphicon-move":"glyphicon-move","glyphicon-step-backward":"glyphicon-step-backward","glyphicon-fast-backward":"glyphicon-fast-backward","glyphicon-backward":"glyphicon-backward","glyphicon-play":"glyphicon-play","glyphicon-pause":"glyphicon-pause","glyphicon-stop":"glyphicon-stop","glyphicon-forward":"glyphicon-forward","glyphicon-fast-forward":"glyphicon-fast-forward","glyphicon-step-forward":"glyphicon-step-forward","glyphicon-eject":"glyphicon-eject","glyphicon-chevron-left":"glyphicon-chevron-left","glyphicon-chevron-right":"glyphicon-chevron-right","glyphicon-plus-sign":"glyphicon-plus-sign","glyphicon-minus-sign":"glyphicon-minus-sign","glyphicon-remove-sign":"glyphicon-remove-sign","glyphicon-ok-sign":"glyphicon-ok-sign","glyphicon-question-sign":"glyphicon-question-sign","glyphicon-info-sign":"glyphicon-info-sign","glyphicon-screenshot":"glyphicon-screenshot","glyphicon-remove-circle":"glyphicon-remove-circle","glyphicon-ok-circle":"glyphicon-ok-circle","glyphicon-ban-circle":"glyphicon-ban-circle","glyphicon-arrow-left":"glyphicon-arrow-left","glyphicon-arrow-right":"glyphicon-arrow-right","glyphicon-arrow-up":"glyphicon-arrow-up","glyphicon-arrow-down":"glyphicon-arrow-down","glyphicon-share-alt":"glyphicon-share-alt","glyphicon-resize-full":"glyphicon-resize-full","glyphicon-resize-small":"glyphicon-resize-small","glyphicon-exclamation-sign":"glyphicon-exclamation-sign","glyphicon-gift":"glyphicon-gift","glyphicon-leaf":"glyphicon-leaf","glyphicon-fire":"glyphicon-fire","glyphicon-eye-open":"glyphicon-eye-open","glyphicon-eye-close":"glyphicon-eye-close","glyphicon-warning-sign":"glyphicon-warning-sign","glyphicon-plane":"glyphicon-plane","glyphicon-calendar":"glyphicon-calendar","glyphicon-random":"glyphicon-random","glyphicon-comment":"glyphicon-comment","glyphicon-magnet":"glyphicon-magnet","glyphicon-chevron-up":"glyphicon-chevron-up","glyphicon-chevron-down":"glyphicon-chevron-down","glyphicon-retweet":"glyphicon-retweet","glyphicon-shopping-cart":"glyphicon-shopping-cart","glyphicon-folder-close":"glyphicon-folder-close","glyphicon-folder-open":"glyphicon-folder-open","glyphicon-resize-vertical":"glyphicon-resize-vertical","glyphicon-resize-horizontal":"glyphicon-resize-horizontal","glyphicon-hdd":"glyphicon-hdd","glyphicon-bullhorn":"glyphicon-bullhorn","glyphicon-bell":"glyphicon-bell","glyphicon-certificate":"glyphicon-certificate","glyphicon-thumbs-up":"glyphicon-thumbs-up","glyphicon-thumbs-down":"glyphicon-thumbs-down","glyphicon-hand-right":"glyphicon-hand-right","glyphicon-hand-left":"glyphicon-hand-left","glyphicon-hand-up":"glyphicon-hand-up","glyphicon-hand-down":"glyphicon-hand-down","glyphicon-circle-arrow-right":"glyphicon-circle-arrow-right","glyphicon-circle-arrow-left":"glyphicon-circle-arrow-left","glyphicon-circle-arrow-up":"glyphicon-circle-arrow-up","glyphicon-circle-arrow-down":"glyphicon-circle-arrow-down","glyphicon-globe":"glyphicon-globe","glyphicon-wrench":"glyphicon-wrench","glyphicon-tasks":"glyphicon-tasks","glyphicon-filter":"glyphicon-filter","glyphicon-briefcase":"glyphicon-briefcase","glyphicon-fullscreen":"glyphicon-fullscreen","glyphicon-dashboard":"glyphicon-dashboard","glyphicon-paperclip":"glyphicon-paperclip","glyphicon-heart-empty":"glyphicon-heart-empty","glyphicon-link":"glyphicon-link","glyphicon-phone":"glyphicon-phone","glyphicon-pushpin":"glyphicon-pushpin","glyphicon-usd":"glyphicon-usd","glyphicon-gbp":"glyphicon-gbp","glyphicon-sort":"glyphicon-sort","glyphicon-sort-by-alphabet":"glyphicon-sort-by-alphabet","glyphicon-sort-by-alphabet-alt":"glyphicon-sort-by-alphabet-alt","glyphicon-sort-by-order":"glyphicon-sort-by-order","glyphicon-sort-by-order-alt":"glyphicon-sort-by-order-alt","glyphicon-sort-by-attributes":"glyphicon-sort-by-attributes","glyphicon-sort-by-attributes-alt":"glyphicon-sort-by-attributes-alt","glyphicon-unchecked":"glyphicon-unchecked","glyphicon-expand":"glyphicon-expand","glyphicon-collapse-down":"glyphicon-collapse-down","glyphicon-collapse-up":"glyphicon-collapse-up","glyphicon-log-in":"glyphicon-log-in","glyphicon-flash":"glyphicon-flash","glyphicon-log-out":"glyphicon-log-out","glyphicon-new-window":"glyphicon-new-window","glyphicon-record":"glyphicon-record","glyphicon-save":"glyphicon-save","glyphicon-open":"glyphicon-open","glyphicon-saved":"glyphicon-saved","glyphicon-import":"glyphicon-import","glyphicon-export":"glyphicon-export","glyphicon-send":"glyphicon-send","glyphicon-floppy-disk":"glyphicon-floppy-disk","glyphicon-floppy-saved":"glyphicon-floppy-saved","glyphicon-floppy-remove":"glyphicon-floppy-remove","glyphicon-floppy-save":"glyphicon-floppy-save","glyphicon-floppy-open":"glyphicon-floppy-open","glyphicon-credit-card":"glyphicon-credit-card","glyphicon-transfer":"glyphicon-transfer","glyphicon-cutlery":"glyphicon-cutlery","glyphicon-header":"glyphicon-header","glyphicon-compressed":"glyphicon-compressed","glyphicon-earphone":"glyphicon-earphone","glyphicon-phone-alt":"glyphicon-phone-alt","glyphicon-tower":"glyphicon-tower","glyphicon-stats":"glyphicon-stats","glyphicon-sd-video":"glyphicon-sd-video","glyphicon-hd-video":"glyphicon-hd-video","glyphicon-subtitles":"glyphicon-subtitles","glyphicon-sound-stereo":"glyphicon-sound-stereo","glyphicon-sound-dolby":"glyphicon-sound-dolby","glyphicon-sound-5-1":"glyphicon-sound-5-1","glyphicon-sound-6-1":"glyphicon-sound-6-1","glyphicon-sound-7-1":"glyphicon-sound-7-1","glyphicon-copyright-mark":"glyphicon-copyright-mark","glyphicon-registration-mark":"glyphicon-registration-mark","glyphicon-cloud-download":"glyphicon-cloud-download","glyphicon-cloud-upload":"glyphicon-cloud-upload","glyphicon-tree-conifer":"glyphicon-tree-conifer","glyphicon-tree-deciduous":"glyphicon-tree-deciduous","glyphicon-cd":"glyphicon-cd","glyphicon-save-file":"glyphicon-save-file","glyphicon-open-file":"glyphicon-open-file","glyphicon-level-up":"glyphicon-level-up","glyphicon-copy":"glyphicon-copy","glyphicon-paste":"glyphicon-paste","glyphicon-alert":"glyphicon-alert","glyphicon-equalizer":"glyphicon-equalizer","glyphicon-king":"glyphicon-king","glyphicon-queen":"glyphicon-queen","glyphicon-pawn":"glyphicon-pawn","glyphicon-bishop":"glyphicon-bishop","glyphicon-knight":"glyphicon-knight","glyphicon-baby-formula":"glyphicon-baby-formula","glyphicon-tent":"glyphicon-tent","glyphicon-blackboard":"glyphicon-blackboard","glyphicon-bed":"glyphicon-bed","glyphicon-apple":"glyphicon-apple","glyphicon-erase":"glyphicon-erase","glyphicon-hourglass":"glyphicon-hourglass","glyphicon-lamp":"glyphicon-lamp","glyphicon-duplicate":"glyphicon-duplicate","glyphicon-piggy-bank":"glyphicon-piggy-bank","glyphicon-scissors":"glyphicon-scissors","glyphicon-bitcoin":"glyphicon-bitcoin","glyphicon-btc":"glyphicon-btc","glyphicon-xbt":"glyphicon-xbt","glyphicon-yen":"glyphicon-yen","glyphicon-jpy":"glyphicon-jpy","glyphicon-ruble":"glyphicon-ruble","glyphicon-rub":"glyphicon-rub","glyphicon-scale":"glyphicon-scale","glyphicon-ice-lolly":"glyphicon-ice-lolly","glyphicon-ice-lolly-tasted":"glyphicon-ice-lolly-tasted","glyphicon-education":"glyphicon-education","glyphicon-option-horizontal":"glyphicon-option-horizontal","glyphicon-option-vertical":"glyphicon-option-vertical","glyphicon-menu-hamburger":"glyphicon-menu-hamburger","glyphicon-modal-window":"glyphicon-modal-window","glyphicon-oil":"glyphicon-oil","glyphicon-grain":"glyphicon-grain","glyphicon-sunglasses":"glyphicon-sunglasses","glyphicon-text-size":"glyphicon-text-size","glyphicon-text-color":"glyphicon-text-color","glyphicon-text-background":"glyphicon-text-background","glyphicon-object-align-top":"glyphicon-object-align-top","glyphicon-object-align-bottom":"glyphicon-object-align-bottom","glyphicon-object-align-horizontal":"glyphicon-object-align-horizontal","glyphicon-object-align-left":"glyphicon-object-align-left","glyphicon-object-align-vertical":"glyphicon-object-align-vertical","glyphicon-object-align-right":"glyphicon-object-align-right","glyphicon-triangle-right":"glyphicon-triangle-right","glyphicon-triangle-left":"glyphicon-triangle-left","glyphicon-triangle-bottom":"glyphicon-triangle-bottom","glyphicon-triangle-top":"glyphicon-triangle-top","glyphicon-console":"glyphicon-console","glyphicon-superscript":"glyphicon-superscript","glyphicon-subscript":"glyphicon-subscript","glyphicon-menu-left":"glyphicon-menu-left","glyphicon-menu-right":"glyphicon-menu-right","glyphicon-menu-down":"glyphicon-menu-down","glyphicon-menu-up":"glyphicon-menu-up","img-responsive":"img-responsive","img-rounded":"img-rounded","img-thumbnail":"img-thumbnail","img-circle":"img-circle","sr-only":"sr-only","sr-only-focusable":"sr-only-focusable",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",small:"small",lead:"lead",mark:"mark","text-left":"text-left","text-right":"text-right","text-center":"text-center","text-justify":"text-justify","text-nowrap":"text-nowrap","text-lowercase":"text-lowercase","text-uppercase":"text-uppercase",initialism:"initialism","text-capitalize":"text-capitalize","text-muted":"text-muted","text-primary":"text-primary","text-success":"text-success","text-info":"text-info","text-warning":"text-warning","text-danger":"text-danger","bg-primary":"bg-primary","bg-success":"bg-success","bg-info":"bg-info","bg-warning":"bg-warning","bg-danger":"bg-danger","page-header":"page-header","list-unstyled":"list-unstyled","list-inline":"list-inline","dl-horizontal":"dl-horizontal","blockquote-reverse":"blockquote-reverse","pull-right":"pull-right","pre-scrollable":"pre-scrollable",container:"container","container-fluid":"container-fluid",row:"row","col-xs-1":"col-xs-1","col-sm-1":"col-sm-1","col-md-1":"col-md-1","col-lg-1":"col-lg-1","col-xs-2":"col-xs-2","col-sm-2":"col-sm-2","col-md-2":"col-md-2","col-lg-2":"col-lg-2","col-xs-3":"col-xs-3","col-sm-3":"col-sm-3","col-md-3":"col-md-3","col-lg-3":"col-lg-3","col-xs-4":"col-xs-4","col-sm-4":"col-sm-4","col-md-4":"col-md-4","col-lg-4":"col-lg-4","col-xs-5":"col-xs-5","col-sm-5":"col-sm-5","col-md-5":"col-md-5","col-lg-5":"col-lg-5","col-xs-6":"col-xs-6","col-sm-6":"col-sm-6","col-md-6":"col-md-6","col-lg-6":"col-lg-6","col-xs-7":"col-xs-7","col-sm-7":"col-sm-7","col-md-7":"col-md-7","col-lg-7":"col-lg-7","col-xs-8":"col-xs-8","col-sm-8":"col-sm-8","col-md-8":"col-md-8","col-lg-8":"col-lg-8","col-xs-9":"col-xs-9","col-sm-9":"col-sm-9","col-md-9":"col-md-9","col-lg-9":"col-lg-9","col-xs-10":"col-xs-10","col-sm-10":"col-sm-10","col-md-10":"col-md-10","col-lg-10":"col-lg-10","col-xs-11":"col-xs-11","col-sm-11":"col-sm-11","col-md-11":"col-md-11","col-lg-11":"col-lg-11","col-xs-12":"col-xs-12","col-sm-12":"col-sm-12","col-md-12":"col-md-12","col-lg-12":"col-lg-12","col-xs-pull-0":"col-xs-pull-0","col-xs-pull-1":"col-xs-pull-1","col-xs-pull-2":"col-xs-pull-2","col-xs-pull-3":"col-xs-pull-3","col-xs-pull-4":"col-xs-pull-4","col-xs-pull-5":"col-xs-pull-5","col-xs-pull-6":"col-xs-pull-6","col-xs-pull-7":"col-xs-pull-7","col-xs-pull-8":"col-xs-pull-8","col-xs-pull-9":"col-xs-pull-9","col-xs-pull-10":"col-xs-pull-10","col-xs-pull-11":"col-xs-pull-11","col-xs-pull-12":"col-xs-pull-12","col-xs-push-0":"col-xs-push-0","col-xs-push-1":"col-xs-push-1","col-xs-push-2":"col-xs-push-2","col-xs-push-3":"col-xs-push-3","col-xs-push-4":"col-xs-push-4","col-xs-push-5":"col-xs-push-5","col-xs-push-6":"col-xs-push-6","col-xs-push-7":"col-xs-push-7","col-xs-push-8":"col-xs-push-8","col-xs-push-9":"col-xs-push-9","col-xs-push-10":"col-xs-push-10","col-xs-push-11":"col-xs-push-11","col-xs-push-12":"col-xs-push-12","col-xs-offset-0":"col-xs-offset-0","col-xs-offset-1":"col-xs-offset-1","col-xs-offset-2":"col-xs-offset-2","col-xs-offset-3":"col-xs-offset-3","col-xs-offset-4":"col-xs-offset-4","col-xs-offset-5":"col-xs-offset-5","col-xs-offset-6":"col-xs-offset-6","col-xs-offset-7":"col-xs-offset-7","col-xs-offset-8":"col-xs-offset-8","col-xs-offset-9":"col-xs-offset-9","col-xs-offset-10":"col-xs-offset-10","col-xs-offset-11":"col-xs-offset-11","col-xs-offset-12":"col-xs-offset-12","col-sm-pull-0":"col-sm-pull-0","col-sm-pull-1":"col-sm-pull-1","col-sm-pull-2":"col-sm-pull-2","col-sm-pull-3":"col-sm-pull-3","col-sm-pull-4":"col-sm-pull-4","col-sm-pull-5":"col-sm-pull-5","col-sm-pull-6":"col-sm-pull-6","col-sm-pull-7":"col-sm-pull-7","col-sm-pull-8":"col-sm-pull-8","col-sm-pull-9":"col-sm-pull-9","col-sm-pull-10":"col-sm-pull-10","col-sm-pull-11":"col-sm-pull-11","col-sm-pull-12":"col-sm-pull-12","col-sm-push-0":"col-sm-push-0","col-sm-push-1":"col-sm-push-1","col-sm-push-2":"col-sm-push-2","col-sm-push-3":"col-sm-push-3","col-sm-push-4":"col-sm-push-4","col-sm-push-5":"col-sm-push-5","col-sm-push-6":"col-sm-push-6","col-sm-push-7":"col-sm-push-7","col-sm-push-8":"col-sm-push-8","col-sm-push-9":"col-sm-push-9","col-sm-push-10":"col-sm-push-10","col-sm-push-11":"col-sm-push-11","col-sm-push-12":"col-sm-push-12","col-sm-offset-0":"col-sm-offset-0","col-sm-offset-1":"col-sm-offset-1","col-sm-offset-2":"col-sm-offset-2","col-sm-offset-3":"col-sm-offset-3","col-sm-offset-4":"col-sm-offset-4","col-sm-offset-5":"col-sm-offset-5","col-sm-offset-6":"col-sm-offset-6","col-sm-offset-7":"col-sm-offset-7","col-sm-offset-8":"col-sm-offset-8","col-sm-offset-9":"col-sm-offset-9","col-sm-offset-10":"col-sm-offset-10","col-sm-offset-11":"col-sm-offset-11","col-sm-offset-12":"col-sm-offset-12","col-md-pull-0":"col-md-pull-0","col-md-pull-1":"col-md-pull-1","col-md-pull-2":"col-md-pull-2","col-md-pull-3":"col-md-pull-3","col-md-pull-4":"col-md-pull-4","col-md-pull-5":"col-md-pull-5","col-md-pull-6":"col-md-pull-6","col-md-pull-7":"col-md-pull-7","col-md-pull-8":"col-md-pull-8","col-md-pull-9":"col-md-pull-9","col-md-pull-10":"col-md-pull-10","col-md-pull-11":"col-md-pull-11","col-md-pull-12":"col-md-pull-12","col-md-push-0":"col-md-push-0","col-md-push-1":"col-md-push-1","col-md-push-2":"col-md-push-2","col-md-push-3":"col-md-push-3","col-md-push-4":"col-md-push-4","col-md-push-5":"col-md-push-5","col-md-push-6":"col-md-push-6","col-md-push-7":"col-md-push-7","col-md-push-8":"col-md-push-8","col-md-push-9":"col-md-push-9","col-md-push-10":"col-md-push-10","col-md-push-11":"col-md-push-11","col-md-push-12":"col-md-push-12","col-md-offset-0":"col-md-offset-0","col-md-offset-1":"col-md-offset-1","col-md-offset-2":"col-md-offset-2","col-md-offset-3":"col-md-offset-3","col-md-offset-4":"col-md-offset-4","col-md-offset-5":"col-md-offset-5","col-md-offset-6":"col-md-offset-6","col-md-offset-7":"col-md-offset-7","col-md-offset-8":"col-md-offset-8","col-md-offset-9":"col-md-offset-9","col-md-offset-10":"col-md-offset-10","col-md-offset-11":"col-md-offset-11","col-md-offset-12":"col-md-offset-12","col-lg-pull-0":"col-lg-pull-0","col-lg-pull-1":"col-lg-pull-1","col-lg-pull-2":"col-lg-pull-2","col-lg-pull-3":"col-lg-pull-3","col-lg-pull-4":"col-lg-pull-4","col-lg-pull-5":"col-lg-pull-5","col-lg-pull-6":"col-lg-pull-6","col-lg-pull-7":"col-lg-pull-7","col-lg-pull-8":"col-lg-pull-8","col-lg-pull-9":"col-lg-pull-9","col-lg-pull-10":"col-lg-pull-10","col-lg-pull-11":"col-lg-pull-11","col-lg-pull-12":"col-lg-pull-12","col-lg-push-0":"col-lg-push-0","col-lg-push-1":"col-lg-push-1","col-lg-push-2":"col-lg-push-2","col-lg-push-3":"col-lg-push-3","col-lg-push-4":"col-lg-push-4","col-lg-push-5":"col-lg-push-5","col-lg-push-6":"col-lg-push-6","col-lg-push-7":"col-lg-push-7","col-lg-push-8":"col-lg-push-8","col-lg-push-9":"col-lg-push-9","col-lg-push-10":"col-lg-push-10","col-lg-push-11":"col-lg-push-11","col-lg-push-12":"col-lg-push-12","col-lg-offset-0":"col-lg-offset-0","col-lg-offset-1":"col-lg-offset-1","col-lg-offset-2":"col-lg-offset-2","col-lg-offset-3":"col-lg-offset-3","col-lg-offset-4":"col-lg-offset-4","col-lg-offset-5":"col-lg-offset-5","col-lg-offset-6":"col-lg-offset-6","col-lg-offset-7":"col-lg-offset-7","col-lg-offset-8":"col-lg-offset-8","col-lg-offset-9":"col-lg-offset-9","col-lg-offset-10":"col-lg-offset-10","col-lg-offset-11":"col-lg-offset-11","col-lg-offset-12":"col-lg-offset-12","table-condensed":"table-condensed","table-striped":"table-striped","table-hover":"table-hover",active:"active",success:"success",info:"info",warning:"warning",danger:"danger","table-responsive":"table-responsive","form-control":"form-control","input-sm":"input-sm","input-group-sm":"input-group-sm","input-group-addon":"input-group-addon","input-group-btn":"input-group-btn","input-lg":"input-lg","input-group-lg":"input-group-lg","form-group":"form-group",radio:"radio",checkbox:"checkbox","radio-inline":"radio-inline","checkbox-inline":"checkbox-inline",disabled:"disabled","form-control-static":"form-control-static","form-group-sm":"form-group-sm","form-group-lg":"form-group-lg","has-feedback":"has-feedback","form-control-feedback":"form-control-feedback","has-success":"has-success","help-block":"help-block","control-label":"control-label","has-warning":"has-warning","has-error":"has-error","form-inline":"form-inline","input-group":"input-group","form-horizontal":"form-horizontal",focus:"focus","btn-default":"btn-default",open:"open","dropdown-toggle":"dropdown-toggle",badge:"badge","btn-primary":"btn-primary","btn-success":"btn-success","btn-info":"btn-info","btn-warning":"btn-warning","btn-danger":"btn-danger","btn-link":"btn-link","btn-lg":"btn-lg","btn-group-lg":"btn-group-lg","btn-sm":"btn-sm","btn-group-sm":"btn-group-sm","btn-xs":"btn-xs","btn-group-xs":"btn-group-xs","btn-block":"btn-block",fade:"fade",in:"in",collapse:"collapse",collapsing:"collapsing",dropdown:"dropdown","dropdown-menu":"dropdown-menu",divider:"divider","dropdown-menu-right":"dropdown-menu-right","dropdown-menu-left":"dropdown-menu-left","dropdown-header":"dropdown-header","dropdown-backdrop":"dropdown-backdrop","navbar-fixed-bottom":"navbar-fixed-bottom","navbar-right":"navbar-right","btn-group":"btn-group","btn-group-vertical":"btn-group-vertical","btn-toolbar":"btn-toolbar","btn-group-justified":"btn-group-justified",nav:"nav","nav-divider":"nav-divider","nav-tabs":"nav-tabs","nav-pills":"nav-pills","nav-stacked":"nav-stacked","nav-justified":"nav-justified","nav-tabs-justified":"nav-tabs-justified","tab-content":"tab-content","tab-pane":"tab-pane","navbar-header":"navbar-header","navbar-collapse":"navbar-collapse","navbar-fixed-top":"navbar-fixed-top","navbar-static-top":"navbar-static-top","navbar-brand":"navbar-brand","navbar-toggle":"navbar-toggle","icon-bar":"icon-bar","navbar-nav":"navbar-nav","navbar-form":"navbar-form","navbar-btn":"navbar-btn","navbar-text":"navbar-text","navbar-left":"navbar-left","navbar-default":"navbar-default","navbar-link":"navbar-link","navbar-inverse":"navbar-inverse",breadcrumb:"breadcrumb",pagination:"pagination","pagination-lg":"pagination-lg","pagination-sm":"pagination-sm",pager:"pager",next:"next",previous:"previous","label-default":"label-default","label-primary":"label-primary","label-success":"label-success","label-info":"label-info","label-warning":"label-warning","label-danger":"label-danger","list-group-item":"list-group-item",jumbotron:"jumbotron",thumbnail:"thumbnail",caption:"caption",alert:"alert","alert-link":"alert-link","alert-dismissable":"alert-dismissable","alert-dismissible":"alert-dismissible",close:"close","alert-success":"alert-success","alert-info":"alert-info","alert-warning":"alert-warning","alert-danger":"alert-danger",progress:"progress","progress-bar":"progress-bar","progress-striped":"progress-striped","progress-bar-striped":"progress-bar-striped","progress-bar-stripes":"progress-bar-stripes","progress-bar-success":"progress-bar-success","progress-bar-info":"progress-bar-info","progress-bar-warning":"progress-bar-warning","progress-bar-danger":"progress-bar-danger",media:"media","media-body":"media-body","media-object":"media-object","media-right":"media-right","media-left":"media-left","pull-left":"pull-left","media-middle":"media-middle","media-bottom":"media-bottom","media-heading":"media-heading","media-list":"media-list","list-group":"list-group","list-group-item-heading":"list-group-item-heading","list-group-item-text":"list-group-item-text","list-group-item-success":"list-group-item-success","list-group-item-info":"list-group-item-info","list-group-item-warning":"list-group-item-warning","list-group-item-danger":"list-group-item-danger",panel:"panel","panel-body":"panel-body","panel-heading":"panel-heading","panel-title":"panel-title","panel-footer":"panel-footer","panel-collapse":"panel-collapse","panel-group":"panel-group","panel-default":"panel-default","panel-primary":"panel-primary","panel-success":"panel-success","panel-info":"panel-info","panel-warning":"panel-warning","panel-danger":"panel-danger","embed-responsive":"embed-responsive","embed-responsive-item":"embed-responsive-item","embed-responsive-16by9":"embed-responsive-16by9","embed-responsive-4by3":"embed-responsive-4by3",well:"well","well-lg":"well-lg","well-sm":"well-sm","modal-open":"modal-open",modal:"modal","modal-dialog":"modal-dialog","modal-content":"modal-content","modal-backdrop":"modal-backdrop","modal-header":"modal-header","modal-title":"modal-title","modal-body":"modal-body","modal-footer":"modal-footer","modal-scrollbar-measure":"modal-scrollbar-measure","modal-sm":"modal-sm","modal-lg":"modal-lg",tooltip:"tooltip",top:"top",right:"right",bottom:"bottom",left:"left","tooltip-inner":"tooltip-inner","tooltip-arrow":"tooltip-arrow","top-left":"top-left","top-right":"top-right","bottom-left":"bottom-left","bottom-right":"bottom-right",popover:"popover","popover-title":"popover-title","popover-content":"popover-content",arrow:"arrow",carousel:"carousel","carousel-inner":"carousel-inner",item:"item",prev:"prev","carousel-control":"carousel-control","icon-prev":"icon-prev","icon-next":"icon-next","carousel-indicators":"carousel-indicators","carousel-caption":"carousel-caption",clearfix:"clearfix","center-block":"center-block",hide:"hide",show:"show",invisible:"invisible","text-hide":"text-hide",hidden:"hidden",affix:"affix","visible-xs":"visible-xs","visible-sm":"visible-sm","visible-md":"visible-md","visible-lg":"visible-lg","visible-xs-block":"visible-xs-block","visible-xs-inline":"visible-xs-inline","visible-xs-inline-block":"visible-xs-inline-block","visible-sm-block":"visible-sm-block","visible-sm-inline":"visible-sm-inline","visible-sm-inline-block":"visible-sm-inline-block","visible-md-block":"visible-md-block","visible-md-inline":"visible-md-inline","visible-md-inline-block":"visible-md-inline-block","visible-lg-block":"visible-lg-block","visible-lg-inline":"visible-lg-inline","visible-lg-inline-block":"visible-lg-inline-block","hidden-xs":"hidden-xs","hidden-sm":"hidden-sm","hidden-md":"hidden-md","hidden-lg":"hidden-lg","visible-print":"visible-print","visible-print-block":"visible-print-block","visible-print-inline":"visible-print-inline","visible-print-inline-block":"visible-print-inline-block","hidden-print":"hidden-print",fa:"fa","fa-lg":"fa-lg","fa-2x":"fa-2x","fa-3x":"fa-3x","fa-4x":"fa-4x","fa-5x":"fa-5x","fa-fw":"fa-fw","fa-ul":"fa-ul","fa-li":"fa-li","fa-border":"fa-border","fa-pull-left":"fa-pull-left","fa-pull-right":"fa-pull-right","fa-spin":"fa-spin","fa-pulse":"fa-pulse","fa-rotate-90":"fa-rotate-90","fa-rotate-180":"fa-rotate-180","fa-rotate-270":"fa-rotate-270","fa-flip-horizontal":"fa-flip-horizontal","fa-flip-vertical":"fa-flip-vertical","fa-stack":"fa-stack","fa-stack-1x":"fa-stack-1x","fa-stack-2x":"fa-stack-2x","fa-inverse":"fa-inverse","fa-glass":"fa-glass","fa-music":"fa-music","fa-search":"fa-search","fa-envelope-o":"fa-envelope-o","fa-heart":"fa-heart","fa-star":"fa-star","fa-star-o":"fa-star-o","fa-user":"fa-user","fa-film":"fa-film","fa-th-large":"fa-th-large","fa-th":"fa-th","fa-th-list":"fa-th-list","fa-check":"fa-check","fa-remove":"fa-remove","fa-close":"fa-close","fa-times":"fa-times","fa-search-plus":"fa-search-plus","fa-search-minus":"fa-search-minus","fa-power-off":"fa-power-off","fa-signal":"fa-signal","fa-gear":"fa-gear","fa-cog":"fa-cog","fa-trash-o":"fa-trash-o","fa-home":"fa-home","fa-file-o":"fa-file-o","fa-clock-o":"fa-clock-o","fa-road":"fa-road","fa-download":"fa-download","fa-arrow-circle-o-down":"fa-arrow-circle-o-down","fa-arrow-circle-o-up":"fa-arrow-circle-o-up","fa-inbox":"fa-inbox","fa-play-circle-o":"fa-play-circle-o","fa-rotate-right":"fa-rotate-right","fa-repeat":"fa-repeat","fa-refresh":"fa-refresh","fa-list-alt":"fa-list-alt","fa-lock":"fa-lock","fa-flag":"fa-flag","fa-headphones":"fa-headphones","fa-volume-off":"fa-volume-off","fa-volume-down":"fa-volume-down","fa-volume-up":"fa-volume-up","fa-qrcode":"fa-qrcode","fa-barcode":"fa-barcode","fa-tag":"fa-tag","fa-tags":"fa-tags","fa-book":"fa-book","fa-bookmark":"fa-bookmark","fa-print":"fa-print","fa-camera":"fa-camera","fa-font":"fa-font","fa-bold":"fa-bold","fa-italic":"fa-italic","fa-text-height":"fa-text-height","fa-text-width":"fa-text-width","fa-align-left":"fa-align-left","fa-align-center":"fa-align-center","fa-align-right":"fa-align-right","fa-align-justify":"fa-align-justify","fa-list":"fa-list","fa-dedent":"fa-dedent","fa-outdent":"fa-outdent","fa-indent":"fa-indent","fa-video-camera":"fa-video-camera","fa-photo":"fa-photo","fa-image":"fa-image","fa-picture-o":"fa-picture-o","fa-pencil":"fa-pencil","fa-map-marker":"fa-map-marker","fa-adjust":"fa-adjust","fa-tint":"fa-tint","fa-edit":"fa-edit","fa-pencil-square-o":"fa-pencil-square-o","fa-share-square-o":"fa-share-square-o","fa-check-square-o":"fa-check-square-o","fa-arrows":"fa-arrows","fa-step-backward":"fa-step-backward","fa-fast-backward":"fa-fast-backward","fa-backward":"fa-backward","fa-play":"fa-play","fa-pause":"fa-pause","fa-stop":"fa-stop","fa-forward":"fa-forward","fa-fast-forward":"fa-fast-forward","fa-step-forward":"fa-step-forward","fa-eject":"fa-eject","fa-chevron-left":"fa-chevron-left","fa-chevron-right":"fa-chevron-right","fa-plus-circle":"fa-plus-circle","fa-minus-circle":"fa-minus-circle","fa-times-circle":"fa-times-circle","fa-check-circle":"fa-check-circle","fa-question-circle":"fa-question-circle","fa-info-circle":"fa-info-circle","fa-crosshairs":"fa-crosshairs","fa-times-circle-o":"fa-times-circle-o","fa-check-circle-o":"fa-check-circle-o","fa-ban":"fa-ban","fa-arrow-left":"fa-arrow-left","fa-arrow-right":"fa-arrow-right","fa-arrow-up":"fa-arrow-up","fa-arrow-down":"fa-arrow-down","fa-mail-forward":"fa-mail-forward","fa-share":"fa-share","fa-expand":"fa-expand","fa-compress":"fa-compress",
-"fa-plus":"fa-plus","fa-minus":"fa-minus","fa-asterisk":"fa-asterisk","fa-exclamation-circle":"fa-exclamation-circle","fa-gift":"fa-gift","fa-leaf":"fa-leaf","fa-fire":"fa-fire","fa-eye":"fa-eye","fa-eye-slash":"fa-eye-slash","fa-warning":"fa-warning","fa-exclamation-triangle":"fa-exclamation-triangle","fa-plane":"fa-plane","fa-calendar":"fa-calendar","fa-random":"fa-random","fa-comment":"fa-comment","fa-magnet":"fa-magnet","fa-chevron-up":"fa-chevron-up","fa-chevron-down":"fa-chevron-down","fa-retweet":"fa-retweet","fa-shopping-cart":"fa-shopping-cart","fa-folder":"fa-folder","fa-folder-open":"fa-folder-open","fa-arrows-v":"fa-arrows-v","fa-arrows-h":"fa-arrows-h","fa-bar-chart-o":"fa-bar-chart-o","fa-bar-chart":"fa-bar-chart","fa-twitter-square":"fa-twitter-square","fa-facebook-square":"fa-facebook-square","fa-camera-retro":"fa-camera-retro","fa-key":"fa-key","fa-gears":"fa-gears","fa-cogs":"fa-cogs","fa-comments":"fa-comments","fa-thumbs-o-up":"fa-thumbs-o-up","fa-thumbs-o-down":"fa-thumbs-o-down","fa-star-half":"fa-star-half","fa-heart-o":"fa-heart-o","fa-sign-out":"fa-sign-out","fa-linkedin-square":"fa-linkedin-square","fa-thumb-tack":"fa-thumb-tack","fa-external-link":"fa-external-link","fa-sign-in":"fa-sign-in","fa-trophy":"fa-trophy","fa-github-square":"fa-github-square","fa-upload":"fa-upload","fa-lemon-o":"fa-lemon-o","fa-phone":"fa-phone","fa-square-o":"fa-square-o","fa-bookmark-o":"fa-bookmark-o","fa-phone-square":"fa-phone-square","fa-twitter":"fa-twitter","fa-facebook-f":"fa-facebook-f","fa-facebook":"fa-facebook","fa-github":"fa-github","fa-unlock":"fa-unlock","fa-credit-card":"fa-credit-card","fa-feed":"fa-feed","fa-rss":"fa-rss","fa-hdd-o":"fa-hdd-o","fa-bullhorn":"fa-bullhorn","fa-bell":"fa-bell","fa-certificate":"fa-certificate","fa-hand-o-right":"fa-hand-o-right","fa-hand-o-left":"fa-hand-o-left","fa-hand-o-up":"fa-hand-o-up","fa-hand-o-down":"fa-hand-o-down","fa-arrow-circle-left":"fa-arrow-circle-left","fa-arrow-circle-right":"fa-arrow-circle-right","fa-arrow-circle-up":"fa-arrow-circle-up","fa-arrow-circle-down":"fa-arrow-circle-down","fa-globe":"fa-globe","fa-wrench":"fa-wrench","fa-tasks":"fa-tasks","fa-filter":"fa-filter","fa-briefcase":"fa-briefcase","fa-arrows-alt":"fa-arrows-alt","fa-group":"fa-group","fa-users":"fa-users","fa-chain":"fa-chain","fa-link":"fa-link","fa-cloud":"fa-cloud","fa-flask":"fa-flask","fa-cut":"fa-cut","fa-scissors":"fa-scissors","fa-copy":"fa-copy","fa-files-o":"fa-files-o","fa-paperclip":"fa-paperclip","fa-save":"fa-save","fa-floppy-o":"fa-floppy-o","fa-square":"fa-square","fa-navicon":"fa-navicon","fa-reorder":"fa-reorder","fa-bars":"fa-bars","fa-list-ul":"fa-list-ul","fa-list-ol":"fa-list-ol","fa-strikethrough":"fa-strikethrough","fa-underline":"fa-underline","fa-table":"fa-table","fa-magic":"fa-magic","fa-truck":"fa-truck","fa-pinterest":"fa-pinterest","fa-pinterest-square":"fa-pinterest-square","fa-google-plus-square":"fa-google-plus-square","fa-google-plus":"fa-google-plus","fa-money":"fa-money","fa-caret-down":"fa-caret-down","fa-caret-up":"fa-caret-up","fa-caret-left":"fa-caret-left","fa-caret-right":"fa-caret-right","fa-columns":"fa-columns","fa-unsorted":"fa-unsorted","fa-sort":"fa-sort","fa-sort-down":"fa-sort-down","fa-sort-desc":"fa-sort-desc","fa-sort-up":"fa-sort-up","fa-sort-asc":"fa-sort-asc","fa-envelope":"fa-envelope","fa-linkedin":"fa-linkedin","fa-rotate-left":"fa-rotate-left","fa-undo":"fa-undo","fa-legal":"fa-legal","fa-gavel":"fa-gavel","fa-dashboard":"fa-dashboard","fa-tachometer":"fa-tachometer","fa-comment-o":"fa-comment-o","fa-comments-o":"fa-comments-o","fa-flash":"fa-flash","fa-bolt":"fa-bolt","fa-sitemap":"fa-sitemap","fa-umbrella":"fa-umbrella","fa-paste":"fa-paste","fa-clipboard":"fa-clipboard","fa-lightbulb-o":"fa-lightbulb-o","fa-exchange":"fa-exchange","fa-cloud-download":"fa-cloud-download","fa-cloud-upload":"fa-cloud-upload","fa-user-md":"fa-user-md","fa-stethoscope":"fa-stethoscope","fa-suitcase":"fa-suitcase","fa-bell-o":"fa-bell-o","fa-coffee":"fa-coffee","fa-cutlery":"fa-cutlery","fa-file-text-o":"fa-file-text-o","fa-building-o":"fa-building-o","fa-hospital-o":"fa-hospital-o","fa-ambulance":"fa-ambulance","fa-medkit":"fa-medkit","fa-fighter-jet":"fa-fighter-jet","fa-beer":"fa-beer","fa-h-square":"fa-h-square","fa-plus-square":"fa-plus-square","fa-angle-double-left":"fa-angle-double-left","fa-angle-double-right":"fa-angle-double-right","fa-angle-double-up":"fa-angle-double-up","fa-angle-double-down":"fa-angle-double-down","fa-angle-left":"fa-angle-left","fa-angle-right":"fa-angle-right","fa-angle-up":"fa-angle-up","fa-angle-down":"fa-angle-down","fa-desktop":"fa-desktop","fa-laptop":"fa-laptop","fa-tablet":"fa-tablet","fa-mobile-phone":"fa-mobile-phone","fa-mobile":"fa-mobile","fa-circle-o":"fa-circle-o","fa-quote-left":"fa-quote-left","fa-quote-right":"fa-quote-right","fa-spinner":"fa-spinner","fa-circle":"fa-circle","fa-mail-reply":"fa-mail-reply","fa-reply":"fa-reply","fa-github-alt":"fa-github-alt","fa-folder-o":"fa-folder-o","fa-folder-open-o":"fa-folder-open-o","fa-smile-o":"fa-smile-o","fa-frown-o":"fa-frown-o","fa-meh-o":"fa-meh-o","fa-gamepad":"fa-gamepad","fa-keyboard-o":"fa-keyboard-o","fa-flag-o":"fa-flag-o","fa-flag-checkered":"fa-flag-checkered","fa-terminal":"fa-terminal","fa-code":"fa-code","fa-mail-reply-all":"fa-mail-reply-all","fa-reply-all":"fa-reply-all","fa-star-half-empty":"fa-star-half-empty","fa-star-half-full":"fa-star-half-full","fa-star-half-o":"fa-star-half-o","fa-location-arrow":"fa-location-arrow","fa-crop":"fa-crop","fa-code-fork":"fa-code-fork","fa-unlink":"fa-unlink","fa-chain-broken":"fa-chain-broken","fa-question":"fa-question","fa-info":"fa-info","fa-exclamation":"fa-exclamation","fa-superscript":"fa-superscript","fa-subscript":"fa-subscript","fa-eraser":"fa-eraser","fa-puzzle-piece":"fa-puzzle-piece","fa-microphone":"fa-microphone","fa-microphone-slash":"fa-microphone-slash","fa-shield":"fa-shield","fa-calendar-o":"fa-calendar-o","fa-fire-extinguisher":"fa-fire-extinguisher","fa-rocket":"fa-rocket","fa-maxcdn":"fa-maxcdn","fa-chevron-circle-left":"fa-chevron-circle-left","fa-chevron-circle-right":"fa-chevron-circle-right","fa-chevron-circle-up":"fa-chevron-circle-up","fa-chevron-circle-down":"fa-chevron-circle-down","fa-html5":"fa-html5","fa-css3":"fa-css3","fa-anchor":"fa-anchor","fa-unlock-alt":"fa-unlock-alt","fa-bullseye":"fa-bullseye","fa-ellipsis-h":"fa-ellipsis-h","fa-ellipsis-v":"fa-ellipsis-v","fa-rss-square":"fa-rss-square","fa-play-circle":"fa-play-circle","fa-ticket":"fa-ticket","fa-minus-square":"fa-minus-square","fa-minus-square-o":"fa-minus-square-o","fa-level-up":"fa-level-up","fa-level-down":"fa-level-down","fa-check-square":"fa-check-square","fa-pencil-square":"fa-pencil-square","fa-external-link-square":"fa-external-link-square","fa-share-square":"fa-share-square","fa-compass":"fa-compass","fa-toggle-down":"fa-toggle-down","fa-caret-square-o-down":"fa-caret-square-o-down","fa-toggle-up":"fa-toggle-up","fa-caret-square-o-up":"fa-caret-square-o-up","fa-toggle-right":"fa-toggle-right","fa-caret-square-o-right":"fa-caret-square-o-right","fa-euro":"fa-euro","fa-eur":"fa-eur","fa-gbp":"fa-gbp","fa-dollar":"fa-dollar","fa-usd":"fa-usd","fa-rupee":"fa-rupee","fa-inr":"fa-inr","fa-cny":"fa-cny","fa-rmb":"fa-rmb","fa-yen":"fa-yen","fa-jpy":"fa-jpy","fa-ruble":"fa-ruble","fa-rouble":"fa-rouble","fa-rub":"fa-rub","fa-won":"fa-won","fa-krw":"fa-krw","fa-bitcoin":"fa-bitcoin","fa-btc":"fa-btc","fa-file":"fa-file","fa-file-text":"fa-file-text","fa-sort-alpha-asc":"fa-sort-alpha-asc","fa-sort-alpha-desc":"fa-sort-alpha-desc","fa-sort-amount-asc":"fa-sort-amount-asc","fa-sort-amount-desc":"fa-sort-amount-desc","fa-sort-numeric-asc":"fa-sort-numeric-asc","fa-sort-numeric-desc":"fa-sort-numeric-desc","fa-thumbs-up":"fa-thumbs-up","fa-thumbs-down":"fa-thumbs-down","fa-youtube-square":"fa-youtube-square","fa-youtube":"fa-youtube","fa-xing":"fa-xing","fa-xing-square":"fa-xing-square","fa-youtube-play":"fa-youtube-play","fa-dropbox":"fa-dropbox","fa-stack-overflow":"fa-stack-overflow","fa-instagram":"fa-instagram","fa-flickr":"fa-flickr","fa-adn":"fa-adn","fa-bitbucket":"fa-bitbucket","fa-bitbucket-square":"fa-bitbucket-square","fa-tumblr":"fa-tumblr","fa-tumblr-square":"fa-tumblr-square","fa-long-arrow-down":"fa-long-arrow-down","fa-long-arrow-up":"fa-long-arrow-up","fa-long-arrow-left":"fa-long-arrow-left","fa-long-arrow-right":"fa-long-arrow-right","fa-apple":"fa-apple","fa-windows":"fa-windows","fa-android":"fa-android","fa-linux":"fa-linux","fa-dribbble":"fa-dribbble","fa-skype":"fa-skype","fa-foursquare":"fa-foursquare","fa-trello":"fa-trello","fa-female":"fa-female","fa-male":"fa-male","fa-gittip":"fa-gittip","fa-gratipay":"fa-gratipay","fa-sun-o":"fa-sun-o","fa-moon-o":"fa-moon-o","fa-archive":"fa-archive","fa-bug":"fa-bug","fa-vk":"fa-vk","fa-weibo":"fa-weibo","fa-renren":"fa-renren","fa-pagelines":"fa-pagelines","fa-stack-exchange":"fa-stack-exchange","fa-arrow-circle-o-right":"fa-arrow-circle-o-right","fa-arrow-circle-o-left":"fa-arrow-circle-o-left","fa-toggle-left":"fa-toggle-left","fa-caret-square-o-left":"fa-caret-square-o-left","fa-dot-circle-o":"fa-dot-circle-o","fa-wheelchair":"fa-wheelchair","fa-vimeo-square":"fa-vimeo-square","fa-turkish-lira":"fa-turkish-lira","fa-try":"fa-try","fa-plus-square-o":"fa-plus-square-o","fa-space-shuttle":"fa-space-shuttle","fa-slack":"fa-slack","fa-envelope-square":"fa-envelope-square","fa-wordpress":"fa-wordpress","fa-openid":"fa-openid","fa-institution":"fa-institution","fa-bank":"fa-bank","fa-university":"fa-university","fa-mortar-board":"fa-mortar-board","fa-graduation-cap":"fa-graduation-cap","fa-yahoo":"fa-yahoo","fa-google":"fa-google","fa-reddit":"fa-reddit","fa-reddit-square":"fa-reddit-square","fa-stumbleupon-circle":"fa-stumbleupon-circle","fa-stumbleupon":"fa-stumbleupon","fa-delicious":"fa-delicious","fa-digg":"fa-digg","fa-pied-piper-pp":"fa-pied-piper-pp","fa-pied-piper-alt":"fa-pied-piper-alt","fa-drupal":"fa-drupal","fa-joomla":"fa-joomla","fa-language":"fa-language","fa-fax":"fa-fax","fa-building":"fa-building","fa-child":"fa-child","fa-paw":"fa-paw","fa-spoon":"fa-spoon","fa-cube":"fa-cube","fa-cubes":"fa-cubes","fa-behance":"fa-behance","fa-behance-square":"fa-behance-square","fa-steam":"fa-steam","fa-steam-square":"fa-steam-square","fa-recycle":"fa-recycle","fa-automobile":"fa-automobile","fa-car":"fa-car","fa-cab":"fa-cab","fa-taxi":"fa-taxi","fa-tree":"fa-tree","fa-spotify":"fa-spotify","fa-deviantart":"fa-deviantart","fa-soundcloud":"fa-soundcloud","fa-database":"fa-database","fa-file-pdf-o":"fa-file-pdf-o","fa-file-word-o":"fa-file-word-o","fa-file-excel-o":"fa-file-excel-o","fa-file-powerpoint-o":"fa-file-powerpoint-o","fa-file-photo-o":"fa-file-photo-o","fa-file-picture-o":"fa-file-picture-o","fa-file-image-o":"fa-file-image-o","fa-file-zip-o":"fa-file-zip-o","fa-file-archive-o":"fa-file-archive-o","fa-file-sound-o":"fa-file-sound-o","fa-file-audio-o":"fa-file-audio-o","fa-file-movie-o":"fa-file-movie-o","fa-file-video-o":"fa-file-video-o","fa-file-code-o":"fa-file-code-o","fa-vine":"fa-vine","fa-codepen":"fa-codepen","fa-jsfiddle":"fa-jsfiddle","fa-life-bouy":"fa-life-bouy","fa-life-buoy":"fa-life-buoy","fa-life-saver":"fa-life-saver","fa-support":"fa-support","fa-life-ring":"fa-life-ring","fa-circle-o-notch":"fa-circle-o-notch","fa-ra":"fa-ra","fa-resistance":"fa-resistance","fa-rebel":"fa-rebel","fa-ge":"fa-ge","fa-empire":"fa-empire","fa-git-square":"fa-git-square","fa-git":"fa-git","fa-y-combinator-square":"fa-y-combinator-square","fa-yc-square":"fa-yc-square","fa-hacker-news":"fa-hacker-news","fa-tencent-weibo":"fa-tencent-weibo","fa-qq":"fa-qq","fa-wechat":"fa-wechat","fa-weixin":"fa-weixin","fa-send":"fa-send","fa-paper-plane":"fa-paper-plane","fa-send-o":"fa-send-o","fa-paper-plane-o":"fa-paper-plane-o","fa-history":"fa-history","fa-circle-thin":"fa-circle-thin","fa-header":"fa-header","fa-paragraph":"fa-paragraph","fa-sliders":"fa-sliders","fa-share-alt":"fa-share-alt","fa-share-alt-square":"fa-share-alt-square","fa-bomb":"fa-bomb","fa-soccer-ball-o":"fa-soccer-ball-o","fa-futbol-o":"fa-futbol-o","fa-tty":"fa-tty","fa-binoculars":"fa-binoculars","fa-plug":"fa-plug","fa-slideshare":"fa-slideshare","fa-twitch":"fa-twitch","fa-yelp":"fa-yelp","fa-newspaper-o":"fa-newspaper-o","fa-wifi":"fa-wifi","fa-calculator":"fa-calculator","fa-paypal":"fa-paypal","fa-google-wallet":"fa-google-wallet","fa-cc-visa":"fa-cc-visa","fa-cc-mastercard":"fa-cc-mastercard","fa-cc-discover":"fa-cc-discover","fa-cc-amex":"fa-cc-amex","fa-cc-paypal":"fa-cc-paypal","fa-cc-stripe":"fa-cc-stripe","fa-bell-slash":"fa-bell-slash","fa-bell-slash-o":"fa-bell-slash-o","fa-trash":"fa-trash","fa-copyright":"fa-copyright","fa-at":"fa-at","fa-eyedropper":"fa-eyedropper","fa-paint-brush":"fa-paint-brush","fa-birthday-cake":"fa-birthday-cake","fa-area-chart":"fa-area-chart","fa-pie-chart":"fa-pie-chart","fa-line-chart":"fa-line-chart","fa-lastfm":"fa-lastfm","fa-lastfm-square":"fa-lastfm-square","fa-toggle-off":"fa-toggle-off","fa-toggle-on":"fa-toggle-on","fa-bicycle":"fa-bicycle","fa-bus":"fa-bus","fa-ioxhost":"fa-ioxhost","fa-angellist":"fa-angellist","fa-cc":"fa-cc","fa-shekel":"fa-shekel","fa-sheqel":"fa-sheqel","fa-ils":"fa-ils","fa-meanpath":"fa-meanpath","fa-buysellads":"fa-buysellads","fa-connectdevelop":"fa-connectdevelop","fa-dashcube":"fa-dashcube","fa-forumbee":"fa-forumbee","fa-leanpub":"fa-leanpub","fa-sellsy":"fa-sellsy","fa-shirtsinbulk":"fa-shirtsinbulk","fa-simplybuilt":"fa-simplybuilt","fa-skyatlas":"fa-skyatlas","fa-cart-plus":"fa-cart-plus","fa-cart-arrow-down":"fa-cart-arrow-down","fa-diamond":"fa-diamond","fa-ship":"fa-ship","fa-user-secret":"fa-user-secret","fa-motorcycle":"fa-motorcycle","fa-street-view":"fa-street-view","fa-heartbeat":"fa-heartbeat","fa-venus":"fa-venus","fa-mars":"fa-mars","fa-mercury":"fa-mercury","fa-intersex":"fa-intersex","fa-transgender":"fa-transgender","fa-transgender-alt":"fa-transgender-alt","fa-venus-double":"fa-venus-double","fa-mars-double":"fa-mars-double","fa-venus-mars":"fa-venus-mars","fa-mars-stroke":"fa-mars-stroke","fa-mars-stroke-v":"fa-mars-stroke-v","fa-mars-stroke-h":"fa-mars-stroke-h","fa-neuter":"fa-neuter","fa-genderless":"fa-genderless","fa-facebook-official":"fa-facebook-official","fa-pinterest-p":"fa-pinterest-p","fa-whatsapp":"fa-whatsapp","fa-server":"fa-server","fa-user-plus":"fa-user-plus","fa-user-times":"fa-user-times","fa-hotel":"fa-hotel","fa-bed":"fa-bed","fa-viacoin":"fa-viacoin","fa-train":"fa-train","fa-subway":"fa-subway","fa-medium":"fa-medium","fa-yc":"fa-yc","fa-y-combinator":"fa-y-combinator","fa-optin-monster":"fa-optin-monster","fa-opencart":"fa-opencart","fa-expeditedssl":"fa-expeditedssl","fa-battery-4":"fa-battery-4","fa-battery":"fa-battery","fa-battery-full":"fa-battery-full","fa-battery-3":"fa-battery-3","fa-battery-three-quarters":"fa-battery-three-quarters","fa-battery-2":"fa-battery-2","fa-battery-half":"fa-battery-half","fa-battery-1":"fa-battery-1","fa-battery-quarter":"fa-battery-quarter","fa-battery-0":"fa-battery-0","fa-battery-empty":"fa-battery-empty","fa-mouse-pointer":"fa-mouse-pointer","fa-i-cursor":"fa-i-cursor","fa-object-group":"fa-object-group","fa-object-ungroup":"fa-object-ungroup","fa-sticky-note":"fa-sticky-note","fa-sticky-note-o":"fa-sticky-note-o","fa-cc-jcb":"fa-cc-jcb","fa-cc-diners-club":"fa-cc-diners-club","fa-clone":"fa-clone","fa-balance-scale":"fa-balance-scale","fa-hourglass-o":"fa-hourglass-o","fa-hourglass-1":"fa-hourglass-1","fa-hourglass-start":"fa-hourglass-start","fa-hourglass-2":"fa-hourglass-2","fa-hourglass-half":"fa-hourglass-half","fa-hourglass-3":"fa-hourglass-3","fa-hourglass-end":"fa-hourglass-end","fa-hourglass":"fa-hourglass","fa-hand-grab-o":"fa-hand-grab-o","fa-hand-rock-o":"fa-hand-rock-o","fa-hand-stop-o":"fa-hand-stop-o","fa-hand-paper-o":"fa-hand-paper-o","fa-hand-scissors-o":"fa-hand-scissors-o","fa-hand-lizard-o":"fa-hand-lizard-o","fa-hand-spock-o":"fa-hand-spock-o","fa-hand-pointer-o":"fa-hand-pointer-o","fa-hand-peace-o":"fa-hand-peace-o","fa-trademark":"fa-trademark","fa-registered":"fa-registered","fa-creative-commons":"fa-creative-commons","fa-gg":"fa-gg","fa-gg-circle":"fa-gg-circle","fa-tripadvisor":"fa-tripadvisor","fa-odnoklassniki":"fa-odnoklassniki","fa-odnoklassniki-square":"fa-odnoklassniki-square","fa-get-pocket":"fa-get-pocket","fa-wikipedia-w":"fa-wikipedia-w","fa-safari":"fa-safari","fa-chrome":"fa-chrome","fa-firefox":"fa-firefox","fa-opera":"fa-opera","fa-internet-explorer":"fa-internet-explorer","fa-tv":"fa-tv","fa-television":"fa-television","fa-contao":"fa-contao","fa-500px":"fa-500px","fa-amazon":"fa-amazon","fa-calendar-plus-o":"fa-calendar-plus-o","fa-calendar-minus-o":"fa-calendar-minus-o","fa-calendar-times-o":"fa-calendar-times-o","fa-calendar-check-o":"fa-calendar-check-o","fa-industry":"fa-industry","fa-map-pin":"fa-map-pin","fa-map-signs":"fa-map-signs","fa-map-o":"fa-map-o","fa-map":"fa-map","fa-commenting":"fa-commenting","fa-commenting-o":"fa-commenting-o","fa-houzz":"fa-houzz","fa-vimeo":"fa-vimeo","fa-black-tie":"fa-black-tie","fa-fonticons":"fa-fonticons","fa-reddit-alien":"fa-reddit-alien","fa-edge":"fa-edge","fa-credit-card-alt":"fa-credit-card-alt","fa-codiepie":"fa-codiepie","fa-modx":"fa-modx","fa-fort-awesome":"fa-fort-awesome","fa-usb":"fa-usb","fa-product-hunt":"fa-product-hunt","fa-mixcloud":"fa-mixcloud","fa-scribd":"fa-scribd","fa-pause-circle":"fa-pause-circle","fa-pause-circle-o":"fa-pause-circle-o","fa-stop-circle":"fa-stop-circle","fa-stop-circle-o":"fa-stop-circle-o","fa-shopping-bag":"fa-shopping-bag","fa-shopping-basket":"fa-shopping-basket","fa-hashtag":"fa-hashtag","fa-bluetooth":"fa-bluetooth","fa-bluetooth-b":"fa-bluetooth-b","fa-percent":"fa-percent","fa-gitlab":"fa-gitlab","fa-wpbeginner":"fa-wpbeginner","fa-wpforms":"fa-wpforms","fa-envira":"fa-envira","fa-universal-access":"fa-universal-access","fa-wheelchair-alt":"fa-wheelchair-alt","fa-question-circle-o":"fa-question-circle-o","fa-blind":"fa-blind","fa-audio-description":"fa-audio-description","fa-volume-control-phone":"fa-volume-control-phone","fa-braille":"fa-braille","fa-assistive-listening-systems":"fa-assistive-listening-systems","fa-asl-interpreting":"fa-asl-interpreting","fa-american-sign-language-interpreting":"fa-american-sign-language-interpreting","fa-deafness":"fa-deafness","fa-hard-of-hearing":"fa-hard-of-hearing","fa-deaf":"fa-deaf","fa-glide":"fa-glide","fa-glide-g":"fa-glide-g","fa-signing":"fa-signing","fa-sign-language":"fa-sign-language","fa-low-vision":"fa-low-vision","fa-viadeo":"fa-viadeo","fa-viadeo-square":"fa-viadeo-square","fa-snapchat":"fa-snapchat","fa-snapchat-ghost":"fa-snapchat-ghost","fa-snapchat-square":"fa-snapchat-square","fa-pied-piper":"fa-pied-piper","fa-first-order":"fa-first-order","fa-yoast":"fa-yoast","fa-themeisle":"fa-themeisle","fa-google-plus-circle":"fa-google-plus-circle","fa-google-plus-official":"fa-google-plus-official","fa-fa":"fa-fa","fa-font-awesome":"fa-font-awesome","fa-handshake-o":"fa-handshake-o","fa-envelope-open":"fa-envelope-open","fa-envelope-open-o":"fa-envelope-open-o","fa-linode":"fa-linode","fa-address-book":"fa-address-book","fa-address-book-o":"fa-address-book-o","fa-vcard":"fa-vcard","fa-address-card":"fa-address-card","fa-vcard-o":"fa-vcard-o","fa-address-card-o":"fa-address-card-o","fa-user-circle":"fa-user-circle","fa-user-circle-o":"fa-user-circle-o","fa-user-o":"fa-user-o","fa-id-badge":"fa-id-badge","fa-drivers-license":"fa-drivers-license","fa-id-card":"fa-id-card","fa-drivers-license-o":"fa-drivers-license-o","fa-id-card-o":"fa-id-card-o","fa-quora":"fa-quora","fa-free-code-camp":"fa-free-code-camp","fa-telegram":"fa-telegram","fa-thermometer-4":"fa-thermometer-4","fa-thermometer":"fa-thermometer","fa-thermometer-full":"fa-thermometer-full","fa-thermometer-3":"fa-thermometer-3","fa-thermometer-three-quarters":"fa-thermometer-three-quarters","fa-thermometer-2":"fa-thermometer-2","fa-thermometer-half":"fa-thermometer-half","fa-thermometer-1":"fa-thermometer-1","fa-thermometer-quarter":"fa-thermometer-quarter","fa-thermometer-0":"fa-thermometer-0","fa-thermometer-empty":"fa-thermometer-empty","fa-shower":"fa-shower","fa-bathtub":"fa-bathtub","fa-s15":"fa-s15","fa-bath":"fa-bath","fa-podcast":"fa-podcast","fa-window-maximize":"fa-window-maximize","fa-window-minimize":"fa-window-minimize","fa-window-restore":"fa-window-restore","fa-times-rectangle":"fa-times-rectangle","fa-window-close":"fa-window-close","fa-times-rectangle-o":"fa-times-rectangle-o","fa-window-close-o":"fa-window-close-o","fa-bandcamp":"fa-bandcamp","fa-grav":"fa-grav","fa-etsy":"fa-etsy","fa-imdb":"fa-imdb","fa-ravelry":"fa-ravelry","fa-eercast":"fa-eercast","fa-microchip":"fa-microchip","fa-snowflake-o":"fa-snowflake-o","fa-superpowers":"fa-superpowers","fa-wpexplorer":"fa-wpexplorer","fa-meetup":"fa-meetup",topnav:"topnav",topsearch:"topsearch","item-grid":"item-grid","item-grid-item":"item-grid-item","main-image":"main-image","item-image-container":"item-image-container",drawingModeBtn:"drawingModeBtn","form-drawing":"form-drawing","form-drawing-wrapper":"form-drawing-wrapper",selected:"selected",showPointer:"showPointer","zoom-action-list":"zoom-action-list","zoomTarget-wrapper":"zoomTarget-wrapper",zoomTarget:"zoomTarget","cut-canvas":"cut-canvas","no-padding":"no-padding","annotation-content":"annotation-content",highlight:"highlight","revision-proposal":"revision-proposal","collection-home-btn":"collection-home-btn","img-stats-dt":"img-stats-dt","img-stats-dd":"img-stats-dd","revision-link":"revision-link","item-image-thumbnail":"item-image-thumbnail","annotation-comments":"annotation-comments","comment-reply-link":"comment-reply-link","comment-subtext":"comment-subtext","comment-metacategories":"comment-metacategories","comment-separator":"comment-separator","pagination-shortcut":"pagination-shortcut","badge-error":"badge-error","badge-warning":"badge-warning","badge-success":"badge-success","badge-info":"badge-info","badge-inverse":"badge-inverse","notif-badge":"notif-badge","show-all-notifications":"show-all-notifications","annotation-panel":"annotation-panel","annotation-detail":"annotation-detail","stats-annotation-userpage":"stats-annotation-userpage","image-detail":"image-detail","large-image-detail":"large-image-detail","no-user-annotation":"no-user-annotation","dt-annotation":"dt-annotation","userpage-annotation-btn":"userpage-annotation-btn","collection-title":"collection-title","collection-summary":"collection-summary","collection-container":"collection-container","tab-selector":"tab-selector","image-list-wrapper":"image-list-wrapper","image-list-li":"image-list-li","image-list-image-container":"image-list-image-container","object-info":"object-info","collection-home-item-btn":"collection-home-item-btn","collection-home-tab":"collection-home-tab","diff-viewer-wrapper":"diff-viewer-wrapper","diff-panel":"diff-panel","close-btn":"close-btn","partners-icons":"partners-icons","footer-link":"footer-link","footer-info":"footer-info","legals-dl":"legals-dl","show-complete-link":"show-complete-link","hide-complete-link":"hide-complete-link","description-col":"description-col","annotation-navigator":"annotation-navigator","annotation-navigator-list":"annotation-navigator-list","list-group-item-footer":"list-group-item-footer","annotation-navigator-canvas":"annotation-navigator-canvas","annotation-navigator-panel":"annotation-navigator-panel"}},function(t,e,n){"use strict";var r=n(38),i=new RegExp(r().source);t.exports=i.test.bind(i)},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./diff_match_patch_uncompressed":27,"./diff_match_patch_uncompressed.js":27};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=176},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./annotated":13,"./annotated.js":13,"./base":4,"./base.js":4,"./console":19,"./console.js":19,"./html":14,"./html.js":14,"./index":15,"./index.js":15,"./jsonpatch":16,"./jsonpatch.js":16};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=177},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(u===clearTimeout)return clearTimeout(t);if((u===r||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(t);try{return u(t)}catch(e){try{return u.call(null,t)}catch(e){return u.call(this,t)}}}function a(){g&&p&&(g=!1,p.length?d=p.concat(d):v=-1,d.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=d.length;e;){for(p=d,d=[];++v<e;)p&&p[v].run();v=-1,e=d.length}p=null,g=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function c(){}var f,u,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{u="function"==typeof clearTimeout?clearTimeout:r}catch(t){u=r}}();var p,d=[],g=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new l(t,e)),1!==d.length||g||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(38)();t.exports=function(t){return"string"==typeof t?t.replace(r,""):t}},function(t,e,n){(function(e){"use strict";t.exports=function(){return e.argv.indexOf("--no-color")===-1&&(e.argv.indexOf("--color")!==-1||!(e.stdout&&!e.stdout.isTTY)&&("win32"===e.platform||("COLORTERM"in{NODE_ENV:"production"}||"dumb"!=={NODE_ENV:"production"}.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test({NODE_ENV:"production"}.TERM))))}()}).call(e,n(178))},function(t,e,n){var r,i;r=n(60),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(61),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;n(223),r=n(63);var o=n(207);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-51ceff58",t.exports=r},function(t,e,n){var r,i;n(221),r=n(64);var o=n(205);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-45428799",t.exports=r},function(t,e,n){var r,i;n(224),r=n(65);var o=n(208);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-52ae02ee",t.exports=r},function(t,e,n){var r,i;n(217),r=n(66);var o=n(200);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-21ad04a8",t.exports=r},function(t,e,n){var r,i;n(226),r=n(67);var o=n(211);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-a8fd4508",t.exports=r},function(t,e,n){var r,i;n(222),r=n(68);var o=n(206);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-506fb618",t.exports=r},function(t,e,n){var r,i;n(213),r=n(69);var o=n(196);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;n(219),r=n(70);var o=n(202);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-2cdf3ca8",t.exports=r},function(t,e,n){var r,i;r=n(71),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(72);var o=n(195);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;n(220),r=n(75);var o=n(203);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-2ceb798e",t.exports=r},function(t,e,n){var r,i;r=n(77);var o=n(210);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"modal-mask diff-panel"},[n("p",{staticClass:"pull-right close-btn",on:{click:t.close}},[n("i",{staticClass:"fa fa-close"})]),t._v(" "),t._t("header"),t._v(" "),t._t("content"),t._v(" "),t._t("footer")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.close}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("div",{staticClass:"form-group",class:t.titleFormGroup,staticStyle:{clear:"both"}},[n("label",{staticClass:"control-label"},[t._v("Titre")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control input-sm",attrs:{name:"title",type:"text",placeholder:"Donnez un titre court"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control input-sm",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.originalTags}})],1),t._v(" "),n("button",{staticClass:"btn btn-block btn-sm btn-primary",on:{click:t.save}},[t._v("Valider")])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("taglist",{ref:"taglist"}),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"},{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.placeholder,
-autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keyup:[function(e){8===e.keyCode&&t.checkQuery(e)},t.update],keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.showAddButton,expression:"showAddButton"}],on:{click:t.addTag}},[n("i",{staticClass:"fa fa-plus"}),t._v(" Créer ce tag")]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems||!t.readOnly,expression:"hasItems || !readOnly"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:t._s(t.selectedTags)},on:{input:function(e){e.target.composing||(t.selectedTags=e.target.value)}}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control input-sm",attrs:{type:"text",disabled:t.readonly,placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],blur:t.reset,input:[function(e){e.target.composing||(t.query=e.target.value)},t.update]}}),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems,expression:"hasItems"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"btn-group",attrs:{"data-toggle":"buttons"}},t._l(5,function(e){return n("label",{ref:"buttons",refInFor:!0,staticClass:"btn btn-default",class:{"btn--highlight":t.value&&e<=t.value},attrs:{"data-value":e},on:{mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave,click:t.onClick}},[n("input",{attrs:{type:"radio",name:"options",autocomplete:"off"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v(t._s(e))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.annotation,expression:"annotation"}]},[n("label",{staticClass:"small text-muted"},[t._v("Commentaires")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.comments.length,expression:"comments.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de commentaire pour le moment.")]),t._v(" "),t._l(t.comments,function(t){return n("comment",{attrs:{comment:t.comment,username:t.user_name,date:t.submit_date}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.tags.length,expression:"tags.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de mots-clé pour le moment")]),t._v(" "),n("div",{staticClass:"tag-list"},t._l(t.tags,function(e,r){return n("tag-list-item",{directives:[{name:"show",rawName:"v-show",value:t.tags.length>0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:e.tag_label,index:r,accuracy:e.accuracy,relevancy:e.relevancy,readonly:t.readonly}})})),t._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("svg",{ref:"svg",attrs:{width:t.thumbnailWidth,height:t.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:t.thumbnailWidth,height:t.thumbnailHeight,"xlink:href":t.image}}),t._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:t.x,y:t.y,width:t.width,height:t.height}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",on:{click:t.toggle}},[n("span",{staticClass:"tag-title"},[t._v(t._s(t.label))]),t._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":t.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.accuracyTitle}},[t._v(t._s(t.accuracy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):t._e()]),t._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":t.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.relevancyTitle}},[t._v(t._s(t.relevancy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):t._e()]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",on:{click:t.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),t._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[t._v("Fiabilité")]),t._v(" "),n("small",[t._v("Êtes-vous sûr de votre mot-clé ?")]),t._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":t.accuracy},on:{change:function(e){t.onChange("accuracy",e.value)}}})],1),t._v(" "),n("div",[n("label",{staticClass:"small"},[t._v("Pertinence")]),t._v(" "),n("small",[t._v("Votre mot-clé est-il indispensable à la compréhension ?")]),t._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":t.relevancy},on:{change:function(e){t.onChange("relevancy",e.value)}}})],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoomview-wrapper"},[t._m(0),t._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.imageUrl,width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),t._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:t.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[t._v("Zoom")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoom"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:t.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.image,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}):t._e(),t._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"rect"==t.mode,expression:"loaded && mode == 'rect'"}],ref:"rect",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}}),t._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"free"==t.mode,expression:"loaded && mode == 'free'"}],ref:"free",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}})],1)]),t._v(" "),n("div",{staticClass:"zoomer"}),t._v(" "),n("div",{staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{staticClass:"btn",class:{active:"rect"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])]),t._v(" "),n("button",{staticClass:"btn",class:{active:"free"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403    c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069    c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604    c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069    c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3    S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395    c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])])]),t._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:t.thumbnail,viewport:t.viewport,viewBox:t.viewBox,imageWidth:t.imageWidth,imageHeight:t.imageHeight},on:{change:function(e){t.changeViewBox(e)},dragstart:t.hideTooltip,dragend:t.showTooltip}}),t._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===t.scale},attrs:{type:"button"},on:{click:t.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("button",{staticClass:"btn",class:{disabled:t.scale>=1.9},attrs:{type:"button"},on:{click:t.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{ref:"g",attrs:{transform:t.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!t.readonly},attrs:{x:"0",y:"0",width:t.width,height:t.height,"stroke-width":t.handlerSize/5,"stroke-dasharray":t.handlerSize/5+","+t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler-rect handler-top-left",attrs:{x:t.handlerSize/2*-1,y:t.handlerSize/2*-1,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler-rect handler-bottom-right",attrs:{x:t.width-t.handlerSize/2,y:t.height-t.handlerSize/2,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.annotation?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":t.readonly,"btn-warning":!t.readonly},on:{click:function(e){t.readonly=!t.readonly}}},[t.readonly?n("i",{staticClass:"fa fa-edit"}):t._e(),t._v(" "),t.readonly?n("span",[t._v("Modifier")]):t._e(),t._v(" "),t.readonly?t._e():n("i",{staticClass:"fa fa-ban"}),t._v(" "),t.readonly?t._e():n("span",[t._v("Annuler")])]):t._e(),t._v(" "),t.annotation?t._e():n("div",{staticClass:"alert alert-warning text-center"},[t._v("\n        Aucune annotation sélectionnée.\n    ")]),t._v(" "),n("form",{attrs:{action:t.formAction,method:"post"}},[t._t("default"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:t._s(t.fragment)},on:{input:function(e){e.target.composing||(t.fragment=e.target.value)}}}),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Titre")]),t._v(" "),t.readonly?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.title}},[t._v(t._s(t.title||"Pas de titre"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Description")]),t._v(" "),t.readonly?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.description}},[t._v(t._s(t.description||"Pas de description"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.annotation.tags,readonly:t.readonly},on:{change:function(e){t.onTagsChange(e.tags)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:t._s(t.serializedTags)},on:{input:function(e){e.target.composing||(t.serializedTags=e.target.value)}}})],1):t._e(),t._v(" "),t.annotation&&!t.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!t.hasChanged},attrs:{type:"submit"}},[t._v("Enregistrer une nouvelle version")]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment"},[t._v("\n    "+t._s(t.comment)+"\n    "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-author"},[t._v(t._s(t.username))]),t._v(" "),n("span",{staticClass:"comment-date"},[t._v(t._s(t.dateFormatted))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[t._v("Comparer les deux versions:")]),t._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:t.imagePath,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("g",{attrs:{transform:t.matrixTransform}},[n("path",{attrs:{d:t.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),t._v(" "),n("path",{attrs:{d:t.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:t._s(t.diffText)}})]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.tagMode,expression:"tagMode"}]},[n("ul",t._l(t.tags,function(e,r){return n("li",[e.action?t._e():[n("li",[n("span",[t._v(t._s(e.tag_label))]),t._v(" | précision : "+t._s(e.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+t._s(e.relevancy)+"\n\t\t\t\t\t\t\t\t")])],t._v(" "),"replace"==e.action?[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[t._v("++")]),t._v(" "),n("strong",[n("ins",[t._v(t._s(e.new_label))])]),t._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),"add"==e.action?[n("li",[n("ins",[t._v("++")]),t._v(" "),n("ins",[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[t._v(t._s(e.relevancy))])])]:t._e(),t._v(" "),"del"==e.action?[n("li",[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été effacé")])]:t._e(),t._v(" "),"update"==e.action?[n("li",[n("strong",[t._v(t._s(e.tag_label))]),t._v(" "),e.accuracy!=e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[t._v(t._s(e.accuracy))]),t._v(" "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.accuracy==e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+t._s(e.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.relevancy!=e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[t._v(t._s(e.relevancy))]),t._v(" "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),e.relevancy==e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+t._s(e.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:t._e()],2)]:t._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},t._l(t.tags,function(e,r){return n("li",{ref:e.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("strong",[n("span",{domProps:{textContent:t._s(e.tag_label)}})]),t._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){t.updateAccuracy(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.accuracy==r,value:r}},[t._v(t._s(r))])})),t._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){t.updatePertinence(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.relevancy==r,value:r}},[t._v(t._s(r))])})),t._v(" "),n("a",{on:{click:function(n){t.removeTag(e)}}},[n("i",{staticClass:"fa fa-trash"})])])})),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.readOnly,expression:"readOnly"}],staticClass:"list-inline"},t._l(t.tags,function(e,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("span",{staticClass:"label label-info"},[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[t._v(t._s(e.accuracy))]),t._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[t._v(t._s(e.relevancy))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",[n("path",{ref:"path",staticStyle:{opacity:"0.6"},attrs:{d:t.path,stroke:"#000000",fill:"#bdc3c7","stroke-width":t.handlerRadius/2,"stroke-dasharray":t.handlerRadius/3+","+t.handlerRadius/3}}),t._v(" "),t._l(t.points,function(e,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!t.closed},attrs:{"data-key":r,cx:e.x,cy:e.y,r:t.handlerRadius,"stroke-width":t.handlerRadius/2}})})],2)},staticRenderFns:[]}},function(t,e){/*!
+"fa-plus":"fa-plus","fa-minus":"fa-minus","fa-asterisk":"fa-asterisk","fa-exclamation-circle":"fa-exclamation-circle","fa-gift":"fa-gift","fa-leaf":"fa-leaf","fa-fire":"fa-fire","fa-eye":"fa-eye","fa-eye-slash":"fa-eye-slash","fa-warning":"fa-warning","fa-exclamation-triangle":"fa-exclamation-triangle","fa-plane":"fa-plane","fa-calendar":"fa-calendar","fa-random":"fa-random","fa-comment":"fa-comment","fa-magnet":"fa-magnet","fa-chevron-up":"fa-chevron-up","fa-chevron-down":"fa-chevron-down","fa-retweet":"fa-retweet","fa-shopping-cart":"fa-shopping-cart","fa-folder":"fa-folder","fa-folder-open":"fa-folder-open","fa-arrows-v":"fa-arrows-v","fa-arrows-h":"fa-arrows-h","fa-bar-chart-o":"fa-bar-chart-o","fa-bar-chart":"fa-bar-chart","fa-twitter-square":"fa-twitter-square","fa-facebook-square":"fa-facebook-square","fa-camera-retro":"fa-camera-retro","fa-key":"fa-key","fa-gears":"fa-gears","fa-cogs":"fa-cogs","fa-comments":"fa-comments","fa-thumbs-o-up":"fa-thumbs-o-up","fa-thumbs-o-down":"fa-thumbs-o-down","fa-star-half":"fa-star-half","fa-heart-o":"fa-heart-o","fa-sign-out":"fa-sign-out","fa-linkedin-square":"fa-linkedin-square","fa-thumb-tack":"fa-thumb-tack","fa-external-link":"fa-external-link","fa-sign-in":"fa-sign-in","fa-trophy":"fa-trophy","fa-github-square":"fa-github-square","fa-upload":"fa-upload","fa-lemon-o":"fa-lemon-o","fa-phone":"fa-phone","fa-square-o":"fa-square-o","fa-bookmark-o":"fa-bookmark-o","fa-phone-square":"fa-phone-square","fa-twitter":"fa-twitter","fa-facebook-f":"fa-facebook-f","fa-facebook":"fa-facebook","fa-github":"fa-github","fa-unlock":"fa-unlock","fa-credit-card":"fa-credit-card","fa-feed":"fa-feed","fa-rss":"fa-rss","fa-hdd-o":"fa-hdd-o","fa-bullhorn":"fa-bullhorn","fa-bell":"fa-bell","fa-certificate":"fa-certificate","fa-hand-o-right":"fa-hand-o-right","fa-hand-o-left":"fa-hand-o-left","fa-hand-o-up":"fa-hand-o-up","fa-hand-o-down":"fa-hand-o-down","fa-arrow-circle-left":"fa-arrow-circle-left","fa-arrow-circle-right":"fa-arrow-circle-right","fa-arrow-circle-up":"fa-arrow-circle-up","fa-arrow-circle-down":"fa-arrow-circle-down","fa-globe":"fa-globe","fa-wrench":"fa-wrench","fa-tasks":"fa-tasks","fa-filter":"fa-filter","fa-briefcase":"fa-briefcase","fa-arrows-alt":"fa-arrows-alt","fa-group":"fa-group","fa-users":"fa-users","fa-chain":"fa-chain","fa-link":"fa-link","fa-cloud":"fa-cloud","fa-flask":"fa-flask","fa-cut":"fa-cut","fa-scissors":"fa-scissors","fa-copy":"fa-copy","fa-files-o":"fa-files-o","fa-paperclip":"fa-paperclip","fa-save":"fa-save","fa-floppy-o":"fa-floppy-o","fa-square":"fa-square","fa-navicon":"fa-navicon","fa-reorder":"fa-reorder","fa-bars":"fa-bars","fa-list-ul":"fa-list-ul","fa-list-ol":"fa-list-ol","fa-strikethrough":"fa-strikethrough","fa-underline":"fa-underline","fa-table":"fa-table","fa-magic":"fa-magic","fa-truck":"fa-truck","fa-pinterest":"fa-pinterest","fa-pinterest-square":"fa-pinterest-square","fa-google-plus-square":"fa-google-plus-square","fa-google-plus":"fa-google-plus","fa-money":"fa-money","fa-caret-down":"fa-caret-down","fa-caret-up":"fa-caret-up","fa-caret-left":"fa-caret-left","fa-caret-right":"fa-caret-right","fa-columns":"fa-columns","fa-unsorted":"fa-unsorted","fa-sort":"fa-sort","fa-sort-down":"fa-sort-down","fa-sort-desc":"fa-sort-desc","fa-sort-up":"fa-sort-up","fa-sort-asc":"fa-sort-asc","fa-envelope":"fa-envelope","fa-linkedin":"fa-linkedin","fa-rotate-left":"fa-rotate-left","fa-undo":"fa-undo","fa-legal":"fa-legal","fa-gavel":"fa-gavel","fa-dashboard":"fa-dashboard","fa-tachometer":"fa-tachometer","fa-comment-o":"fa-comment-o","fa-comments-o":"fa-comments-o","fa-flash":"fa-flash","fa-bolt":"fa-bolt","fa-sitemap":"fa-sitemap","fa-umbrella":"fa-umbrella","fa-paste":"fa-paste","fa-clipboard":"fa-clipboard","fa-lightbulb-o":"fa-lightbulb-o","fa-exchange":"fa-exchange","fa-cloud-download":"fa-cloud-download","fa-cloud-upload":"fa-cloud-upload","fa-user-md":"fa-user-md","fa-stethoscope":"fa-stethoscope","fa-suitcase":"fa-suitcase","fa-bell-o":"fa-bell-o","fa-coffee":"fa-coffee","fa-cutlery":"fa-cutlery","fa-file-text-o":"fa-file-text-o","fa-building-o":"fa-building-o","fa-hospital-o":"fa-hospital-o","fa-ambulance":"fa-ambulance","fa-medkit":"fa-medkit","fa-fighter-jet":"fa-fighter-jet","fa-beer":"fa-beer","fa-h-square":"fa-h-square","fa-plus-square":"fa-plus-square","fa-angle-double-left":"fa-angle-double-left","fa-angle-double-right":"fa-angle-double-right","fa-angle-double-up":"fa-angle-double-up","fa-angle-double-down":"fa-angle-double-down","fa-angle-left":"fa-angle-left","fa-angle-right":"fa-angle-right","fa-angle-up":"fa-angle-up","fa-angle-down":"fa-angle-down","fa-desktop":"fa-desktop","fa-laptop":"fa-laptop","fa-tablet":"fa-tablet","fa-mobile-phone":"fa-mobile-phone","fa-mobile":"fa-mobile","fa-circle-o":"fa-circle-o","fa-quote-left":"fa-quote-left","fa-quote-right":"fa-quote-right","fa-spinner":"fa-spinner","fa-circle":"fa-circle","fa-mail-reply":"fa-mail-reply","fa-reply":"fa-reply","fa-github-alt":"fa-github-alt","fa-folder-o":"fa-folder-o","fa-folder-open-o":"fa-folder-open-o","fa-smile-o":"fa-smile-o","fa-frown-o":"fa-frown-o","fa-meh-o":"fa-meh-o","fa-gamepad":"fa-gamepad","fa-keyboard-o":"fa-keyboard-o","fa-flag-o":"fa-flag-o","fa-flag-checkered":"fa-flag-checkered","fa-terminal":"fa-terminal","fa-code":"fa-code","fa-mail-reply-all":"fa-mail-reply-all","fa-reply-all":"fa-reply-all","fa-star-half-empty":"fa-star-half-empty","fa-star-half-full":"fa-star-half-full","fa-star-half-o":"fa-star-half-o","fa-location-arrow":"fa-location-arrow","fa-crop":"fa-crop","fa-code-fork":"fa-code-fork","fa-unlink":"fa-unlink","fa-chain-broken":"fa-chain-broken","fa-question":"fa-question","fa-info":"fa-info","fa-exclamation":"fa-exclamation","fa-superscript":"fa-superscript","fa-subscript":"fa-subscript","fa-eraser":"fa-eraser","fa-puzzle-piece":"fa-puzzle-piece","fa-microphone":"fa-microphone","fa-microphone-slash":"fa-microphone-slash","fa-shield":"fa-shield","fa-calendar-o":"fa-calendar-o","fa-fire-extinguisher":"fa-fire-extinguisher","fa-rocket":"fa-rocket","fa-maxcdn":"fa-maxcdn","fa-chevron-circle-left":"fa-chevron-circle-left","fa-chevron-circle-right":"fa-chevron-circle-right","fa-chevron-circle-up":"fa-chevron-circle-up","fa-chevron-circle-down":"fa-chevron-circle-down","fa-html5":"fa-html5","fa-css3":"fa-css3","fa-anchor":"fa-anchor","fa-unlock-alt":"fa-unlock-alt","fa-bullseye":"fa-bullseye","fa-ellipsis-h":"fa-ellipsis-h","fa-ellipsis-v":"fa-ellipsis-v","fa-rss-square":"fa-rss-square","fa-play-circle":"fa-play-circle","fa-ticket":"fa-ticket","fa-minus-square":"fa-minus-square","fa-minus-square-o":"fa-minus-square-o","fa-level-up":"fa-level-up","fa-level-down":"fa-level-down","fa-check-square":"fa-check-square","fa-pencil-square":"fa-pencil-square","fa-external-link-square":"fa-external-link-square","fa-share-square":"fa-share-square","fa-compass":"fa-compass","fa-toggle-down":"fa-toggle-down","fa-caret-square-o-down":"fa-caret-square-o-down","fa-toggle-up":"fa-toggle-up","fa-caret-square-o-up":"fa-caret-square-o-up","fa-toggle-right":"fa-toggle-right","fa-caret-square-o-right":"fa-caret-square-o-right","fa-euro":"fa-euro","fa-eur":"fa-eur","fa-gbp":"fa-gbp","fa-dollar":"fa-dollar","fa-usd":"fa-usd","fa-rupee":"fa-rupee","fa-inr":"fa-inr","fa-cny":"fa-cny","fa-rmb":"fa-rmb","fa-yen":"fa-yen","fa-jpy":"fa-jpy","fa-ruble":"fa-ruble","fa-rouble":"fa-rouble","fa-rub":"fa-rub","fa-won":"fa-won","fa-krw":"fa-krw","fa-bitcoin":"fa-bitcoin","fa-btc":"fa-btc","fa-file":"fa-file","fa-file-text":"fa-file-text","fa-sort-alpha-asc":"fa-sort-alpha-asc","fa-sort-alpha-desc":"fa-sort-alpha-desc","fa-sort-amount-asc":"fa-sort-amount-asc","fa-sort-amount-desc":"fa-sort-amount-desc","fa-sort-numeric-asc":"fa-sort-numeric-asc","fa-sort-numeric-desc":"fa-sort-numeric-desc","fa-thumbs-up":"fa-thumbs-up","fa-thumbs-down":"fa-thumbs-down","fa-youtube-square":"fa-youtube-square","fa-youtube":"fa-youtube","fa-xing":"fa-xing","fa-xing-square":"fa-xing-square","fa-youtube-play":"fa-youtube-play","fa-dropbox":"fa-dropbox","fa-stack-overflow":"fa-stack-overflow","fa-instagram":"fa-instagram","fa-flickr":"fa-flickr","fa-adn":"fa-adn","fa-bitbucket":"fa-bitbucket","fa-bitbucket-square":"fa-bitbucket-square","fa-tumblr":"fa-tumblr","fa-tumblr-square":"fa-tumblr-square","fa-long-arrow-down":"fa-long-arrow-down","fa-long-arrow-up":"fa-long-arrow-up","fa-long-arrow-left":"fa-long-arrow-left","fa-long-arrow-right":"fa-long-arrow-right","fa-apple":"fa-apple","fa-windows":"fa-windows","fa-android":"fa-android","fa-linux":"fa-linux","fa-dribbble":"fa-dribbble","fa-skype":"fa-skype","fa-foursquare":"fa-foursquare","fa-trello":"fa-trello","fa-female":"fa-female","fa-male":"fa-male","fa-gittip":"fa-gittip","fa-gratipay":"fa-gratipay","fa-sun-o":"fa-sun-o","fa-moon-o":"fa-moon-o","fa-archive":"fa-archive","fa-bug":"fa-bug","fa-vk":"fa-vk","fa-weibo":"fa-weibo","fa-renren":"fa-renren","fa-pagelines":"fa-pagelines","fa-stack-exchange":"fa-stack-exchange","fa-arrow-circle-o-right":"fa-arrow-circle-o-right","fa-arrow-circle-o-left":"fa-arrow-circle-o-left","fa-toggle-left":"fa-toggle-left","fa-caret-square-o-left":"fa-caret-square-o-left","fa-dot-circle-o":"fa-dot-circle-o","fa-wheelchair":"fa-wheelchair","fa-vimeo-square":"fa-vimeo-square","fa-turkish-lira":"fa-turkish-lira","fa-try":"fa-try","fa-plus-square-o":"fa-plus-square-o","fa-space-shuttle":"fa-space-shuttle","fa-slack":"fa-slack","fa-envelope-square":"fa-envelope-square","fa-wordpress":"fa-wordpress","fa-openid":"fa-openid","fa-institution":"fa-institution","fa-bank":"fa-bank","fa-university":"fa-university","fa-mortar-board":"fa-mortar-board","fa-graduation-cap":"fa-graduation-cap","fa-yahoo":"fa-yahoo","fa-google":"fa-google","fa-reddit":"fa-reddit","fa-reddit-square":"fa-reddit-square","fa-stumbleupon-circle":"fa-stumbleupon-circle","fa-stumbleupon":"fa-stumbleupon","fa-delicious":"fa-delicious","fa-digg":"fa-digg","fa-pied-piper-pp":"fa-pied-piper-pp","fa-pied-piper-alt":"fa-pied-piper-alt","fa-drupal":"fa-drupal","fa-joomla":"fa-joomla","fa-language":"fa-language","fa-fax":"fa-fax","fa-building":"fa-building","fa-child":"fa-child","fa-paw":"fa-paw","fa-spoon":"fa-spoon","fa-cube":"fa-cube","fa-cubes":"fa-cubes","fa-behance":"fa-behance","fa-behance-square":"fa-behance-square","fa-steam":"fa-steam","fa-steam-square":"fa-steam-square","fa-recycle":"fa-recycle","fa-automobile":"fa-automobile","fa-car":"fa-car","fa-cab":"fa-cab","fa-taxi":"fa-taxi","fa-tree":"fa-tree","fa-spotify":"fa-spotify","fa-deviantart":"fa-deviantart","fa-soundcloud":"fa-soundcloud","fa-database":"fa-database","fa-file-pdf-o":"fa-file-pdf-o","fa-file-word-o":"fa-file-word-o","fa-file-excel-o":"fa-file-excel-o","fa-file-powerpoint-o":"fa-file-powerpoint-o","fa-file-photo-o":"fa-file-photo-o","fa-file-picture-o":"fa-file-picture-o","fa-file-image-o":"fa-file-image-o","fa-file-zip-o":"fa-file-zip-o","fa-file-archive-o":"fa-file-archive-o","fa-file-sound-o":"fa-file-sound-o","fa-file-audio-o":"fa-file-audio-o","fa-file-movie-o":"fa-file-movie-o","fa-file-video-o":"fa-file-video-o","fa-file-code-o":"fa-file-code-o","fa-vine":"fa-vine","fa-codepen":"fa-codepen","fa-jsfiddle":"fa-jsfiddle","fa-life-bouy":"fa-life-bouy","fa-life-buoy":"fa-life-buoy","fa-life-saver":"fa-life-saver","fa-support":"fa-support","fa-life-ring":"fa-life-ring","fa-circle-o-notch":"fa-circle-o-notch","fa-ra":"fa-ra","fa-resistance":"fa-resistance","fa-rebel":"fa-rebel","fa-ge":"fa-ge","fa-empire":"fa-empire","fa-git-square":"fa-git-square","fa-git":"fa-git","fa-y-combinator-square":"fa-y-combinator-square","fa-yc-square":"fa-yc-square","fa-hacker-news":"fa-hacker-news","fa-tencent-weibo":"fa-tencent-weibo","fa-qq":"fa-qq","fa-wechat":"fa-wechat","fa-weixin":"fa-weixin","fa-send":"fa-send","fa-paper-plane":"fa-paper-plane","fa-send-o":"fa-send-o","fa-paper-plane-o":"fa-paper-plane-o","fa-history":"fa-history","fa-circle-thin":"fa-circle-thin","fa-header":"fa-header","fa-paragraph":"fa-paragraph","fa-sliders":"fa-sliders","fa-share-alt":"fa-share-alt","fa-share-alt-square":"fa-share-alt-square","fa-bomb":"fa-bomb","fa-soccer-ball-o":"fa-soccer-ball-o","fa-futbol-o":"fa-futbol-o","fa-tty":"fa-tty","fa-binoculars":"fa-binoculars","fa-plug":"fa-plug","fa-slideshare":"fa-slideshare","fa-twitch":"fa-twitch","fa-yelp":"fa-yelp","fa-newspaper-o":"fa-newspaper-o","fa-wifi":"fa-wifi","fa-calculator":"fa-calculator","fa-paypal":"fa-paypal","fa-google-wallet":"fa-google-wallet","fa-cc-visa":"fa-cc-visa","fa-cc-mastercard":"fa-cc-mastercard","fa-cc-discover":"fa-cc-discover","fa-cc-amex":"fa-cc-amex","fa-cc-paypal":"fa-cc-paypal","fa-cc-stripe":"fa-cc-stripe","fa-bell-slash":"fa-bell-slash","fa-bell-slash-o":"fa-bell-slash-o","fa-trash":"fa-trash","fa-copyright":"fa-copyright","fa-at":"fa-at","fa-eyedropper":"fa-eyedropper","fa-paint-brush":"fa-paint-brush","fa-birthday-cake":"fa-birthday-cake","fa-area-chart":"fa-area-chart","fa-pie-chart":"fa-pie-chart","fa-line-chart":"fa-line-chart","fa-lastfm":"fa-lastfm","fa-lastfm-square":"fa-lastfm-square","fa-toggle-off":"fa-toggle-off","fa-toggle-on":"fa-toggle-on","fa-bicycle":"fa-bicycle","fa-bus":"fa-bus","fa-ioxhost":"fa-ioxhost","fa-angellist":"fa-angellist","fa-cc":"fa-cc","fa-shekel":"fa-shekel","fa-sheqel":"fa-sheqel","fa-ils":"fa-ils","fa-meanpath":"fa-meanpath","fa-buysellads":"fa-buysellads","fa-connectdevelop":"fa-connectdevelop","fa-dashcube":"fa-dashcube","fa-forumbee":"fa-forumbee","fa-leanpub":"fa-leanpub","fa-sellsy":"fa-sellsy","fa-shirtsinbulk":"fa-shirtsinbulk","fa-simplybuilt":"fa-simplybuilt","fa-skyatlas":"fa-skyatlas","fa-cart-plus":"fa-cart-plus","fa-cart-arrow-down":"fa-cart-arrow-down","fa-diamond":"fa-diamond","fa-ship":"fa-ship","fa-user-secret":"fa-user-secret","fa-motorcycle":"fa-motorcycle","fa-street-view":"fa-street-view","fa-heartbeat":"fa-heartbeat","fa-venus":"fa-venus","fa-mars":"fa-mars","fa-mercury":"fa-mercury","fa-intersex":"fa-intersex","fa-transgender":"fa-transgender","fa-transgender-alt":"fa-transgender-alt","fa-venus-double":"fa-venus-double","fa-mars-double":"fa-mars-double","fa-venus-mars":"fa-venus-mars","fa-mars-stroke":"fa-mars-stroke","fa-mars-stroke-v":"fa-mars-stroke-v","fa-mars-stroke-h":"fa-mars-stroke-h","fa-neuter":"fa-neuter","fa-genderless":"fa-genderless","fa-facebook-official":"fa-facebook-official","fa-pinterest-p":"fa-pinterest-p","fa-whatsapp":"fa-whatsapp","fa-server":"fa-server","fa-user-plus":"fa-user-plus","fa-user-times":"fa-user-times","fa-hotel":"fa-hotel","fa-bed":"fa-bed","fa-viacoin":"fa-viacoin","fa-train":"fa-train","fa-subway":"fa-subway","fa-medium":"fa-medium","fa-yc":"fa-yc","fa-y-combinator":"fa-y-combinator","fa-optin-monster":"fa-optin-monster","fa-opencart":"fa-opencart","fa-expeditedssl":"fa-expeditedssl","fa-battery-4":"fa-battery-4","fa-battery":"fa-battery","fa-battery-full":"fa-battery-full","fa-battery-3":"fa-battery-3","fa-battery-three-quarters":"fa-battery-three-quarters","fa-battery-2":"fa-battery-2","fa-battery-half":"fa-battery-half","fa-battery-1":"fa-battery-1","fa-battery-quarter":"fa-battery-quarter","fa-battery-0":"fa-battery-0","fa-battery-empty":"fa-battery-empty","fa-mouse-pointer":"fa-mouse-pointer","fa-i-cursor":"fa-i-cursor","fa-object-group":"fa-object-group","fa-object-ungroup":"fa-object-ungroup","fa-sticky-note":"fa-sticky-note","fa-sticky-note-o":"fa-sticky-note-o","fa-cc-jcb":"fa-cc-jcb","fa-cc-diners-club":"fa-cc-diners-club","fa-clone":"fa-clone","fa-balance-scale":"fa-balance-scale","fa-hourglass-o":"fa-hourglass-o","fa-hourglass-1":"fa-hourglass-1","fa-hourglass-start":"fa-hourglass-start","fa-hourglass-2":"fa-hourglass-2","fa-hourglass-half":"fa-hourglass-half","fa-hourglass-3":"fa-hourglass-3","fa-hourglass-end":"fa-hourglass-end","fa-hourglass":"fa-hourglass","fa-hand-grab-o":"fa-hand-grab-o","fa-hand-rock-o":"fa-hand-rock-o","fa-hand-stop-o":"fa-hand-stop-o","fa-hand-paper-o":"fa-hand-paper-o","fa-hand-scissors-o":"fa-hand-scissors-o","fa-hand-lizard-o":"fa-hand-lizard-o","fa-hand-spock-o":"fa-hand-spock-o","fa-hand-pointer-o":"fa-hand-pointer-o","fa-hand-peace-o":"fa-hand-peace-o","fa-trademark":"fa-trademark","fa-registered":"fa-registered","fa-creative-commons":"fa-creative-commons","fa-gg":"fa-gg","fa-gg-circle":"fa-gg-circle","fa-tripadvisor":"fa-tripadvisor","fa-odnoklassniki":"fa-odnoklassniki","fa-odnoklassniki-square":"fa-odnoklassniki-square","fa-get-pocket":"fa-get-pocket","fa-wikipedia-w":"fa-wikipedia-w","fa-safari":"fa-safari","fa-chrome":"fa-chrome","fa-firefox":"fa-firefox","fa-opera":"fa-opera","fa-internet-explorer":"fa-internet-explorer","fa-tv":"fa-tv","fa-television":"fa-television","fa-contao":"fa-contao","fa-500px":"fa-500px","fa-amazon":"fa-amazon","fa-calendar-plus-o":"fa-calendar-plus-o","fa-calendar-minus-o":"fa-calendar-minus-o","fa-calendar-times-o":"fa-calendar-times-o","fa-calendar-check-o":"fa-calendar-check-o","fa-industry":"fa-industry","fa-map-pin":"fa-map-pin","fa-map-signs":"fa-map-signs","fa-map-o":"fa-map-o","fa-map":"fa-map","fa-commenting":"fa-commenting","fa-commenting-o":"fa-commenting-o","fa-houzz":"fa-houzz","fa-vimeo":"fa-vimeo","fa-black-tie":"fa-black-tie","fa-fonticons":"fa-fonticons","fa-reddit-alien":"fa-reddit-alien","fa-edge":"fa-edge","fa-credit-card-alt":"fa-credit-card-alt","fa-codiepie":"fa-codiepie","fa-modx":"fa-modx","fa-fort-awesome":"fa-fort-awesome","fa-usb":"fa-usb","fa-product-hunt":"fa-product-hunt","fa-mixcloud":"fa-mixcloud","fa-scribd":"fa-scribd","fa-pause-circle":"fa-pause-circle","fa-pause-circle-o":"fa-pause-circle-o","fa-stop-circle":"fa-stop-circle","fa-stop-circle-o":"fa-stop-circle-o","fa-shopping-bag":"fa-shopping-bag","fa-shopping-basket":"fa-shopping-basket","fa-hashtag":"fa-hashtag","fa-bluetooth":"fa-bluetooth","fa-bluetooth-b":"fa-bluetooth-b","fa-percent":"fa-percent","fa-gitlab":"fa-gitlab","fa-wpbeginner":"fa-wpbeginner","fa-wpforms":"fa-wpforms","fa-envira":"fa-envira","fa-universal-access":"fa-universal-access","fa-wheelchair-alt":"fa-wheelchair-alt","fa-question-circle-o":"fa-question-circle-o","fa-blind":"fa-blind","fa-audio-description":"fa-audio-description","fa-volume-control-phone":"fa-volume-control-phone","fa-braille":"fa-braille","fa-assistive-listening-systems":"fa-assistive-listening-systems","fa-asl-interpreting":"fa-asl-interpreting","fa-american-sign-language-interpreting":"fa-american-sign-language-interpreting","fa-deafness":"fa-deafness","fa-hard-of-hearing":"fa-hard-of-hearing","fa-deaf":"fa-deaf","fa-glide":"fa-glide","fa-glide-g":"fa-glide-g","fa-signing":"fa-signing","fa-sign-language":"fa-sign-language","fa-low-vision":"fa-low-vision","fa-viadeo":"fa-viadeo","fa-viadeo-square":"fa-viadeo-square","fa-snapchat":"fa-snapchat","fa-snapchat-ghost":"fa-snapchat-ghost","fa-snapchat-square":"fa-snapchat-square","fa-pied-piper":"fa-pied-piper","fa-first-order":"fa-first-order","fa-yoast":"fa-yoast","fa-themeisle":"fa-themeisle","fa-google-plus-circle":"fa-google-plus-circle","fa-google-plus-official":"fa-google-plus-official","fa-fa":"fa-fa","fa-font-awesome":"fa-font-awesome","fa-handshake-o":"fa-handshake-o","fa-envelope-open":"fa-envelope-open","fa-envelope-open-o":"fa-envelope-open-o","fa-linode":"fa-linode","fa-address-book":"fa-address-book","fa-address-book-o":"fa-address-book-o","fa-vcard":"fa-vcard","fa-address-card":"fa-address-card","fa-vcard-o":"fa-vcard-o","fa-address-card-o":"fa-address-card-o","fa-user-circle":"fa-user-circle","fa-user-circle-o":"fa-user-circle-o","fa-user-o":"fa-user-o","fa-id-badge":"fa-id-badge","fa-drivers-license":"fa-drivers-license","fa-id-card":"fa-id-card","fa-drivers-license-o":"fa-drivers-license-o","fa-id-card-o":"fa-id-card-o","fa-quora":"fa-quora","fa-free-code-camp":"fa-free-code-camp","fa-telegram":"fa-telegram","fa-thermometer-4":"fa-thermometer-4","fa-thermometer":"fa-thermometer","fa-thermometer-full":"fa-thermometer-full","fa-thermometer-3":"fa-thermometer-3","fa-thermometer-three-quarters":"fa-thermometer-three-quarters","fa-thermometer-2":"fa-thermometer-2","fa-thermometer-half":"fa-thermometer-half","fa-thermometer-1":"fa-thermometer-1","fa-thermometer-quarter":"fa-thermometer-quarter","fa-thermometer-0":"fa-thermometer-0","fa-thermometer-empty":"fa-thermometer-empty","fa-shower":"fa-shower","fa-bathtub":"fa-bathtub","fa-s15":"fa-s15","fa-bath":"fa-bath","fa-podcast":"fa-podcast","fa-window-maximize":"fa-window-maximize","fa-window-minimize":"fa-window-minimize","fa-window-restore":"fa-window-restore","fa-times-rectangle":"fa-times-rectangle","fa-window-close":"fa-window-close","fa-times-rectangle-o":"fa-times-rectangle-o","fa-window-close-o":"fa-window-close-o","fa-bandcamp":"fa-bandcamp","fa-grav":"fa-grav","fa-etsy":"fa-etsy","fa-imdb":"fa-imdb","fa-ravelry":"fa-ravelry","fa-eercast":"fa-eercast","fa-microchip":"fa-microchip","fa-snowflake-o":"fa-snowflake-o","fa-superpowers":"fa-superpowers","fa-wpexplorer":"fa-wpexplorer","fa-meetup":"fa-meetup",topnav:"topnav",topsearch:"topsearch","item-grid":"item-grid","item-grid-item":"item-grid-item","main-image":"main-image","item-image-container":"item-image-container",drawingModeBtn:"drawingModeBtn","form-drawing":"form-drawing","form-drawing-wrapper":"form-drawing-wrapper",selected:"selected",showPointer:"showPointer","zoom-action-list":"zoom-action-list","zoomTarget-wrapper":"zoomTarget-wrapper",zoomTarget:"zoomTarget","cut-canvas":"cut-canvas","no-padding":"no-padding","annotation-content":"annotation-content",highlight:"highlight","revision-proposal":"revision-proposal","collection-home-btn":"collection-home-btn","img-stats-dt":"img-stats-dt","img-stats-dd":"img-stats-dd","revision-link":"revision-link","item-image-thumbnail":"item-image-thumbnail","annotation-comments":"annotation-comments","comment-reply-link":"comment-reply-link","comment-subtext":"comment-subtext","comment-metacategories":"comment-metacategories","comment-separator":"comment-separator","pagination-shortcut":"pagination-shortcut","badge-error":"badge-error","badge-warning":"badge-warning","badge-success":"badge-success","badge-info":"badge-info","badge-inverse":"badge-inverse","notif-badge":"notif-badge","show-all-notifications":"show-all-notifications","annotation-panel":"annotation-panel","annotation-detail":"annotation-detail","stats-annotation-userpage":"stats-annotation-userpage","image-detail":"image-detail","large-image-detail":"large-image-detail","no-user-annotation":"no-user-annotation","dt-annotation":"dt-annotation","userpage-annotation-btn":"userpage-annotation-btn","collection-title":"collection-title","collection-summary":"collection-summary","collection-container":"collection-container","tab-selector":"tab-selector","image-list-wrapper":"image-list-wrapper","image-list-li":"image-list-li","image-list-image-container":"image-list-image-container","object-info":"object-info","collection-home-item-btn":"collection-home-item-btn","collection-home-tab":"collection-home-tab","diff-viewer-wrapper":"diff-viewer-wrapper","diff-panel":"diff-panel","close-btn":"close-btn","partners-icons":"partners-icons","footer-link":"footer-link","footer-info":"footer-info","legals-dl":"legals-dl","show-complete-link":"show-complete-link","hide-complete-link":"hide-complete-link","description-col":"description-col","annotation-navigator":"annotation-navigator","annotation-navigator-list":"annotation-navigator-list","list-group-item-footer":"list-group-item-footer","annotation-navigator-canvas":"annotation-navigator-canvas","annotation-navigator-panel":"annotation-navigator-panel"}},function(t,e,n){"use strict";var r=n(38),i=new RegExp(r().source);t.exports=i.test.bind(i)},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./diff_match_patch_uncompressed":27,"./diff_match_patch_uncompressed.js":27};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=176},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./annotated":13,"./annotated.js":13,"./base":4,"./base.js":4,"./console":19,"./console.js":19,"./html":14,"./html.js":14,"./index":15,"./index.js":15,"./jsonpatch":16,"./jsonpatch.js":16};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=177},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(u===clearTimeout)return clearTimeout(t);if((u===r||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(t);try{return u(t)}catch(e){try{return u.call(null,t)}catch(e){return u.call(this,t)}}}function a(){g&&p&&(g=!1,p.length?d=p.concat(d):v=-1,d.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=d.length;e;){for(p=d,d=[];++v<e;)p&&p[v].run();v=-1,e=d.length}p=null,g=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function c(){}var f,u,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{u="function"==typeof clearTimeout?clearTimeout:r}catch(t){u=r}}();var p,d=[],g=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new l(t,e)),1!==d.length||g||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(38)();t.exports=function(t){return"string"==typeof t?t.replace(r,""):t}},function(t,e,n){(function(e){"use strict";t.exports=function(){return e.argv.indexOf("--no-color")===-1&&(e.argv.indexOf("--color")!==-1||!(e.stdout&&!e.stdout.isTTY)&&("win32"===e.platform||("COLORTERM"in{NODE_ENV:"production"}||"dumb"!=={NODE_ENV:"production"}.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test({NODE_ENV:"production"}.TERM))))}()}).call(e,n(178))},function(t,e,n){var r,i;r=n(60),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(61),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;n(215),r=n(63);var o=n(198);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-2ed92980",t.exports=r},function(t,e,n){var r,i;n(226),r=n(64);var o=n(211);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-eec5c2f6",t.exports=r},function(t,e,n){var r,i;n(223),r=n(65);var o=n(207);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-7aa64982",t.exports=r},function(t,e,n){var r,i;n(218),r=n(66);var o=n(202);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-3db45a40",t.exports=r},function(t,e,n){var r,i;n(225),r=n(67);var o=n(209);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-92fb61e0",t.exports=r},function(t,e,n){var r,i;n(217),r=n(68);var o=n(201);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-3a6dd2f0",t.exports=r},function(t,e,n){var r,i;n(216),r=n(69);var o=n(199);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;n(214),r=n(70);var o=n(196);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-0425443c",t.exports=r},function(t,e,n){var r,i;r=n(71),i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),t.exports=r},function(t,e,n){var r,i;r=n(72);var o=n(197);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;n(221),r=n(75);var o=n(205);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-6c5af925",t.exports=r},function(t,e,n){var r,i;r=n(77);var o=n(210);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.tags.length,expression:"tags.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de mots-clé pour le moment")]),t._v(" "),n("div",{staticClass:"tag-list"},t._l(t.tags,function(e,r){return n("tag-list-item",{directives:[{name:"show",rawName:"v-show",value:t.tags.length>0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:e.tag_label,index:r,accuracy:e.accuracy,relevancy:e.relevancy,readonly:t.readonly}})})),t._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("svg",{ref:"svg",attrs:{width:t.thumbnailWidth,height:t.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:t.thumbnailWidth,height:t.thumbnailHeight,"xlink:href":t.image}}),t._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:t.x,y:t.y,width:t.width,height:t.height}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"modal-mask diff-panel"},[n("p",{staticClass:"pull-right close-btn",on:{click:t.close}},[n("i",{staticClass:"fa fa-close"})]),t._v(" "),t._t("header"),t._v(" "),t._t("content"),t._v(" "),t._t("footer")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.annotation?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":t.readonly,"btn-warning":!t.readonly},on:{click:function(e){t.readonly=!t.readonly}}},[t.readonly?n("i",{staticClass:"fa fa-edit"}):t._e(),t._v(" "),t.readonly?n("span",[t._v("Modifier")]):t._e(),t._v(" "),t.readonly?t._e():n("i",{staticClass:"fa fa-ban"}),t._v(" "),t.readonly?t._e():n("span",[t._v("Annuler")])]):t._e(),t._v(" "),t.annotation?t._e():n("div",{
+staticClass:"alert alert-warning text-center"},[t._v("\n        Aucune annotation sélectionnée.\n    ")]),t._v(" "),n("form",{attrs:{action:t.formAction,method:"post"}},[t._t("default"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:t._s(t.fragment)},on:{input:function(e){e.target.composing||(t.fragment=e.target.value)}}}),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Titre")]),t._v(" "),t.readonly?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.title}},[t._v(t._s(t.title||"Pas de titre"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Description")]),t._v(" "),t.readonly?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.description}},[t._v(t._s(t.description||"Pas de description"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.annotation.tags,readonly:t.readonly},on:{change:function(e){t.onTagsChange(e.tags)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:t._s(t.serializedTags)},on:{input:function(e){e.target.composing||(t.serializedTags=e.target.value)}}})],1):t._e(),t._v(" "),t.annotation&&!t.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!t.hasChanged},attrs:{type:"submit"}},[t._v("Enregistrer une nouvelle version")]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.close}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("div",{staticClass:"form-group",class:t.titleFormGroup,staticStyle:{clear:"both"}},[n("label",{staticClass:"control-label"},[t._v("Titre")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control input-sm",attrs:{name:"title",type:"text",placeholder:"Donnez un titre court"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control input-sm",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.originalTags}})],1),t._v(" "),n("button",{staticClass:"btn btn-block btn-sm btn-primary",on:{click:t.save}},[t._v("Valider")])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoomview-wrapper"},[t._m(0),t._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.imageUrl,width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),t._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:t.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[t._v("Zoom")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{ref:"g",attrs:{transform:t.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!t.readonly},attrs:{x:"0",y:"0",width:t.width,height:t.height,"stroke-width":t.handlerSize/5,"stroke-dasharray":t.handlerSize/5+","+t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler-rect handler-top-left",attrs:{x:t.handlerSize/2*-1,y:t.handlerSize/2*-1,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler-rect handler-bottom-right",attrs:{x:t.width-t.handlerSize/2,y:t.height-t.handlerSize/2,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.annotation,expression:"annotation"}]},[n("label",{staticClass:"small text-muted"},[t._v("Commentaires")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.comments.length,expression:"comments.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de commentaire pour le moment.")]),t._v(" "),t._l(t.comments,function(t){return n("comment",{attrs:{comment:t.comment,username:t.user_name,date:t.submit_date}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"btn-group",attrs:{"data-toggle":"buttons"}},t._l(5,function(e){return n("label",{ref:"buttons",refInFor:!0,staticClass:"btn btn-default",class:{"btn--highlight":t.value&&e<=t.value},attrs:{"data-value":e},on:{mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave,click:t.onClick}},[n("input",{attrs:{type:"radio",name:"options",autocomplete:"off"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v(t._s(e))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control input-sm",attrs:{type:"text",disabled:t.readonly,placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],blur:t.reset,input:[function(e){e.target.composing||(t.query=e.target.value)},t.update]}}),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems,expression:"hasItems"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",on:{click:t.toggle}},[n("span",{staticClass:"tag-title"},[t._v(t._s(t.label))]),t._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":t.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.accuracyTitle}},[t._v(t._s(t.accuracy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):t._e()]),t._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":t.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.relevancyTitle}},[t._v(t._s(t.relevancy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):t._e()]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",on:{click:t.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),t._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[t._v("Fiabilité")]),t._v(" "),n("small",[t._v("Êtes-vous sûr de votre mot-clé ?")]),t._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":t.accuracy},on:{change:function(e){t.onChange("accuracy",e.value)}}})],1),t._v(" "),n("div",[n("label",{staticClass:"small"},[t._v("Pertinence")]),t._v(" "),n("small",[t._v("Votre mot-clé est-il indispensable à la compréhension ?")]),t._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":t.relevancy},on:{change:function(e){t.onChange("relevancy",e.value)}}})],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[t._v("Comparer les deux versions:")]),t._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:t.imagePath,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("g",{attrs:{transform:t.matrixTransform}},[n("path",{attrs:{d:t.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),t._v(" "),n("path",{attrs:{d:t.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:t._s(t.diffText)}})]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.tagMode,expression:"tagMode"}]},[n("ul",t._l(t.tags,function(e,r){return n("li",[e.action?t._e():[n("li",[n("span",[t._v(t._s(e.tag_label))]),t._v(" | précision : "+t._s(e.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+t._s(e.relevancy)+"\n\t\t\t\t\t\t\t\t")])],t._v(" "),"replace"==e.action?[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[t._v("++")]),t._v(" "),n("strong",[n("ins",[t._v(t._s(e.new_label))])]),t._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),"add"==e.action?[n("li",[n("ins",[t._v("++")]),t._v(" "),n("ins",[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[t._v(t._s(e.relevancy))])])]:t._e(),t._v(" "),"del"==e.action?[n("li",[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été effacé")])]:t._e(),t._v(" "),"update"==e.action?[n("li",[n("strong",[t._v(t._s(e.tag_label))]),t._v(" "),e.accuracy!=e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[t._v(t._s(e.accuracy))]),t._v(" "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.accuracy==e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+t._s(e.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.relevancy!=e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[t._v(t._s(e.relevancy))]),t._v(" "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),e.relevancy==e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+t._s(e.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:t._e()],2)]:t._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment"},[t._v("\n    "+t._s(t.comment)+"\n    "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-author"},[t._v(t._s(t.username))]),t._v(" "),n("span",{staticClass:"comment-date"},[t._v(t._s(t.dateFormatted))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("taglist",{ref:"taglist"}),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"},{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keyup:[function(e){8===e.keyCode&&t.checkQuery(e)},t.update],keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.showAddButton,expression:"showAddButton"}],on:{click:t.addTag}},[n("i",{staticClass:"fa fa-plus"}),t._v(" Créer ce tag")]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems||!t.readOnly,expression:"hasItems || !readOnly"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:t._s(t.selectedTags)},on:{input:function(e){e.target.composing||(t.selectedTags=e.target.value)}}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",[n("path",{ref:"path",staticStyle:{opacity:"0.6"},attrs:{d:t.path,stroke:"#000000",fill:"#bdc3c7","stroke-width":t.handlerRadius/2,"stroke-dasharray":t.handlerRadius/3+","+t.handlerRadius/3}}),t._v(" "),t._l(t.points,function(e,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!t.closed},attrs:{"data-key":r,cx:e.x,cy:e.y,r:t.handlerRadius,"stroke-width":t.handlerRadius/2}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},t._l(t.tags,function(e,r){return n("li",{ref:e.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("strong",[n("span",{domProps:{textContent:t._s(e.tag_label)}})]),t._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){t.updateAccuracy(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.accuracy==r,value:r}},[t._v(t._s(r))])})),t._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){t.updatePertinence(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.relevancy==r,value:r}},[t._v(t._s(r))])})),t._v(" "),n("a",{on:{click:function(n){t.removeTag(e)}}},[n("i",{staticClass:"fa fa-trash"})])])})),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.readOnly,expression:"readOnly"}],staticClass:"list-inline"},t._l(t.tags,function(e,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("span",{staticClass:"label label-info"},[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[t._v(t._s(e.accuracy))]),t._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[t._v(t._s(e.relevancy))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoom"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:t.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.image,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}):t._e(),t._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"rect"==t.mode,expression:"loaded && mode == 'rect'"}],ref:"rect",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}}),t._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"free"==t.mode,expression:"loaded && mode == 'free'"}],ref:"free",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}})],1)]),t._v(" "),n("div",{staticClass:"zoomer"}),t._v(" "),n("div",{staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{staticClass:"btn",class:{active:"rect"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])]),t._v(" "),n("button",{staticClass:"btn",class:{active:"free"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403    c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069    c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604    c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069    c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3    S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395    c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])])]),t._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:t.thumbnail,viewport:t.viewport,viewBox:t.viewBox,imageWidth:t.imageWidth,imageHeight:t.imageHeight},on:{change:function(e){t.changeViewBox(e)},dragstart:t.hideTooltip,dragend:t.showTooltip}}),t._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===t.scale},attrs:{type:"button"},on:{click:t.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("button",{staticClass:"btn",class:{disabled:t.scale>=1.9},attrs:{type:"button"},on:{click:t.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(t,e){/*!
 	 * vue-resource v0.9.3
 	 * https://github.com/vuejs/vue-resource
 	 * Released under the MIT License.
--- a/src_js/iconolab-bundle/src/iconolab.scss	Fri Feb 24 15:06:08 2017 +0100
+++ b/src_js/iconolab-bundle/src/iconolab.scss	Fri Feb 24 15:28:43 2017 +0100
@@ -346,6 +346,8 @@
         }
         .panel {
             margin-bottom: 0;
+            max-height: 600px;
+            height: 600px;
         }
         .panel-body {
             flex-direction: column;