dante2-editor 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +33 -0
  3. data/Gemfile +25 -0
  4. data/Gemfile.lock +42 -0
  5. data/README.md +107 -0
  6. data/app/assets/index.html +55 -0
  7. data/app/assets/license.html +52 -0
  8. data/app/assets/options.html +57 -0
  9. data/app/assets/store.json +1 -0
  10. data/app/components/App.cjsx +1083 -0
  11. data/app/components/blocks/embed.cjsx +109 -0
  12. data/app/components/blocks/image.cjsx +316 -0
  13. data/app/components/blocks/placeholder.cjsx +60 -0
  14. data/app/components/blocks/video.cjsx +75 -0
  15. data/app/components/debug.cjsx +96 -0
  16. data/app/components/decorators/link.cjsx +61 -0
  17. data/app/components/popovers/addButton.cjsx +247 -0
  18. data/app/components/popovers/image.cjsx +160 -0
  19. data/app/components/popovers/link.cjsx +87 -0
  20. data/app/components/popovers/toolTip.cjsx +326 -0
  21. data/app/data/poc.js +15 -0
  22. data/app/demo.js +7 -0
  23. data/app/images/dante/media-loading-placeholder.png +0 -0
  24. data/app/images/site/dante-demo.png +0 -0
  25. data/app/images/site/dante-editor-logo.png +0 -0
  26. data/app/images/site/github-logo.png +0 -0
  27. data/app/initialize.js +4 -0
  28. data/app/model/index.js +194 -0
  29. data/app/styles/dante.scss +22 -0
  30. data/app/styles/dante/_animations.scss +54 -0
  31. data/app/styles/dante/_caption.scss +61 -0
  32. data/app/styles/dante/_debug.scss +124 -0
  33. data/app/styles/dante/_fonts.scss +17 -0
  34. data/app/styles/dante/_graf.scss +242 -0
  35. data/app/styles/dante/_icons.scss +62 -0
  36. data/app/styles/dante/_media.scss +39 -0
  37. data/app/styles/dante/_menu.scss +201 -0
  38. data/app/styles/dante/_needsorder.scss +209 -0
  39. data/app/styles/dante/_popover.scss +212 -0
  40. data/app/styles/dante/_post.scss +67 -0
  41. data/app/styles/dante/_scaffold.scss +24 -0
  42. data/app/styles/dante/_tooltip.scss +130 -0
  43. data/app/styles/dante/_utilities.scss +59 -0
  44. data/app/styles/dante/_variables.scss +96 -0
  45. data/app/styles/dante/blame.scss +246 -0
  46. data/app/styles/draft.css +297 -0
  47. data/app/styles/fonts/dante/dante.eot +0 -0
  48. data/app/styles/fonts/dante/dante.svg +18 -0
  49. data/app/styles/fonts/dante/dante.ttf +0 -0
  50. data/app/styles/fonts/dante/dante.woff +0 -0
  51. data/app/styles/fonts/dante/fontello.eot +0 -0
  52. data/app/styles/fonts/dante/fontello.svg +36 -0
  53. data/app/styles/fonts/dante/fontello.ttf +0 -0
  54. data/app/styles/fonts/dante/fontello.woff +0 -0
  55. data/app/styles/layout/layout.scss +64 -0
  56. data/app/styles/layout/normalize.css +375 -0
  57. data/app/styles/layout/scaffold.scss +8 -0
  58. data/app/styles/layout/tooltips.scss +216 -0
  59. data/app/utils/find_entities.coffee +20 -0
  60. data/app/utils/html2content.coffee +120 -0
  61. data/app/utils/logger.coffee +0 -0
  62. data/app/utils/save_content.coffee +63 -0
  63. data/app/utils/selection.js +53 -0
  64. data/config.ru +64 -0
  65. data/dante2.gemspec +19 -0
  66. data/docs/app.css +2 -0
  67. data/docs/app.css.map +1 -0
  68. data/docs/app.js +3 -0
  69. data/docs/app.js.map +1 -0
  70. data/docs/dante-vendors.js +28 -0
  71. data/docs/dante-vendors.js.map +1 -0
  72. data/docs/dante.css +2 -0
  73. data/docs/dante.css.map +1 -0
  74. data/docs/dante.js +4 -0
  75. data/docs/dante.js.map +1 -0
  76. data/docs/doc.html +57 -0
  77. data/docs/fonts/dante.eot +0 -0
  78. data/docs/fonts/dante.svg +18 -0
  79. data/docs/fonts/dante.ttf +0 -0
  80. data/docs/fonts/dante.woff +0 -0
  81. data/docs/fonts/fontello.eot +0 -0
  82. data/docs/fonts/fontello.svg +36 -0
  83. data/docs/fonts/fontello.ttf +0 -0
  84. data/docs/fonts/fontello.woff +0 -0
  85. data/docs/images/dante-editor-logo.png +0 -0
  86. data/docs/images/github-logo.png +0 -0
  87. data/docs/index.html +55 -0
  88. data/docs/license.html +52 -0
  89. data/lib/dante2-editor.rb +5 -0
  90. data/lib/dante2-editor/rails.rb +16 -0
  91. data/lib/dante2-editor/version.rb +5 -0
  92. data/package.json +61 -0
  93. data/rakefile +1 -0
  94. data/webpack.config.js +148 -0
  95. data/yarn.lock +4704 -0
  96. metadata +139 -0
data/config.ru ADDED
@@ -0,0 +1,64 @@
1
+ require 'rubygems'
2
+ # require 'middleman/rack'
3
+ require "sinatra/base"
4
+ require "sinatra/json"
5
+ require "rack/cors"
6
+ require "pry"
7
+ require "open-uri"
8
+
9
+ class UploadServer < Sinatra::Base
10
+
11
+ use Rack::Static, :urls => ["/images"], :root => "tmp"
12
+
13
+ use Rack::Cors do
14
+ allow do
15
+ origins '*'
16
+ resource '*', :headers => :any, :methods => [:get, :post, :options]
17
+ end
18
+ end
19
+
20
+ # Info
21
+ get "/info" do
22
+ "Dante Upload server, hello!"
23
+ end
24
+
25
+ # Handle POST-request (Receive and save the uploaded file)
26
+ post "/new.?:format?" do
27
+ content_type :json
28
+ # to test locking system let the upload sleep por a while before response
29
+ # sleep 10
30
+ if params[:file]
31
+ handleFile
32
+ else
33
+ handleUrl
34
+ end
35
+
36
+ json :url=> "http://localhost:9292/uploads/images/#{@name}"
37
+ end
38
+
39
+ def handleUrl
40
+ ext = File.extname(URI.parse(params["url"]).path)
41
+ @name = [Random.new_seed , ext].join("-")
42
+ path = File.join(File.dirname(__FILE__), 'tmp/images', @name)
43
+ File.open(path, "wb") do |f|
44
+ f.write(open(params["url"]).read)
45
+ end
46
+ end
47
+
48
+ def handleFile
49
+ @name = [Random.new_seed , params['file'][:filename]].join("-")
50
+ path = File.join(File.dirname(__FILE__), 'tmp/images', @name)
51
+
52
+ File.open(path, "wb") do |f|
53
+ f.write(params['file'][:tempfile].read)
54
+ end
55
+ end
56
+
57
+ end
58
+
59
+
60
+ #Mounts upload server & middleman app
61
+ run Rack::URLMap.new(
62
+ # "/" => Middleman.server,
63
+ "/uploads" => UploadServer.new
64
+ )
data/dante2.gemspec ADDED
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'dante2-editor/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "dante2-editor"
8
+ gem.version = Dante2Editor::VERSION
9
+ gem.authors = ["Miguel Michelson", "Cristian Ferrari"]
10
+ gem.email = ["miguelmichelson@gmail.com", "cristianferrarig@gmail.com"]
11
+ gem.description = %q{dante-editor yet another Medium editor clone.}
12
+ gem.summary = %q{dante-editor yet another Medium editor clone.}
13
+ gem.homepage = "http://michelson.github.io/Dante/"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+ end
data/docs/app.css ADDED
@@ -0,0 +1,2 @@
1
+ #header{display:block;z-index:500;width:100%;font-size:14px;color:rgba(0,0,0,.3);font-family:jaf-bernino-sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;box-sizing:border-box;-webkit-transition:background-color .2s,color .2s;transition:background-color .2s,color .2s;position:fixed;top:0;height:65px;background:hsla(0,0%,100%,.97);box-shadow:0 0 1px rgba(0,0,0,.15)}.menu-buttons{float:right}.menu-button{display:block;float:left;padding:25px;text-transform:uppercase;color:#0bc392;font-weight:500}article{margin-top:140px}.logo{display:inline-block}.logo img{margin:22px 14px 22px 20px}.logo span{vertical-align:top;border-left:1px solid rgba(0,0,0,.15);padding:5px 14px;margin:20px 0;display:inline-block}.github{float:right;line-height:0;margin-top:19px;margin-right:20px}/*! normalize.css v2.0.1 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,:after,:before{box-sizing:border-box}
2
+ /*# sourceMappingURL=app.css.map*/
data/docs/app.css.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.css","sources":[],"mappings":"","sourceRoot":""}
data/docs/app.js ADDED
@@ -0,0 +1,3 @@
1
+ webpackJsonp([2],{0:function(e,t,n){"use strict";n(281),n(279),n(282),window.PocData=n(64).Readme,window.PocDataLicense=n(64).License,window.Doc=n(64).Doc},64:function(e,t){"use strict";var n={entityMap:{0:{type:"LINK",mutability:"MUTABLE",data:{url:"https://michelson.github.io/Dante/"}},1:{type:"LINK",mutability:"MUTABLE",data:{url:"https://michelson.github.io/dante2/doc.html"}},2:{type:"LINK",mutability:"MUTABLE",data:{href:"https://www.gnu.org/licenses/gpl-3.0.html",url:"https://www.gnu.org/licenses/gpl-3.0.html"}},3:{type:"LINK",mutability:"MUTABLE",data:{href:"https://michelson.github.io/dante2/license.html",url:"https://michelson.github.io/dante2/license.html"}},4:{type:"LINK",mutability:"MUTABLE",data:{url:"https://michelson.github.io/Dante/"}},5:{type:"LINK",mutability:"MUTABLE",data:{url:"http://howtox.com/medium-editor-clones-in-js/"}},6:{type:"LINK",mutability:"MUTABLE",data:{url:"https://github.com/nikgraf/awesome-draft-js"}}},blocks:[{key:"761n6",text:"Dante II - The rematch",type:"header-one",depth:0,inlineStyleRanges:[{offset:0,length:22,style:"BOLD"}],entityRanges:[],data:{}},{key:"4d32s",text:"just another medium clone built on top of DraftJs",type:"header-two",depth:0,inlineStyleRanges:[{offset:0,length:49,style:"BOLD"}],entityRanges:[],data:{}},{key:"es43u",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"efvk7",text:"Dante II is a complete rewrite of DanteEditor. This version is built on top of Facebook's Draft-Js and reaches all Dante's features with a shiny ultra mega super uber maintainable architecture.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[{offset:34,length:11,key:0}],data:{}},{key:"1vpkk",text:"This is a live demo:",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"56pap",text:"Please click the image or type everywere. Use it as you were using Medium. Have fun!",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cuiuq",text:"",type:"image",depth:0,inlineStyleRanges:[],entityRanges:[],data:{enabled:!1,aspect_ratio:{width:245,height:223,ratio:91.02040816326532},width:245,height:223,forceUpload:!1,url:"https://media.giphy.com/media/LFSKh2FcRiFIQ/giphy.gif",loading_progress:0,selected:!1,loading:!0,file:null,direction:"center"}},{key:"a4fmi",text:"Why rewrite a new version of Dante?",type:"header-two",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9doa2",text:"The previous version of Dante relies a lot on DOM manipulation which causes a mix of presentation and logic. Even with their modular plugin system this condition suppose an sphagetti model to work with on every feature. The biggest problem with this approach is: if you want to make a change that affects the presentation of your users content, let's say you might want to change the default markup for paragraphs, you'll probably end updating all your content in your database, because dealing with \"DOM only\" suppose that you are going to save html into database, right ?",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"d64sc",text:"A redesign was needed!",type:"header-two",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"3jr17",text:"Draft-Js handles selection, ranges and markup blocks as a data layer contained in a structure known as editorState, with a clear separation on how rendering, styling and interaction works. So you save content data, not html. That's awesome because you can change the appearance of articles (styles & markup) without database changes. ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:103,length:13,style:"ITALIC"}],entityRanges:[],data:{}},{key:"9o709",text:"In Draft every change provided from user input is stacked in this editorState building an history of changes, out of the box. This means that pasting, undo/redo and replace/insert blocks at certain selection points are basically calls to the DraftJs API that updates the editorState without DOM manipulation. Also, all the custom blocks are composed as React components!. So, this version have some dependencies which are included in source. DraftJs, React, Immutable. no Jquery.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:66,length:11,style:"ITALIC"},{offset:269,length:11,style:"ITALIC"},{offset:351,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"3die6",text:"New Features:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"c5o1",text:"Improved undo/redo.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"s1rv",text:"Save Content as a data JSON structure.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6j5e9",text:"Load Content as a data JSON structure.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5iec6",text:"Handle image blocks on Copy/Paste and Drop.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ese26",text:"Global storage lock to handle file uploads.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bmj79",text:"Features:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:9,style:"BOLD"}],entityRanges:[],data:{}},{key:"79ode",text:"Image upload for paste html.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"s4sq",text:"Image upload for legacy images on existent texts.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4eq3s",text:"The medium (+) Tooltip to embed or upload media.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"du9t3",text:"Tab navigation.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"fap2m",text:"Pluggins are React components",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5q9ck",text:"Embeds:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:7,style:"BOLD"}],entityRanges:[],data:{}},{key:"e2lgl",text:"Image Uploader with preview and caption option with a lock system.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"fnh91",text:"Embed data for pasted link through OEmbed services.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"972kk",text:"Embed media information for pasted links through OEmbed services.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"fh9nc",text:"Add or remove tooltip buttons with ease with plugin system.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4lrj5",text:"Add custom blocks many with custom options",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"3ibt6",text:"Usage",type:"header-two",depth:0,inlineStyleRanges:[{offset:0,length:5,style:"BOLD"}],entityRanges:[],data:{}},{key:"4agc1",text:"The interface to initialize is almost as the previous Dante version.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"8og8n",text:'new Dante(\n {\n upload_url: "http://localhost:9292/uploads/new",\n store_url: "http://localhost:3333/store.json",\n el: "app"\n }\n)',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"2h4m8",text:"Configurable options",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"c6hpj",text:"see many options in the documentation page",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:42,style:"ITALIC"}],entityRanges:[{offset:24,length:18,key:1}],data:{}},{key:"8eikj",text:"Installation for development",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"7dd8",text:"node + webpack",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:14,style:"BOLD"}],entityRanges:[],data:{}},{key:"1ts2g",text:"$ npm install or yarn install",type:"code-block",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"ITALIC"},{offset:17,length:12,style:"ITALIC"}],entityRanges:[],data:{}},{key:"449oi",text:"web dev server",type:"header-four",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"1hrfs",text:"$ npm start or yarn start",type:"code-block",depth:0,inlineStyleRanges:[{offset:0,length:11,style:"ITALIC"},{offset:15,length:10,style:"ITALIC"}],entityRanges:[],data:{}},{key:"eq5ht",text:"Then open http://localhost:8080 ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:32,style:"ITALIC"}],entityRanges:[],data:{}},{key:"6qd6m",text:"Build",type:"header-four",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"al89k",text:"$ npm build or yarn build",type:"code-block",depth:0,inlineStyleRanges:[{offset:0,length:11,style:"ITALIC"},{offset:15,length:10,style:"ITALIC"}],entityRanges:[],data:{}},{key:"6l12i",text:"Upload test server (ruby, optional)",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:35,style:"BOLD"}],entityRanges:[],data:{}},{key:"5ur4a",text:"For development purposes we have a server, written in ruby, to handle file uploading",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"8pjcf",text:"$ bundle install",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"19kdt",text:"$ rackup",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4kdt5",text:"and open http://localhost:9292",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"1f6cl",text:"As rubists we are you can install this library as a gem file.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"fiutc",text:"Just add the gem as dante2-editor",type:"unstyled",depth:0,inlineStyleRanges:[{offset:20,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"air4n",text:"Open source & Commercial license",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bhmof",text:"If you are creating an open source application under a license compatible with the \nGNU GPL license v3, you may use Dante2 under the terms of the GPLv3.\nRead more about Dante2's license.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:84,length:18,style:"UNDERLINE"},{offset:153,length:32,style:"UNDERLINE"}],entityRanges:[{offset:84,length:18,key:2},{offset:153,length:32,key:3}],data:{}},{key:"9d6pe",text:"Alternatives",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9q9mo",text:"If you are looking for alternatives you can always use the MIT licensed Dante (1) or choose along others medium clones or check out many many awesome draft-js based editors",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[{offset:59,length:22,key:4},{offset:105,length:13,key:5},{offset:132,length:40,key:6}],data:{}}]},a={entityMap:{0:{type:"LINK",mutability:"MUTABLE",data:{href:"https://www.gnu.org/licenses/gpl-3.0.html",url:"https://www.gnu.org/licenses/gpl-3.0.html"}},1:{type:"LINK",mutability:"MUTABLE",data:{href:"https://www.gnu.org/licenses/gpl-3.0.html#section5",url:"https://www.gnu.org/licenses/gpl-3.0.html#section5"}},2:{type:"LINK",mutability:"MUTABLE",data:{href:"https://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePostedPublic",url:"https://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePostedPublic"}},3:{type:"LINK",mutability:"MUTABLE",data:{url:"https://gum.co/dante2-dev"}},4:{type:"LINK",mutability:"MUTABLE",data:{url:"https://gum.co/dante2-team"}},5:{type:"LINK",mutability:"MUTABLE",data:{url:"https://gum.co/dante2-orgs"}},6:{type:"LINK",mutability:"MUTABLE",data:{url:""}},7:{type:"LINK",mutability:"MUTABLE",data:{url:"mailto:miguelmichelson@gmail.com"}},8:{type:"LINK",mutability:"MUTABLE",data:{url:"mailto:miguelmichelson@gmail.com"}},9:{type:"LINK",mutability:"MUTABLE",data:{href:"https://www.gnu.org/licenses/gpl-3.0.html",url:"https://www.gnu.org/licenses/gpl-3.0.html"}}},blocks:[{key:"e2vjv",text:"License",type:"header-one",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4afkt",text:"Dante2 licenses",type:"header-two",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"asno5",text:"Dante2 has three kinds of licenses: open-source, commercial, and OEM.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"agtfa",text:"Open source license",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4on6a",text:"The open source license is designed for you to use Dante2 to build open source and personal projects. The Dante2 open source license is GPLv3. The GPLv3 has many terms, but the most important is how it is sticky when you distribute your work publicly. From the GPL FAQ:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:205,length:6,style:"ITALIC"}],entityRanges:[{offset:136,length:5,key:0},{offset:199,length:51,key:1},{offset:261,length:7,key:2}],data:{}},{key:"f4ilr",text:"If you release the modified version to the public in some way, the GPL requires you to make the modified source code available to the program's users, under the GPL.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"c7vh6",text:"Releasing your project that uses Dante2 under the GPLv3, in turn, requires your project to be licensed under the GPLv3. If you are okay with this, feel free to use Dante2 under the GPLv3, without purchasing a commercial license.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6cbmu",text:"Commercial license",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ar9p0",text:"The commercial license is designed to for you to use Dante2 in commercial products and applications, without the provisions of the GPLv3. With the commercial license, your code is kept propietary, to yourself. If you want to use Dante2 to develop commercial sites, themes, projects, and applications, the commercial license is the appropriate license.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"2t0sl",text:"Purchasing a commercial license",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5pf5",text:"Purchasing takes a minute. Our purchasing form accepts credit cards or PayPal. Once purchased, you’ll receive a commercial license PDF and you will be all set to use Dante2 in your commercial applications. With the purchase of a commercial license:",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"fem8b",text:"You may use Dante2 in as many commercial applications you like.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"dudrf",text:"You may use Dante2 in your own commercial applications and products. For example: premium WordPress, Tumblr, or other CMS themes, plugins and templates.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5n9ki",text:"Customers and users of your products do not need to purchase their own license — so long as they are not developing their own commercial products with Dante2.",type:"unordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5d82a",text:"Commercial Licenses are priced per team member. A team member is someone on your team working on a project that uses Dante2. The Dante2 Commercial Developer License is for individual developers. Each individual developer or team member needs to purchase a separate license.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:129,length:35,style:"BOLD"}],entityRanges:[],data:{}},{key:"6hdu9",text:"Dante2 Commercial Developer License for 1 developer $25 ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:18,length:9,style:"BOLD"},{offset:36,length:16,style:"ITALIC"}],entityRanges:[{offset:0,length:55,key:3}],data:{}},{key:"5l15v",text:"ttps://gum.co/dante2-dev",type:"embed",depth:0,inlineStyleRanges:[],entityRanges:[],data:{provisory_text:"https://gum.co/dante2-dev",endpoint:"//api.embed.ly/1/extract?key=86c28a410a104c8bb58848733c82f840&url=",type:"embed",embed_data:{original_url:"https://gum.co/dante2-dev",provider_url:"http://gumroad.com",entities:[],cache_age:86400,favicon_url:"https://gumroad.com/favicon.ico",media:{width:670,html:'<iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgumroad.com%2Fl%2FFtWIm%3Fas_embed%3Dtrue&url=https%3A%2F%2Fgumroad.com%2Fl%2Fdante2-dev&image=https%3A%2F%2Fstatic-2.gumroad.com%2Fres%2Fgumroad%2F210946281731%2Fasset_previews%2Ffa112fec60cb83d7232c888b4a3fbc7f%2Fretina%2Fcover.png&key=d42b91026ea041c0875fd61ff736cb79&type=text%2Fhtml&schema=gumroad" width="670" height="670" scrolling="no" frameborder="0" allowfullscreen></iframe>',type:"rich",height:670},authors:[],keywords:[{score:59,name:"app"},{score:24,name:"download"},{score:20,name:"text"},{score:17,name:"password"},{score:17,name:"store"},{score:14,name:"link"},{score:10,name:"dante2"},{score:8,name:"please"},{score:8,name:"access"},{score:6,name:"account"}],related:[],safe:!0,published:null,url:"https://gumroad.com/l/dante2-dev",offset:null,provider_display:"gumroad.com",title:"Dante2 - Commercial Developer License",images:[{url:"https://static-2.gumroad.com/res/gumroad/210946281731/asset_previews/fa112fec60cb83d7232c888b4a3fbc7f/retina/cover.png",width:873,size:21037,caption:null,height:447}],language:"English",provider_name:"Gumroad",content:null,embeds:[],type:"html",app_links:[],favicon_colors:[{color:[0,0,0],weight:.0197753906},{color:[22,166,166],weight:.016357421900000002},{color:[198,60,47],weight:.0109863281},{color:[223,109,47],weight:.0104980469},{color:[0,132,191],weight:.0048828125}],lead:null,description:"Grants commercial use of Dante2 for a single developer."},error:""}},{key:"d1csd",text:"The Dante2 Commercial Team License is for up to 8 team members. ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:4,length:30,style:"BOLD"}],entityRanges:[],data:{}},{key:"eth0",text:"Dante2 Commercial Team License for up to 8 developers $110",type:"unstyled",depth:0,inlineStyleRanges:[{offset:18,length:4,style:"BOLD"},{offset:31,length:23,style:"ITALIC"}],entityRanges:[{offset:0,length:58,key:4}],data:{}},{key:"ar11p",text:"ttps://gum.co/dante2-team",type:"embed",depth:0,inlineStyleRanges:[],entityRanges:[],data:{provisory_text:"https://gum.co/dante2-team",endpoint:"//api.embed.ly/1/extract?key=86c28a410a104c8bb58848733c82f840&url=",type:"embed",embed_data:{original_url:"https://gum.co/dante2-team",provider_url:"http://gumroad.com",entities:[],cache_age:86400,favicon_url:"https://gumroad.com/favicon.ico",media:{width:670,html:'<iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgumroad.com%2Fl%2FSpORj%3Fas_embed%3Dtrue&url=https%3A%2F%2Fgumroad.com%2Fl%2Fdante2-team&image=https%3A%2F%2Fstatic-2.gumroad.com%2Fres%2Fgumroad%2F210946281731%2Fasset_previews%2Fe77f49732df73fe9f4bd67a31be0d285%2Fretina%2Fcover.png&key=d42b91026ea041c0875fd61ff736cb79&type=text%2Fhtml&schema=gumroad" width="670" height="670" scrolling="no" frameborder="0" allowfullscreen></iframe>',type:"rich",height:670},authors:[],keywords:[{score:59,name:"app"},{score:24,name:"download"},{score:20,name:"text"},{score:17,name:"password"},{score:17,name:"store"},{score:14,name:"link"},{score:10,name:"dante2"},{score:8,name:"please"},{score:8,name:"access"},{score:6,name:"account"}],related:[],safe:!0,published:null,url:"https://gumroad.com/l/dante2-team",offset:null,provider_display:"gumroad.com",title:"Dante2 - Commercial Team License",images:[{url:"https://static-2.gumroad.com/res/gumroad/210946281731/asset_previews/e77f49732df73fe9f4bd67a31be0d285/retina/cover.png",width:873,size:21037,caption:null,height:447}],language:"English",provider_name:"Gumroad",content:null,embeds:[],type:"html",app_links:[],favicon_colors:[{color:[0,0,0],weight:.0197753906},{color:[22,166,166],weight:.016357421900000002},{color:[198,60,47],weight:.0109863281},{color:[223,109,47],weight:.0104980469},{color:[0,132,191],weight:.0048828125}],lead:null,description:"Grants commercial use of Dante2 for up to eight developers"},error:""}},{key:"5i3f5",text:"The Dante2 Commercial Organization License is for an unlimited number of team members. This license covers the entire team no matter how many people are working on it. ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:4,length:38,style:"BOLD"}],entityRanges:[],data:{}},{key:"97g6t",text:"Dante2 Commercial Organization License for Unlimited developers $320 ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:18,length:12,style:"BOLD"},{offset:39,length:25,style:"ITALIC"}],entityRanges:[{offset:0,length:68,key:5}],data:{}},{key:"b4m5f",text:"ttps://gum.co/dante2-orgs",type:"embed",depth:0,inlineStyleRanges:[],entityRanges:[],data:{provisory_text:"https://gum.co/dante2-orgs",endpoint:"//api.embed.ly/1/extract?key=86c28a410a104c8bb58848733c82f840&url=",type:"embed",embed_data:{original_url:"https://gum.co/dante2-orgs",provider_url:"http://gumroad.com",entities:[],cache_age:86258,favicon_url:"https://gumroad.com/favicon.ico",media:{width:670,html:'<iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgumroad.com%2Fl%2FyHXDe%3Fas_embed%3Dtrue&url=https%3A%2F%2Fgumroad.com%2Fl%2Fdante2-orgs&image=https%3A%2F%2Fstatic-2.gumroad.com%2Fres%2Fgumroad%2F210946281731%2Fasset_previews%2F3541963abf392061e1db200a5c96dffc%2Fretina%2Fcover.png&key=d42b91026ea041c0875fd61ff736cb79&type=text%2Fhtml&schema=gumroad" width="670" height="670" scrolling="no" frameborder="0" allowfullscreen></iframe>',type:"rich",height:670},authors:[],keywords:[],related:[],safe:!0,published:null,url:"https://gumroad.com/l/dante2-orgs",offset:null,provider_display:"gumroad.com",title:"Dante2 - Commercial Organization license",images:[{url:"https://static-2.gumroad.com/res/gumroad/210946281731/asset_previews/3541963abf392061e1db200a5c96dffc/retina/cover.png",width:873,size:21037,caption:null,height:447}],language:null,provider_name:"Gumroad",content:null,embeds:[],type:"html",app_links:[],favicon_colors:[{color:[0,0,0],weight:.0197753906},{color:[22,166,166],weight:.016357421900000002},{color:[198,60,47],weight:.0109863281},{color:[223,109,47],weight:.0104980469},{color:[0,132,191],weight:.0048828125}],lead:null,description:"Grants commercial use of Dante2 for an unlimited number of developers for an organization"},error:""}},{key:"dtgn6",text:"Read the Dante2 Commercial License Agreement below for complete terms and details.For any questions about licensing, contact us miguelmichelson@gmail.com. ",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[{offset:9,length:35,key:6},{offset:128,length:25,key:7}],data:{}},{key:"bgv1n",text:"Commercial OEM license",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"vglc",text:"If you want to include Dante2 as part of a commercial interface builder, SDK, or toolkit, choose the Commercial OEM license. Commercial OEM licenses are customized for each customer. Contact miguelmichelson@gmail.com.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[{offset:191,length:25,key:8}],data:{}},{key:"2on1q",text:"Below are the official Dante2 Commercial License terms, as well as a quote with a plain English summary of the terms. These summaries are provided for your convenience, but are not binding; your use of Dante2 is governed by the full license terms.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:82,length:13,style:"ITALIC"}],entityRanges:[],data:{}},{key:"cm5o3",text:"Dante2 Commercial License Agreement",type:"header-two",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"144ml",text:"This Software License Agreement (the “Agreement”) is between Miguel Michelson and You (including your agents and affiliates), a commercial licensee of Miguel Michelson's software. If you have not purchased a Dante2 commercial license from Michelson, these terms do not apply to you, and your use of the Miguel Michelson software is instead governed by the GNU General Public License, version 3. ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:38,length:9,style:"BOLD"},{offset:61,length:16,style:"BOLD"},{offset:83,length:3,style:"BOLD"}],entityRanges:[{offset:357,length:37,key:9}],data:{}},{key:"204io",text:"Purchasing a Dante2 Commercial Developer License applies this Agreement to you. Otherwise, you may use Dante2 under the GPLv3.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:11,length:37,style:"BOLD"}],entityRanges:[],data:{}},{key:"7e0im",text:"Purchasing a Dante2 Commercial Team License applies this Agreement to you. Otherwise, you may use Dante2 under the GPLv3.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:11,length:32,style:"BOLD"}],entityRanges:[],data:{}},{key:"1gh8a",text:"Purchasing a Dante2 Commercial Organization License applies this Agreement to you. Otherwise, you may use Dante2 under the GPLv3.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:11,length:40,style:"BOLD"}],entityRanges:[],data:{}},{key:"6doiv",text:"Definitions",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5sh9f",text:"“Application” means any software, application, or elements that Your Licensed Developers develop using the Software or Modifications in accordance with this Agreement.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:1,length:11,style:"BOLD"}],entityRanges:[],data:{}},{key:"84da2",text:"“End User” means an end user of Your Application who acquires a license to such solely for their own use and not for distribution, resale, user interface design, or software development purposes.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:1,length:8,style:"BOLD"}],entityRanges:[],data:{}},{key:"8jjlf",text:"“Licensed Developer” shall mean an individual person permitted to use the Software and make Modifications for your Applications, whether such person is Your employee or a consultant or contractor providing services to You.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:1,length:18,style:"BOLD"}],entityRanges:[],data:{}},{key:"424s5",text:"“Modification” means any revision, adaptation, or derivative of the Software produced by You.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:1,length:12,style:"BOLD"}],entityRanges:[],data:{}},{key:"7t2kj",text:"The “Software” means Dante2 version .",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:5,length:8,style:"BOLD"}],entityRanges:[],data:{}},{key:"kgm0",text:"Commercial license grant",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ert1",text:"Subject to the terms of this Agreement, Miguel Michelson grants to You a revocable, non-exclusive, non-transferable license: ",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cti7l",text:"On developer license:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:21,style:"BOLD"}],entityRanges:[],data:{}},{key:"a61gk",text:"(i) for one (1) Licensed Developer to use the Software to create Modifications and Applications; ",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"65s3m",text:"On team license:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:16,style:"BOLD"}],entityRanges:[],data:{}},{key:"b6jia",text:"(i) for up to eight (8) Licensed Developer(s)",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"99u9e",text:"On organization license:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:24,style:"BOLD"}],entityRanges:[],data:{}},{key:"1e65k",text:"(i) for an unlimited number of Licensed Developer(s) ",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"7c63k",text:"(ii) for You to distribute the Software and/or Modifications to an unlimited number of End Users solely as integrated into the Applications; and",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"e6bvo",text:" (iii) for End Users to use the Software as incorporated into Your Applications in accordance with the terms of this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"d89fe",text:"developer license:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:18,style:"BOLD"}],entityRanges:[],data:{}},{key:"1ou2h",text:"This license grants you one individual Developer to use Dante2 for an unlimited amount of Applications. It is not exclusive — others companies and developers can use Dante2 — and is non-transferable — you cannot transfer this license to another company.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"dgqif",text:"Team License:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"24iem",text:"This license grants you up to 8 Developers to use Dante2 for an unlimited amount of Applications. It is not exclusive — others companies and developers can use Dante2 — and is non-transferable — you cannot transfer this license to another company.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:24,length:18,style:"BOLD"}],entityRanges:[],data:{}},{key:"ajkcu",text:"Commercial Organization License:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:32,style:"BOLD"}],entityRanges:[],data:{}},{key:"690l4",text:"This license grants you an unlimited number of Developers to use Dante2 for an unlimited amount of Applications. It is not exclusive — others companies and developers can use Dante2 — and is non-transferable — you cannot transfer this license to another company.",type:"blockquote",depth:0,inlineStyleRanges:[{offset:27,length:30,style:"BOLD"}],entityRanges:[],data:{}},{key:"fcrv0",text:"You are entitled to receive all updates to the major version of the Software licensed by you, as well as any later version of the Software that Miguel Michelson, in writing, explicitly authorizes you to use. (For illustration purposes only, if you purchased a license for version .0, this licenses authorizes you to use version .9, but not NaN.0.) Miguel Michelson makes no representation that any update will be compatible with your Application.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6vtdg",text:"You can use this license with Dante2 versions .x.x, as well as later versions if we authorize. Later versions of Dante2 may not be compatible with your Application.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9g2io",text:"Ownership",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cdi7n",text:"This is a license agreement and not an agreement for sale. Miguel Michelson reserves ownership of all intellectual property rights inherent in or relating to the Software and corresponding source code, which include all copyright, patent rights, all rights in relation to registered and unregistered trademarks (including service marks), confidential information (including trade secrets and know-how) and all rights other than those expressly granted by this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"3033i",text:"This license is for use of Dante2, not ownership of its intellectual property. Miguel Michelson continues to own Dante2.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4sdui",text:"You must not remove, obscure or interfere with any copyright, acknowledgment, attribution, trademark, warning or disclaimer statement affixed to, incorporated in or otherwise applied in connection with the Software. Notwithstanding the above, you are permitted to produce, use, and distribute compressed or “minified” copies of the Software that do not bear the notices contained in the Software’s source code, so long as you otherwise comply with the terms of this license.",
2
+ type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bhslp",text:"When you distribute your work with Dante2, do not remove or change any disclaimers from the source files. You can however minify the source files, which may remove or change the disclaimers.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"dmdbn",text:"Prohibited Uses",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"8i9qr",text:"Your Application must have substantially different functionality than, and must not compete directly with, the Software.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"b7ar1",text:"You cannot create something very similar to Dante2, like a super-Dante2. Make something unique.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"pu3",text:"You may not distribute the Software or Modifications except as included within Your Application. If You produce an Application for a customer, You are responsible for ensuring that your customer does not make use of the Software except with Applications licensed herein.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"5t2sn",text:"Do not re-package Dante2 unless it’s part of your Application. Likewise, your customer should be using Dante2 as part of your Application.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"a5tm6",text:"Your Application must not enable End Users to produce separate applications that incorporate the Software or Modifications. For example, if Your Application is a development toolkit or library, an application builder, a website builder that can be used to incorporate the Software into a new Application, You must obtain a separate OEM license from Miguel Michelson. ",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6fj16",text:"You need to purchase a Commercial OEM License if you are creating an interface builder, SDK, or something that produces copies that each use Dante2.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"1q3m8",text:"Termination",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"91gs3",text:"This Agreement and the license granted hereunder shall continue until terminated in accordance with this Section. Unless otherwise specified in this Agreement, the license shall last as long as Your use of the Software is in compliance with the terms herein.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"88dp3",text:"This Agreement applies for as long as you use Dante2. ",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"7np9d",text:"Miguel Michelson shall have the right to terminate this Agreement and the license granted hereunder immediately if You breach any of the material terms of this Agreement, and You fail to cure such material breach within thirty (30) days of receipt of notice from Miguel Michelson. Upon termination of this Agreement, all licenses granted to You in this Agreement shall terminate automatically and You shall immediately cease use and distribution of the Software.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"70iuu",text:"We can end this Agreement if you breach any terms, and do not resolve the breach after 30 days after notice from Miguel Michelson. After termination, you must stop using and distributing Dante2.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"blfls",text:"Upon termination of this Agreement, You must cease all use of the Software. If, prior to your breach of this Agreement, you delivered Applications incorporating the Software to Your End Users, those End Users’ licenses shall survive termination.After termination, your end users may continue to use Dante2 in products that have already been distributed to them.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6hrjb",text:"Disclaimer of Warranties",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"d0iln",text:"TO THE EXTENT PERMITTED BY LAW, MIGUEL MICHELSON DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE. WE DO NOT GUARANTEE THAT THE OPERATION OF THE SOFTWARE OR YOUR APPLICATION WILL BE UNINTERRUPTED OR ERROR-FREE, AND YOU ACKNOWLEDGE THAT IT IS NOT TECHNICALLY PRACTICABLE FOR US TO DO SO.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"atq5q",text:"We do not claim any warranties or gaurantees with using Dante2. There may be bugs.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ansg3",text:"Limitation of Liabilities",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bshj4",text:"TO THE EXTENT PERMITTED BY LAW, IN NO EVENT SHALL MIGUEL MICHELSON BE LIABLE UNDER ANY LEGAL OR EQUITABLE THEORY FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LAW) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE OR THE CODE IT PRODUCES OR ANY OTHER SUBJECT MATTER RELATING TO THIS AGREEMENT, EVEN IF MIGUEL MICHELSON HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, MIGUEL MICHELSON'S ENTIRE LIABILITY WITH RESPECT TO ANY SUBJECT MATTER RELATING TO THIS AGREEMENT SHALL BE LIMITED TO THE GREATER OF: (I) THE AMOUNT ACTUALLY PAID BY YOU FOR THE LICENSE, OR (II) FIVE HUNDRED DOLLARS ($500).",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"eh2un",text:"We aren’t liable if your business is harmed or you lose money as result of using Dante2.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"99bmq",text:"Indemnification",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"evh9v",text:"While redistributing the Software or Modifications thereof as part of Your Application, You may choose to offer acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this Agreement. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, and not on Miguel Michelson’s behalf.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bub6d",text:"While distributing Dante2 to your end users, you can offer them support for Dante2, but only on your own behalf. That is your responsibility and not ours. ",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9tffl",text:"You agree to indemnify, hold harmless, and defend Miguel Michelson and its owners, officers, agents, and affiliates from and against any and all claims, lawsuits and proceedings (collectively “Claims”), and all expenses, costs (including attorney's fees), judgments, damages and other liabilities resulting from such Claims, that arise or result from: (i) Your use of the Software in violation of this Agreement; (ii) the use or distribution of Your Application, except to the extent such claim is based solely on the inclusion of the Software therein; (iii) Your Modification of the Software’s source code; or (iv) Your accepting support, warranty, indemnity, or additional liability as described in Section 8.1.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cbu81",text:"If someone sues Miguel Michelson as a result of your use of Dante2, you are responsible for any resulting cost to Miguel Michelson.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"50l30",text:"Payment and Taxes",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cr10i",text:"All payments under this Agreement are due to Miguel Michelson upon Your purchase of a license to the Software. Each party shall be responsible for all taxes (including, but not limited to, taxes based upon its income) or levies imposed on it under applicable laws, regulations and tax treaties as a result of this Agreement and any payments made hereunder (including those required to be withheld or deducted from payments); provided that You shall be responsible for any value added tax, use tax, sales tax, or similar tax, and shall pay or reimburse Miguel Michelson for the same upon invoice. Each party shall furnish evidence of such paid taxes as is sufficient to enable the other party to obtain any credits available to it, including original tax withholding certificates.",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ddqsf",text:"We are each responsible for any taxes that we owe as a result of this agreement.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bvqj8",text:"Miscellaneous",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"88krc",text:"Software Updates and Upgrades. The license granted herein applies only to the version of the Software available when purchased in connection with the terms of this Agreement, and to any updates and/or upgrades to which You may be entitled. Any previous or subsequent license granted to You for use of the Software shall be governed by the terms and conditions of the agreement entered in connection with purchase or download of that version of the Software.This license applies to Dante2 v. Previous licenses still apply if you have used a previous version with a different license. Survival. The provisions of sections 4 through 10 will survive termination of this Agreement. ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:30,style:"BOLD"},{offset:583,length:9,style:"BOLD"}],entityRanges:[],data:{}},{key:"c5nou",text:"Compliance with Applicable Laws. You agree that You will comply with all applicable laws and regulations with respect to the Software, including without limitation all export control laws and regulations.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:32,style:"BOLD"}],entityRanges:[],data:{}},{key:"2228q",text:"Marketing. You agree to Miguel Michelson’s use of Your name, trade name, and trademark, for use in Miguel Michelson’s marketing materials and its website, solely to identify you as a customer of Miguel Michelson.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:10,style:"BOLD"}],entityRanges:[],data:{}},{key:"955gl",text:"You agree that we can use your name and your logo for marketing.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9q8ff",text:"Assignment. This Agreement may be assigned by Miguel Michelson in whole or in part and will inure to the benefit of Miguel Michelson’s successors and assigns. You may not assign or transfer this Agreement without Miguel Michelson’s prior written consent. Notwithstanding the foregoing, however, if You transfer ownership of an Application to a customer for which it was developed, You may assign this Agreement to that customer (the “Assignee”) provided: (i) You provide written notice to Miguel Michelson prior to the effective date of such assignment; and (ii) there is a written agreement, wherein the Assignee accepts the terms of this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:11,style:"BOLD"}],entityRanges:[],data:{}},{key:"2qil5",text:"You may assign this license to a customer, or another company or organization, so long as you get our written permission.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"bl8se",text:"Entire Agreement. The terms and conditions stated herein set forth the entire agreement of the parties and replace and supersede all other contracts, agreements, and understandings, written or oral, relating to the subject matter hereof.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"222dl",text:"Your use of Dante2 is governed only by this agreement.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"aifb0",text:"Severability. In the event that any portion of this Agreement is held to be unenforceable, such portions shall not limit or otherwise modify or affect any other portion of this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"76vrb",text:"If there is a problem with any part of this agreement, the rest of the agreement will remain in place.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cdm12",text:"Modification; Waiver. This Agreement cannot be amended except by a written instrument executed by each of the parties. The failure of either party to enforce any provision of this Agreement may not be deemed a waiver of that or any other provision of this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:21,style:"BOLD"}],entityRanges:[],data:{}},{key:"1h3u4",text:"No changes to this Agreement, unless we confirm it in writing. All of these terms remain enforceable even if we don't enforce them at every opportunity.",type:"blockquote",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ecatl",text:"Government Use. If the Software or any related documentation is licensed to the U.S. Government or any agency thereof, it will be considered to be “commercial computer software” or “commercial computer software documentation,” as those terms are used in 48 CFR § 12.212 or 48 CFR § 227.7202, and is being licensed with only those rights as are granted to all other licensees as set forth in this Agreement.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:15,style:"BOLD"}],entityRanges:[],data:{}}]},i={entityMap:{},blocks:[{key:"761n6",text:"Dante II - Options",type:"header-one",depth:0,inlineStyleRanges:[{offset:0,length:18,style:"BOLD"}],entityRanges:[],data:{}},{key:"4d32s",text:"guide to configure dante like a pro",type:"header-two",depth:0,inlineStyleRanges:[{offset:0,length:35,style:"BOLD"}],entityRanges:[],data:{}},{key:"fb62e",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"efvk7",text:"Dante2 provides some default options to configure how editor should work. The following is Dante in it's most basic form",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4uub8",text:'new Dante({ el: "app"})',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6326q",text:"when the editor initializes it support an object map with properties",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"2l5l3",text:"basic options:",type:"header-three",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cag72",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"46h3m",text:"Content: ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:7,style:"BOLD"}],entityRanges:[],data:{}},{key:"57oi6",text:"Use this option to preload content on the editor, the content must be in form of editorState data.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:62,length:5,style:"BOLD"},{offset:81,length:12,style:"ITALIC"}],entityRanges:[],data:{}},{key:"291st",text:"Data Storage:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:12,style:"BOLD"}],entityRanges:[],data:{}},{key:"9ihg2",text:"Date storage is an option that handles the way on how dante editor will hit your server to save the content, it will send an editorState serialized as json.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:125,length:11,style:"ITALIC"}],entityRanges:[],data:{}},{key:"160qn",text:"data_storage: {",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"96l41",text:" failure_handler: func,",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"4q5d7",text:" interval: 1500,",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"f9ouc",text:" success_handler: func,",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cd4um",text:" url: string with your endpoint",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"b4s7l",text:' method: "POST"',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"60jft",text:"}",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ao50o",text:"Ajax:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:5,style:"BOLD"}],entityRanges:[],data:{}},{key:"6qe1h",text:"The xhr option are a set of functions that will be called on any ajax operation, let's say you want to display a preloader when the editor is saving content and then display success or error messages when operation is done.",type:"unstyled",depth:0,inlineStyleRanges:[{offset:4,length:3,style:"ITALIC"}],entityRanges:[],data:{}},{key:"2kd21",text:"xhr: {\n before_handler: func,\n success_handler: func,\n error_handler: func\n}",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"e1vqv",text:"Key Commands:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"c1p2f",text:"Use this option to configure command combinations to insert or toggle blocks. This configuration supports commands like alt-cmd, alt-shift & cmd. You must pass toggle_block:BLOCK_TYPE , toggle_inline:BLOCK_TYPE the following is an example of some default options:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:120,length:8,style:"BOLD"},{offset:129,length:9,style:"BOLD"},{offset:141,length:5,style:"BOLD"},{offset:160,length:23,style:"BOLD"},{offset:186,length:25,style:"BOLD"},{offset:120,length:8,style:"ITALIC"},{offset:129,length:9,style:"ITALIC"},{offset:141,length:5,style:"ITALIC"},{offset:160,length:23,style:"ITALIC"},{offset:186,length:25,style:"ITALIC"}],entityRanges:[],data:{}},{key:"6g7u2",text:'key_commands: {\n alt-cmd: [{cmd: "toggle_block:header_one", key: 49}, ... ],\n alt-shift: [{cmd: "add-new-block", key: 65}, ... ],\n cmd: [{cmd: "toggle_inline:BOLD", key: 66}, ...]\n}',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"145us",text:"Character convert mapping:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:26,style:"BOLD"}],entityRanges:[],data:{}},{key:"184v4",text:'This option provides some mapping on character combination on the beggining of pharagraph. For example you may want to create some ordered list just by typing "1." The following are some default character mappings:',type:"unstyled",depth:0,inlineStyleRanges:[{offset:160,length:4,style:"BOLD"},{offset:160,length:4,style:"ITALIC"}],entityRanges:[],data:{}},{key:"8t92b",text:'character_convert_mapping: {\n "1.": "ordered-list-item",',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"80o4b",text:' "#": "header-one"\n}',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"8hc0v",text:"Contiuous blocks:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"811bt",text:"This option allows some fine tunning on which blocks should be created repeatedly after hitting ENTER key. This is useful on blockquotes or lists Example on how to enable this option:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:145,length:1,style:"BOLD"},{offset:145,length:1,style:"ITALIC"}],entityRanges:[],data:{}},{key:"27lqq",text:'contiuousBlocks: [\n "unstyled",\n "blockquote",',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"copok",text:" ....\n]",type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"rrog",text:"Default wrappers:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"7iid8",text:'This option is just for style the default elements with a top level class, let\'s say you need to add the html class ".custom-h1" to all your H1 elements, ',type:"unstyled",depth:0,inlineStyleRanges:[{offset:141,length:2,style:"BOLD"}],entityRanges:[],data:{}},{key:"d7fo4",text:'default_wrappers: [\n {block: "unstyled", className: "custom-h1"},\n ....\n]',type:"code-block",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cq8bo",text:"Widgets:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:8,style:"BOLD"}],entityRanges:[],data:{}},{key:"1co5p",text:"Widgets are just react components that you can use to render custom content on your component, note that all Dante's features are composed as components, the widgets option deserves a dedicated chapter, but this is a summary of how widgets works: ",type:"unstyled",depth:0,inlineStyleRanges:[{offset:158,length:8,style:"BOLD"}],entityRanges:[],data:{}},{key:"ditau",text:"first, widgets option is and array of option, each widget is contained in an array and should point to the name of the React component, some of the main options are:",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"95ajt",text:"block: string, the name of the React.Component.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:5,style:"BOLD"}],entityRanges:[],data:{}},{key:"6g82l",text:"editable: bool, this configures if the component will be editable or not.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:8,style:"BOLD"}],entityRanges:[],data:{}},{key:"1clrg",text:"renderable: bool, this configures if the component is renderable",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:10,style:"BOLD"}],entityRanges:[],data:{}},{key:"cqdde",text:"breakOnContinuous: bool, same as continuousBlock but for widgets.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"bd7jb",text:"handleEnterWithText: func, this handles the behaviour when you hit ENTER on the component and text is present.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:19,style:"BOLD"}],entityRanges:[],data:{}},{key:"52vo",text:"handleEnterWihoutText: func, this handles the behaviour when you hit ENTER on the component and no text is present.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:21,style:"BOLD"}],entityRanges:[],data:{}},{key:"dorg4",text:"selectedFn: func, this handles the behaviour when component is focused",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:10,style:"BOLD"}],entityRanges:[],data:{}},{key:"1lesu",text:"selected_class: string, this configures which class will be added when component is focused",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:14,style:"BOLD"}],entityRanges:[],data:{}},{key:"35i1n",text:"wrapper_class: string, this configures the default class that will wrapp the component",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:13,style:"BOLD"}],entityRanges:[],data:{}},{key:"75dqq",text:"options: Object, this are custom options that will be stored in your component for later use.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:7,style:"BOLD"}],entityRanges:[],data:{}},{key:"9enkc",text:"widget_options: Object, this are custom options that will operate as a blockProps, this are volatile options, not to be stored in your content. ",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:14,style:"BOLD"}],entityRanges:[],data:{}},{key:"3v6ps",text:"Tooltips:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:0,length:9,style:"BOLD"}],entityRanges:[],data:{}},{key:"a5m6g",text:"Tooltips are another kind of components that will be not rendered in your editor content but will interact with it rendered over it, like the tooltips you see when you hover links, or select words to toggle BOLD or ITALIC. The tooltips option is an array, The main options are:",type:"unstyled",depth:0,inlineStyleRanges:[{offset:207,length:4,style:"BOLD"},{offset:227,length:9,style:"BOLD"},{offset:215,length:6,style:"ITALIC"}],entityRanges:[],data:{}},{key:"8aub",text:"component: Object, the object of your tooltip component.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:9,style:"BOLD"}],entityRanges:[],data:{}},{key:"50lfa",text:"display:",type:"ordered-list-item",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"ie4h",text:"displayOnSelection: bool, this configures if the tooltip should display on selection.",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:18,style:"BOLD"}],entityRanges:[],data:{}},{key:"f11l2",text:"selectionElements: Array, this configures which elements should display tooltip when selected, use this with displayOnSelection: true",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:17,style:"BOLD"}],entityRanges:[],data:{}},{key:"6cfm3",text:"widget_options: Object, custom options",type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:14,style:"BOLD"}],entityRanges:[],data:{}},{key:"c3fho",text:'ref: the name of ref element, to be used in main editor as a "reference" of the element.',type:"ordered-list-item",depth:0,inlineStyleRanges:[{offset:0,length:3,style:"BOLD"}],entityRanges:[],data:{}},{key:"cciaf",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"9up27",text:"FIN",type:"header-one",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"22c8t",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"a6gqv",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"cukcn",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}},{key:"6ulbq",text:"",type:"unstyled",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}}]};e.exports.Readme=n,e.exports.License=a,e.exports.Doc=i},279:function(e,t){},281:function(e,t){},282:function(e,t){}});
3
+ //# sourceMappingURL=app.js.map
data/docs/app.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.js","sources":["webpack:///app.js","webpack:///?d41d*"],"mappings":"AAAA;ACCA","sourceRoot":""}
@@ -0,0 +1,28 @@
1
+ !function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var s,u,c=0,l=[];c<i.length;c++)u=i[c],o[u]&&l.push.apply(l,o[u]),o[u]=0;for(s in a)t[s]=a[s];for(n&&n(i,a);l.length;)l.shift().call(null,e);if(a[0])return r[0]=0,e(0)};var r={},o={0:0};e.e=function(t,n){if(0===o[t])return n.call(null,e);if(void 0!==o[t])o[t].push(n);else{o[t]=[n];var r=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.src=e.p+""+t+".js",r.appendChild(i)}},e.m=t,e.c=r,e.p=""}([,function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error(e.replace(/%s/g,function(){return c[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e,n){"use strict";var r=n(12),o=r;t.exports=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){return C.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function i(t,e){return t.getBlockMap().map(function(t){return h.generate(t,e)}).toOrderedMap()}function a(t,e,n){var r=t.getCurrentContent().getBlockMap(),o=t.getImmutable().get("treeMap");return o.merge(e.toSeq().filter(function(t,e){return t!==r.get(e)}).map(function(t){return h.generate(t,n)}))}function s(t,e,n,r){return e.merge(t.toSeq().filter(function(t){return n.getDecorations(t)!==r.getDecorations(t)}).map(function(t){return h.generate(t,n)}))}function u(t,e){var n=t.getLastChangeType();return e!==n||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function c(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):p(t,n)}function l(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):p(t,n)}function p(t,e){for(var n,r=t.getBlockBefore(e);r;){if(n=r.getLength())return r.getInlineStyleAt(n-1);r=t.getBlockBefore(r.getKey())}return _()}var f=n(30),d=f||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h=n(114),g=n(66),v=n(230),y=n(5),m=n(34),_=y.OrderedSet,b=y.Record,w=y.Stack,x={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:w(),selection:null,treeMap:null,undoStack:w()},S=b(x),C=function(){function t(e){r(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(g.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:w(),redoStack:w(),decorator:n||null,selection:m.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=e.decorator,o=d({},e,{treeMap:i(n,r),directionMap:v.getDirectionMap(n)});return new t(new S(o))},t.set=function(e,n){var r=e.getImmutable().withMutations(function(t){var r=t.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var u=n.currentContent||e.getCurrentContent();if(o!==r){var c,l=t.get("treeMap");return c=o&&r?s(u.getBlockMap(),l,o,r):i(u,o),void t.merge({decorator:o,treeMap:c,nativelyRenderedContent:null})}var p=e.getCurrentContent();u!==p&&t.set("treeMap",a(e,u.getBlockMap(),o)),t.merge(n)});return new t(r)},t.prototype.toJS=function(){return this.getImmutable().toJS()},t.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.prototype.getSelection=function(){return this.getImmutable().get("selection")},t.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},t.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},t.prototype.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?c(e,n):l(e,n)},t.prototype.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.prototype.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.prototype.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent(),e=t.getBlockMap(),n=e.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return o(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),o(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent(),r=n.getLastBlock(),o=r.getKey(),i=r.getLength();return t.acceptSelection(e,new m({anchorKey:o,anchorOffset:i,focusKey:o,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){if(e.getCurrentContent()===n)return e;var o="insert-characters"!==r,i=v.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),l=n;a!==s.getSelectionAfter()||u(e,r)?(c=c.push(s),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",s.getSelectionBefore()));var p=e.getInlineStyleOverride();"adjust-depth"!==r&&"change-block-type"!==r&&(p=null);var f={currentContent:l,directionMap:i,undoStack:c,redoStack:w(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=v.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=v.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.prototype.getImmutable=function(){return this._immutable},t}();t.exports=C},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:M(t)}function n(t){return a(t)?t:O(t)}function r(t){return s(t)?t:I(t)}function o(t){return i(t)&&!u(t)?t:R(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[pn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[fn])}function l(t){return t.value=!1,t}function p(t){t&&(t.value=!0)}function f(){}function d(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function h(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function v(){return!0}function y(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function m(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function x(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function S(){return{value:void 0,done:!0}}function C(t){return!!D(t)}function E(t){return t&&"function"==typeof t.next}function k(t){var e=D(t);return e&&e.call(t)}function D(t){var e=t&&(Sn&&t[Sn]||t[Cn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function M(t){return null===t||void 0===t?z():i(t)?t.toSeq():j(t)}function O(t){return null===t||void 0===t?z().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():B(t)}function I(t){return null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():F(t)}function R(t){return(null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t:F(t)).toSetSeq()}function A(t){this._array=t,this.size=t.length}function N(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function P(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function U(t){return!(!t||!t[kn])}function z(){return Dn||(Dn=new A([]))}function B(t){var e=Array.isArray(t)?new A(t).fromEntrySeq():E(t)?new L(t).fromEntrySeq():C(t)?new P(t).fromEntrySeq():"object"==typeof t?new N(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function F(t){var e=K(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function j(t){var e=K(t)||"object"==typeof t&&new N(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function K(t){return T(t)?new A(t):E(t)?new L(t):C(t)?new P(t):void 0}function q(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(e(s[1],r?s[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?S():x(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function V(t,e){return e?W(e,t,"",{"":t}):G(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return W(t,n,r,e)})):Y(e)?t.call(r,n,O(e).map(function(n,r){return W(t,n,r,e)})):e}function G(t){return Array.isArray(t)?I(t).map(G).toList():Y(t)?O(t).map(G).toMap():t}function Y(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function J(t,e){if(t===e)return!0;if(!i(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&X(o[1],t)&&(n||X(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var l=t;t=e,e=l}var p=!0,f=e.__iterate(function(e,r){if(n?!t.has(e):o?!X(e,t.get(r,yn)):!X(t.get(r,yn),e))return p=!1,!1});return p&&t.size===f}function Q(t,e){if(!(this instanceof Q))return new Q(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Tn)return Tn;Tn=this}}function $(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if($(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Mn)return Mn;Mn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Un?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Bn===zn&&(Bn=0,Fn={}),Bn++,Fn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function ut(t){var e;if(Nn&&(e=On.get(t),void 0!==e))return e;if(e=t[Ln],void 0!==e)return e;if(!An){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ln],void 0!==e)return e;if(e=ct(t),void 0!==e)return e}if(e=++Pn,1073741824&Pn&&(Pn=0),Nn)On.set(t,e);else{if(void 0!==Rn&&Rn(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(An)Object.defineProperty(t,Ln,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ln]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ln]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){$(t!==1/0,"Cannot perform this action with an infinite size.")}function pt(t){return null===t||void 0===t?xt():ft(t)&&!c(t)?t:xt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[jn])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function mt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return x(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Kn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xt(){return qn||(qn=wt(0))}function St(t,e,n){var r,o;if(t._root){var i=l(mn),a=l(_n);if(r=Ct(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===yn?-1:1:0)}else{if(n===yn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):xt()}function Ct(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===yn?t:(p(s),p(a),new yt(e,r,[o,i]))}function Et(t){return t.constructor===yt||t.constructor===vt}function kt(t,e,n,r,o){if(t.keyHash===r)return new vt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&vn,s=(0===n?r:r>>>n)&vn,u=a===s?[kt(t,e,n+hn,r,o)]:(i=new yt(e,r,o),a<s?[t,i]:[i,t]);return new ht(e,1<<a|1<<s,u)}function Dt(t,e,n,r){t||(t=new f);for(var o=new yt(t,it(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new ht(t,o,a)}function Mt(t,e,n,r,o){for(var i=0,a=new Array(gn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new gt(t,i+1,a)}function Ot(t,e,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(t){return V(t)})),o.push(u)}return At(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):X(t,e)?t:e}function Rt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return X(e,o)?e:o}}function At(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,yn,function(t){return t===yn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)}):t.constructor(n[0])}function Nt(t,e,n,r){var o=t===yn,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}$(o||t&&t.set,"invalid keyPath");var u=i.value,c=o?yn:t.get(u,yn),l=Nt(c,e,n,r);return l===c?t:l===yn?t.remove(u):(o?xt():t).set(u,l)}function Pt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Ut(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}function zt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}function Bt(t){var e=Ht();if(null===t||void 0===t)return e;if(Ft(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<gn?qt(0,o,hn,null,new jt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Ft(t){return!(!t||!t[Gn])}function jt(t,e){this.array=t,this.ownerID=e}function Kt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>gn&&(c=gn),function(){if(o===c)return Jn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var s,u=t&&t.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>gn&&(l=gn),function(){for(;;){if(s){var t=s();if(t!==Jn)return t;s=null}if(c===l)return Jn;var i=e?--l:c++;s=n(u&&u[i],r-hn,o+(i<<r))}}}var i=t._origin,a=t._capacity,s=Qt(a),u=t._tail;return n(t._root,t._level,0)}function qt(t,e,n,r,o,i,a){var s=Object.create(Yn);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function Ht(){return Xn||(Xn=qt(0,0,hn))}function Vt(t,e,n){if(e=g(t,e),e!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(_n);return e>=Qt(t._capacity)?r=Wt(r,t.__ownerID,0,e,n,i):o=Wt(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):qt(t._origin,t._capacity,t._level,o,r):t}function Wt(t,e,n,r,o,i){var a=r>>>n&vn,s=t&&a<t.array.length;if(!s&&void 0===o)return t;var u;if(n>0){var c=t&&t.array[a],l=Wt(c,e,n-hn,r,o,i);return l===c?t:(u=Gt(t,e),u.array[a]=l,u)}return s&&t.array[a]===o?t:(p(i),u=Gt(t,e),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Gt(t,e){return e&&t&&e===t.ownerID?t:new jt(t?t.array.slice():[],e)}function Yt(t,e){if(e>=Qt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&vn],r-=hn;return n}}function Xt(t,e,n){void 0!==e&&(e=0|e),void 0!==n&&(n=0|n);var r=t.__ownerID||new f,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new jt(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Qt(i),d=Qt(s);d>=1<<u+hn;)c=new jt(c&&c.array.length?[c]:[],r),u+=hn;var h=t._tail,g=d<p?Yt(t,s-1):d>p?new jt([],r):h;if(h&&d>p&&a<i&&h.array.length){c=Gt(c,r);for(var v=c,y=u;y>hn;y-=hn){var m=p>>>y&vn;v=v.array[m]=Gt(v.array[m],r)}v.array[p>>>hn&vn]=h}if(s<i&&(g=g&&g.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=hn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d<p){for(l=0;c;){var _=a>>>u&vn;if(_!==d>>>u&vn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<p&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):qt(a,s,u,c,g)}function Jt(t,e,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(t){return V(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),At(t,e,o)}function Qt(t){return t<gn?0:t-1>>>hn<<hn}function $t(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return ft(t)&&c(t)}function te(t,e,n,r){var o=Object.create($t.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Qn||(Qn=te(xt(),Ht()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),u=void 0!==s;if(n===yn){if(!u)return t;a.size>=gn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&s!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Me,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return e(n,t,r)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===xn){var r=t.__iterator(e,n);return new w(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===wn?bn:wn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,yn);return i===yn?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return r(e.call(n,t,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(xn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return x(r,s,e.call(n,a[1],s,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Me,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,yn);return o!==yn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,yn);return i!==yn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,u){if(e.call(n,t,i,u))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(xn,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return x(o,r?c:s++,l,i)}})},o}function pe(t,e,n){var r=pt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function fe(t,e,n){var r=a(t),o=(c(t)?$t():pt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=De(t);return o.map(function(e){return Ce(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e=0|e),void 0!==n&&(n=0|n),y(e,n,o))return t;var i=m(e,o),a=_(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&U(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<i))return c++,e(t,r?n:c-1,o)!==!1&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return S();var t=o.next();return r||e===wn?t:e===bn?x(e,u-1,void 0,t):x(e,u-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(xn,o),s=!0;return new w(function(){if(!s)return S();var t=a.next();if(t.done)return t;var o=t.value,u=o[0],c=o[1];return e.call(n,c,u,i)?r===xn?t:x(r,u,c,t):(s=!1,S())})},r}function ge(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return t.__iterate(function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return u++,o(t,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(xn,i),u=!0,c=0;return new w(function(){var t,i,l;do{if(t=s.next(),t.done)return r||o===wn?t:o===bn?x(o,c++,void 0,t):x(o,c++,t.value[1],t);var p=t.value;i=p[0],l=p[1],u&&(u=e.call(n,l,i,a))}while(u);return o===xn?t:x(o,i,l,t)})},o}function ve(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?B(t):F(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var u=o[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new A(o);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ye(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):r(t,n?o:s++,l)===!1&&(u=!0),!u},o)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var t=a.next();if(t.done===!1){var c=t.value;if(r===xn&&(c=c[1]),e&&!(s.length<e)||!i(c))return n?t:x(r,u++,c,t);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return S()})},r}function me(t,e,n){var r=De(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function _e(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate(function(t,r){return(!i||n(e,i++,o)!==!1)&&n(t,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(wn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?x(n,a++,e):x(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=Oe);var r=a(t),o=0,i=t.toSeq().map(function(e,r){return[r,e,o++,n?n(e,r,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?O(i):s(t)?I(i):R(i)}function we(t,e,n){if(e||(e=Oe),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return xe(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return xe(e,t,n)?n:t})}function xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Se(t,n,r){var o=Te(t);return o.size=new A(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(wn,e),o=0;!(n=r.next()).done&&t(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=e(t),k(o?t.reverse():t)}),a=0,s=!1;return new w(function(){var e;return s||(e=i.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?S():x(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ce(t,e){return U(t)?e:t.constructor(e)}function Ee(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function ke(t){return lt(t.size),h(t)}function De(t){return a(t)?n:s(t)?r:o}function Te(t){return Object.create((a(t)?O:s(t)?I:R).prototype)}function Me(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function Oe(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=k(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=k(e(t))}return n}function Re(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);Pe(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=pt(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Ae(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ne(t){return t._name||t.constructor.name||"Record"}function Pe(t,e){try{e.forEach(Le.bind(void 0,t))}catch(n){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){$(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Ue(t){return null===t||void 0===t?je():ze(t)&&!c(t)?t:je().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function ze(t){return!(!t||!t[Zn])}function Be(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Fe(t,e){var n=Object.create(tr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function je(){return er||(er=Fe(xt()))}function Ke(t){return null===t||void 0===t?Ve():qe(t)?t:Ve().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function qe(t){return ze(t)&&c(t)}function He(t,e){var n=Object.create(nr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ve(){return rr||(rr=He(ee()))}function We(t){return null===t||void 0===t?Xe():Ge(t)?t:Xe().unshiftAll(t)}function Ge(t){return!(!t||!t[or])}function Ye(t,e,n,r){var o=Object.create(ir);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xe(){return ar||(ar=Ye(0))}function Je(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Qe(t,e){return e}function $e(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){
2
+ return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0,o=t.__iterate(n?e?function(t,e){r=31*r+sn(it(t),it(e))|0}:function(t,e){r=r+sn(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0});return an(o,r)}function an(t,e){return e=In(e,3432918353),e=In(e<<15|e>>>-15,461845907),e=In(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=In(e^e>>>16,2246822507),e=In(e^e>>>13,3266489909),e=ot(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn="delete",hn=5,gn=1<<hn,vn=gn-1,yn={},mn={value:!1},_n={value:!1},bn=0,wn=1,xn=2,Sn="function"==typeof Symbol&&Symbol.iterator,Cn="@@iterator",En=Sn||Cn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=bn,w.VALUES=wn,w.ENTRIES=xn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[En]=function(){return this},t(M,e),M.of=function(){return M(arguments)},M.prototype.toSeq=function(){return this},M.prototype.toString=function(){return this.__toString("Seq {","}")},M.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},M.prototype.__iterate=function(t,e){return q(this,t,e,!0)},M.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(O,M),O.prototype.toKeyedSeq=function(){return this},t(I,M),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return q(this,t,e,!1)},I.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(R,M),R.of=function(){return R(arguments)},R.prototype.toSetSeq=function(){return this},M.isSeq=U,M.Keyed=O,M.Set=R,M.Indexed=I;var kn="@@__IMMUTABLE_SEQ__@@";M.prototype[kn]=!0,t(A,I),A.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},A.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(t(n[e?r-o:o],o,this)===!1)return o+1;return o},A.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?S():x(t,o,n[e?r-o++:o++])})},t(N,O),N.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},N.prototype.has=function(t){return this._object.hasOwnProperty(t)},N.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(t(n[a],a,this)===!1)return i+1}return i},N.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?S():x(t,a,n[a])})},N.prototype[fn]=!0,t(P,I),P.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=k(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&t(i.value,o++,this)!==!1;);return o},P.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=k(n);if(!E(r))return new w(S);var o=0;return new w(function(){var e=r.next();return e.done?e:x(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(t(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,t(a,o++,this)===!1)break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return x(t,o,r[o++])})};var Dn;t(Q,I),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){return this.has(t)?this._value:e},Q.prototype.includes=function(t){return X(this._value,t)},Q.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:new Q(this._value,_(e,n)-m(t,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(t){return X(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},Q.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(t(this._value,n,this)===!1)return n+1;return n},Q.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?x(t,r++,n._value):S()})},Q.prototype.equals=function(t){return t instanceof Q?X(this._value,t._value):J(t)};var Tn;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return y(t,e,this.size)?this:(t=m(t,this.size),e=_(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(t(o,i,this)===!1)return i+1;o+=e?-r:r}return i},Z.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new w(function(){var a=o;return o+=e?-r:r,i>n?S():x(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:J(this,t)};var Mn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var On,In="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t=0|t,e=0|e;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Rn=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Nn="function"==typeof WeakMap;Nn&&(On=new WeakMap);var Pn=0,Ln="__immutablehash__";"function"==typeof Symbol&&(Ln=Symbol(Ln));var Un=16,zn=255,Bn=0,Fn={};t(pt,et),pt.prototype.toString=function(){return this.__toString("Map {","}")},pt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},pt.prototype.set=function(t,e){return St(this,t,e)},pt.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},pt.prototype.remove=function(t){return St(this,t,yn)},pt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},pt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},pt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Nt(this,Ie(t),e,n);return r===yn?void 0:r},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xt()},pt.prototype.merge=function(){return Ot(this,void 0,arguments)},pt.prototype.mergeWith=function(t){var e=un.call(arguments,1);return Ot(this,t,e)},pt.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},pt.prototype.mergeDeep=function(){return Ot(this,It,arguments)},pt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Ot(this,Rt(t),e)},pt.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},pt.prototype.sort=function(t){return $t(be(this,t))},pt.prototype.sortBy=function(t,e){return $t(be(this,e,t))},pt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},pt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},pt.prototype.asImmutable=function(){return this.__ensureOwner()},pt.prototype.wasAltered=function(){return this.__altered},pt.prototype.__iterator=function(t,e){return new mt(this,t,e)},pt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},pt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},pt.isMap=ft;var jn="@@__IMMUTABLE_MAP__@@",Kn=pt.prototype;Kn[jn]=!0,Kn[dn]=Kn.remove,Kn.removeIn=Kn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===yn,u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),!s||1!==u.length){if(!f&&!s&&u.length>=Hn)return Dt(t,u,r,o);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new dt(t,g)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&vn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Pt(i&o-1)].get(t+hn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&vn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===yn)return this;var p=Pt(c&u-1),f=this.nodes,d=l?f[p]:void 0,h=Ct(d,t,e+hn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=Vn)return Mt(t,f,c,s,h);if(l&&!h&&2===f.length&&Et(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Et(h))return h;var g=t&&t===this.ownerID,v=l?h?c:c^u:c|u,y=l?h?Lt(f,p,h,g):zt(f,p,g):Ut(f,p,h,g);return g?(this.bitmap=v,this.nodes=y,this):new ht(t,v,y)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&vn,i=this.nodes[o];return i?i.get(t+hn,e,n,r):r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&vn,u=o===yn,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Ct(l,t,e+hn,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&(f--,f<Wn))return Tt(t,c,f,s)}else f++;var d=t&&t===this.ownerID,h=Lt(c,s,p,d);return d?(this.count=f,this.nodes=h,this):new gt(t,f,h)},vt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},vt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=o===yn;if(n!==this.keyHash)return s?this:(p(a),p(i),kt(this,t,e,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),s&&2===l)return new yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new vt(t,this.keyHash,g)},yt.prototype.get=function(t,e,n,r){return X(n,this.entry[0])?this.entry[1]:r},yt.prototype.update=function(t,e,n,r,o,i,a){var s=o===yn,u=X(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(p(a),s?void p(i):u?t&&t===this.ownerID?(this.entry[1]=o,this):new yt(t,this.keyHash,[r,o]):(p(i),kt(this,t,e,it(r),[r,o])))},dt.prototype.iterate=vt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(t(n[e?o-r:r])===!1)return!1},ht.prototype.iterate=gt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&i.iterate(t,e)===!1)return!1}},yt.prototype.iterate=function(t,e){return t(this.entry)},t(mt,w),mt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _t(t,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return _t(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return S()};var qn,Hn=gn/4,Vn=gn/2,Wn=gn/4;t(Bt,nt),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("List [","]")},Bt.prototype.get=function(t,e){if(t=g(this,t),t>=0&&t<this.size){t+=this._origin;var n=Yt(this,t);return n&&n.array[t&vn]}return e},Bt.prototype.set=function(t,e){return Vt(this,t,e)},Bt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Bt.prototype.insert=function(t,e){return this.splice(t,0,e)},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Bt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Bt.prototype.pop=function(){return Xt(this,0,-1)},Bt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Bt.prototype.shift=function(){return Xt(this,1)},Bt.prototype.merge=function(){return Jt(this,void 0,arguments)},Bt.prototype.mergeWith=function(t){var e=un.call(arguments,1);return Jt(this,t,e)},Bt.prototype.mergeDeep=function(){return Jt(this,It,arguments)},Bt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Jt(this,Rt(t),e)},Bt.prototype.setSize=function(t){return Xt(this,0,t)},Bt.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:Xt(this,m(t,n),_(e,n))},Bt.prototype.__iterator=function(t,e){var n=0,r=Kt(this,e);return new w(function(){var e=r();return e===Jn?S():x(t,n++,e)})},Bt.prototype.__iterate=function(t,e){for(var n,r=0,o=Kt(this,e);(n=o())!==Jn&&t(n,r++,this)!==!1;);return r},Bt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Bt.isList=Ft;var Gn="@@__IMMUTABLE_LIST__@@",Yn=Bt.prototype;Yn[Gn]=!0,Yn[dn]=Yn.remove,Yn.setIn=Kn.setIn,Yn.deleteIn=Yn.removeIn=Kn.removeIn,Yn.update=Kn.update,Yn.updateIn=Kn.updateIn,Yn.mergeIn=Kn.mergeIn,Yn.mergeDeepIn=Kn.mergeDeepIn,Yn.withMutations=Kn.withMutations,Yn.asMutable=Kn.asMutable,Yn.asImmutable=Kn.asImmutable,Yn.wasAltered=Kn.wasAltered,jt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&vn;if(r>=this.array.length)return new jt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if(o=a&&a.removeBefore(t,e-hn,n),o===a&&i)return this}if(i&&!o)return this;var s=Gt(this,t);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},jt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&vn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if(o=i&&i.removeAfter(t,e-hn,n),o===i&&r===this.array.length-1)return this}var a=Gt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Xn,Jn={};t($t,pt),$t.of=function(){return this(arguments)},$t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$t.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},$t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},$t.prototype.set=function(t,e){return ne(this,t,e)},$t.prototype.remove=function(t){return ne(this,t,yn)},$t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$t.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},$t.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},$t.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},$t.isOrderedMap=Zt,$t.prototype[fn]=!0,$t.prototype[dn]=$t.prototype.remove;var Qn;t(re,O),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?ke(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(wn,e),r=e?ke(this):0;return new w(function(){var o=n.next();return o.done?o:x(t,e?--r:r++,o.value,o)})},re.prototype[fn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e),r=0;return new w(function(){var e=n.next();return e.done?e:x(t,r++,e.value,e)})},t(ie,R),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new w(function(){var e=n.next();return e.done?e:x(t,e.value,e.value,e)})},t(ae,O),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ee(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ee(r);var o=i(r);return x(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=Me,t(Re,et),Re.prototype.toString=function(){return this.__toString(Ne(this)+" {","}")},Re.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Re.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Re.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ae(this,xt()))},Re.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ne(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ae(this,n)},Re.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ae(this,e)},Re.prototype.wasAltered=function(){return this._map.wasAltered()},Re.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Re.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ae(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Re.prototype;$n[dn]=$n.remove,$n.deleteIn=$n.removeIn=Kn.removeIn,$n.merge=Kn.merge,$n.mergeWith=Kn.mergeWith,$n.mergeIn=Kn.mergeIn,$n.mergeDeep=Kn.mergeDeep,$n.mergeDeepWith=Kn.mergeDeepWith,$n.mergeDeepIn=Kn.mergeDeepIn,$n.setIn=Kn.setIn,$n.update=Kn.update,$n.updateIn=Kn.updateIn,$n.withMutations=Kn.withMutations,$n.asMutable=Kn.asMutable,$n.asImmutable=Kn.asImmutable,t(Ue,rt),Ue.of=function(){return this(arguments)},Ue.fromKeys=function(t){return this(n(t).keySeq())},Ue.prototype.toString=function(){return this.__toString("Set {","}")},Ue.prototype.has=function(t){return this._map.has(t)},Ue.prototype.add=function(t){return Be(this,this._map.set(t,!0))},Ue.prototype.remove=function(t){return Be(this,this._map.remove(t))},Ue.prototype.clear=function(){return Be(this,this._map.clear())},Ue.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Ue.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Ue.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Ue.prototype.merge=function(){return this.union.apply(this,arguments)},Ue.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Ue.prototype.sort=function(t){return Ke(be(this,t))},Ue.prototype.sortBy=function(t,e){return Ke(be(this,e,t))},Ue.prototype.wasAltered=function(){return this._map.wasAltered()},Ue.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Ue.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Ue.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Ue.isSet=ze;var Zn="@@__IMMUTABLE_SET__@@",tr=Ue.prototype;tr[Zn]=!0,tr[dn]=tr.remove,tr.mergeDeep=tr.merge,tr.mergeDeepWith=tr.mergeWith,tr.withMutations=Kn.withMutations,tr.asMutable=Kn.asMutable,tr.asImmutable=Kn.asImmutable,tr.__empty=je,tr.__make=Fe;var er;t(Ke,Ue),Ke.of=function(){return this(arguments)},Ke.fromKeys=function(t){return this(n(t).keySeq())},Ke.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ke.isOrderedSet=qe;var nr=Ke.prototype;nr[fn]=!0,nr.__empty=Ve,nr.__make=He;var rr;t(We,nt),We.of=function(){return this(arguments)},We.prototype.toString=function(){return this.__toString("Stack [","]")},We.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},We.prototype.peek=function(){return this._head&&this._head.value},We.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Ye(t,e)},We.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ye(e,n)},We.prototype.pop=function(){return this.slice(1)},We.prototype.unshift=function(){return this.push.apply(this,arguments)},We.prototype.unshiftAll=function(t){return this.pushAll(t)},We.prototype.shift=function(){return this.pop.apply(this,arguments)},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xe()},We.prototype.slice=function(t,e){if(y(t,e,this.size))return this;var n=m(t,this.size),r=_(e,this.size);if(r!==this.size)return nt.prototype.slice.call(this,t,e);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ye(o,i)},We.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ye(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},We.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&t(r.value,n++,this)!==!1;)r=r.next;return n},We.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,x(t,n++,e)}return S()})},We.isStack=Ge;var or="@@__IMMUTABLE_STACK__@@",ir=We.prototype;ir[or]=!0,ir.withMutations=Kn.withMutations,ir.asMutable=Kn.asMutable,ir.asImmutable=Kn.asImmutable,ir.wasAltered=Kn.wasAltered;var ar;e.Iterator=w,Je(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,(!0))},toMap:function(){return pt(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return $t(this.toKeyedSeq())},toOrderedSet:function(){return Ke(a(this)?this.valueSeq():this)},toSet:function(){return Ue(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return We(a(this)?this.valueSeq():this)},toList:function(){return Bt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var t=un.call(arguments,0);return Ce(this,ve(this,t))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(xn)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Ce(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Ce(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ce(this,ce(this,!0))},slice:function(t,e){return Ce(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ce(this,be(this,t))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return pe(this,t,e)},equals:function(t){return J(this,t)},entrySeq:function(){var t=this;if(t._cache)return new A(t._cache);var e=t.toSeq().map($e).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(v)},flatMap:function(t,e){return Ce(this,me(this,t,e))},flatten:function(t){return Ce(this,ye(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,yn):yn,r===yn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map(Qe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ce(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ce(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ce(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ce(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=e.prototype;sr[cn]=!0,sr[En]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=en,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,function(){try{Object.defineProperty(sr,"length",{get:function(){if(!e.noLengthWarning){var t;try{throw new Error}catch(n){t=n.stack}if(t.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Je(n,{flip:function(){return Ce(this,se(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return X(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return X(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Ce(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ce(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[En]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Je(r,{toKeyedSeq:function(){return new re(this,(!1))},filter:function(t,e){return Ce(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ce(this,ce(this,!1))},slice:function(t,e){return Ce(this,de(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=m(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ce(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ce(this,ye(this,t,!1))},get:function(t,e){return t=g(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return t=g(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t<this.size:this.indexOf(t)!==-1);
3
+ },interpose:function(t){return Ce(this,_e(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=Se(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ce(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!1))},zip:function(){var t=[this].concat(d(arguments));return Ce(this,Se(this,nn,t))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ce(this,Se(this,t,e))}}),r.prototype[pn]=!0,r.prototype[fn]=!0,Je(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=sr.includes,Je(O,n.prototype),Je(I,r.prototype),Je(R,o.prototype),Je(et,n.prototype),Je(nt,r.prototype),Je(rt,o.prototype);var cr={Iterable:e,Seq:M,Collection:tt,Map:pt,OrderedMap:$t,List:Bt,Stack:We,Set:Ue,OrderedSet:Ke,Record:Re,Range:Z,Repeat:Q,is:X,fromJS:V};return cr})},function(t,e,n){"use strict";t.exports=n(317)},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,s=n(t),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var c in r)o.call(r,c)&&(s[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(s[a[l]]=r[a[l]])}}return s}},function(t,e,n){"use strict";function r(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=r(t);n._hostNode=e,e[g]=n}function i(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function a(t,e){if(!(t._flags&h.hasCachedChildNodes)){var n=t._renderedChildren,i=e.firstChild;t:for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],u=r(s)._domID;if(0!==u){for(;null!==i;i=i.nextSibling)if(1===i.nodeType&&i.getAttribute(d)===String(u)||8===i.nodeType&&i.nodeValue===" react-text: "+u+" "||8===i.nodeType&&i.nodeValue===" react-empty: "+u+" "){o(s,i);continue t}l("32",u)}}t._flags|=h.hasCachedChildNodes}}function s(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[g]);t=e.pop())n=r,e.length&&a(r,t);return n}function u(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function c(t){if(void 0===t._hostNode?l("33"):void 0,t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent?void 0:l("34"),t=t._hostParent;for(;e.length;t=e.pop())a(t,t._hostNode);return t._hostNode}var l=n(2),p=n(38),f=n(151),d=(n(1),p.ID_ATTRIBUTE_NAME),h=f,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:s,getInstanceFromNode:u,getNodeFromInstance:c,precacheChildNodes:a,precacheNode:o,uncacheNode:i};t.exports=v},function(t,e,n){"use strict";var r=n(218),o=n(39),i=n(17),a=n(219),s=n(29),u=n(66),c=n(67),l=n(115),p=n(221),f=n(116),d=n(10),h=n(22),g=n(117),v=n(4),y=n(68),m=n(231),_=n(34),b=n(236),w=n(121),x=n(237),S=n(20),C=n(122),E=n(260),k={Editor:p,EditorBlock:f,EditorState:v,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:u,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:y,Modifier:d,RichUtils:m,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:w,convertFromRaw:x,convertToRaw:b,genKey:S,getDefaultKeyBinding:C,getVisibleSelectionRect:E};t.exports=k},function(t,e,n){"use strict";var r=n(17),o=n(220),i=n(5),a=n(235),s=n(256),u=n(53),c=n(261),l=n(262),p=n(1),f=n(274),d=n(133),h=n(275),g=n(277),v=i.OrderedSet,y={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),u=r.create({style:o||v(),entity:i||null});return l(s,s.getSelectionAfter(),n,u)},insertText:function(t,e,n,r,o){return e.isCollapsed()?void 0:p(!1),y.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=u(t,e),o=y.removeRange(t,e,"backward");return y.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=d(t,e),o=h(r,e);return c(o,o.getSelectionAfter(),n)},removeRange:function(t,e,n){if(e.getAnchorKey()===e.getFocusKey()){var r=e.getAnchorKey(),o=e.getStartOffset(),i=e.getEndOffset(),a=t.getBlockForKey(r),u=a.getEntityAt(o),c=a.getEntityAt(i-1);if(u&&u===c){var l=s(a,e,n);return h(t,l)}}var p=d(t,e);return h(p,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return f(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return f(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return f(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=d(t,e);return a(r,e,n)}};t.exports=y},function(t,e){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};t.exports=r},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";t.exports=n(321)},function(t,e,n){"use strict";function r(t){return"[object Array]"===S.call(t)}function o(t){return"[object ArrayBuffer]"===S.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function u(t){return"number"==typeof t}function c(t){return"undefined"==typeof t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===S.call(t)}function f(t){return"[object File]"===S.call(t)}function d(t){return"[object Blob]"===S.call(t)}function h(t){return"[object Function]"===S.call(t)}function g(t){return l(t)&&h(t.pipe)}function v(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function _(t,e){if(null!==t&&"undefined"!=typeof t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function b(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)_(arguments[n],t);return e}function w(t,e,n){return _(e,function(e,r){n&&"function"==typeof e?t[r]=x(e,n):t[r]=e}),t}var x=n(109),S=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:o,isFormData:i,isArrayBufferView:a,isString:s,isNumber:u,isObject:l,isUndefined:c,isDate:p,isFile:f,isBlob:d,isFunction:h,isStream:g,isURLSearchParams:v,isStandardBrowserEnv:m,forEach:_,merge:b,extend:w,trim:y}},function(t,e){"use strict";var n=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};t.exports=n},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(5),s=a.Map,u=a.OrderedSet,c=a.Record,l=u(),p={style:l,entity:null},f=c(p),d=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.getStyle=function(){return this.get("style")},e.prototype.getEntity=function(){return this.get("entity")},e.prototype.hasStyle=function(t){return this.getStyle().has(t)},e.applyStyle=function(t,n){var r=t.set("style",t.getStyle().add(n));return e.create(r)},e.removeStyle=function(t,n){var r=t.set("style",t.getStyle().remove(n));return e.create(r)},e.applyEntity=function(t,n){var r=t.getEntity()===n?t:t.set("entity",n);return e.create(r)},e.create=function(t){if(!t)return h;var n=s({style:l,entity:null}).merge(t),r=g.get(n);if(r)return r;var o=new e(n);return g=g.set(n,o),o},e}(f),h=new d,g=s([[s(p),h]]);d.EMPTY=h,t.exports=d},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(7),a=n(28),s=(n(3),n(168),Object.prototype.hasOwnProperty),u="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var s={$$typeof:u,type:t,key:e,ref:n,props:a,_owner:i};return s};l.createElement=function(t,e,n){var i,u={},p=null,f=null,d=null,h=null;if(null!=e){r(e)&&(f=e.ref),o(e)&&(p=""+e.key),d=void 0===e.__self?null:e.__self,h=void 0===e.__source?null:e.__source;for(i in e)s.call(e,i)&&!c.hasOwnProperty(i)&&(u[i]=e[i])}var g=arguments.length-2;if(1===g)u.children=n;else if(g>1){for(var v=Array(g),y=0;y<g;y++)v[y]=arguments[y+2];u.children=v}if(t&&t.defaultProps){var m=t.defaultProps;for(i in m)void 0===u[i]&&(u[i]=m[i])}return l(t,p,f,d,h,a.current,u)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){var n=l(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},l.cloneElement=function(t,e,n){var u,p=i({},t.props),f=t.key,d=t.ref,h=t._self,g=t._source,v=t._owner;if(null!=e){r(e)&&(d=e.ref,v=a.current),o(e)&&(f=""+e.key);var y;t.type&&t.type.defaultProps&&(y=t.type.defaultProps);for(u in e)s.call(e,u)&&!c.hasOwnProperty(u)&&(void 0===e[u]&&void 0!==y?p[u]=y[u]:p[u]=e[u])}var m=arguments.length-2;if(1===m)p.children=n;else if(m>1){for(var _=Array(m),b=0;b<m;b++)_[b]=arguments[b+2];p.children=_}return l(t.type,f,d,h,g,v,p)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},l.REACT_ELEMENT_TYPE=u,t.exports=l},function(t,e,n){"use strict";function r(){D.ReactReconcileTransaction&&w?void 0:l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=D.ReactReconcileTransaction.getPooled(!0)}function i(t,e,n,o,i,a){r(),w.batchedUpdates(t,e,n,o,i,a)}function a(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==y.length?l("124",e,y.length):void 0,y.sort(a),m++;for(var n=0;n<e;n++){var r=y[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.props===r._renderedComponent._currentElement&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(g.performUpdateIfNecessary(r,t.reconcileTransaction,m),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)t.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(t){return r(),w.isBatchingUpdates?(y.push(t),void(null==t._updateBatchNumber&&(t._updateBatchNumber=m+1))):void w.batchedUpdates(u,t)}function c(t,e){w.isBatchingUpdates?void 0:l("125"),_.enqueue(t,e),b=!0}var l=n(2),p=n(7),f=n(147),d=n(27),h=n(157),g=n(33),v=n(46),y=(n(1),[]),m=0,_=f.getPooled(),b=!1,w=null,x={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),E()):y.length=0}},S={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},C=[x,S];p(o.prototype,v.Mixin,{getTransactionWrappers:function(){return C},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,D.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return v.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),d.addPoolingTo(o);var E=function(){for(;y.length||b;){if(y.length){var t=o.getPooled();t.perform(s,null,t),o.release(t)}if(b){b=!1;var e=_;_=f.getPooled(),e.notifyAll(),f.release(e)}}},k={injectReconcileTransaction:function(t){t?void 0:l("126"),D.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t?void 0:l("127"),"function"!=typeof t.batchedUpdates?l("128"):void 0,"boolean"!=typeof t.isBatchingUpdates?l("129"):void 0,w=t}},D={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:E,injection:k,asap:c};t.exports=D},function(t,e){"use strict";function n(){for(var t=void 0;void 0===t||r.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*o).toString(32);return r[t]=!0,t}var r={},o=Math.pow(2,24);t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var o=n.slice(t.length);return!!e&&(o=r?r(o):o,a.contains(o,e))}function o(t){return"Windows"===i.platformName?t.replace(/^\s*NT/,""):t}var i=n(287),a=n(288),s=n(301),u=n(143),c={isBrowser:function(t){return r(i.browserName,i.browserFullVersion,t)},isBrowserArchitecture:function(t){return r(i.browserArchitecture,null,t)},isDevice:function(t){return r(i.deviceName,null,t)},isEngine:function(t){return r(i.engineName,i.engineVersion,t)},isPlatform:function(t){return r(i.platformName,i.platformFullVersion,t,o)},isPlatformArchitecture:function(t){return r(i.platformArchitecture,null,t)}};t.exports=s(c,u)},function(t,e,n){"use strict";var r=n(30),o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(117),a=n(5),s=n(1),u=a.Map,c=u(),l=0,p={create:function(t,e,n){return p.add(new i({type:t,mutability:e,data:n||{}}))},add:function(t){var e=""+ ++l;return c=c.set(e,t),e},get:function(t){var e=c.get(t);return e?void 0:s(!1),e},mergeData:function(t,e){var n=p.get(t),r=o({},n.getData(),e),i=n.set("data",r);return c=c.set(t,i),i},replaceData:function(t,e){var n=p.get(t),r=n.set("data",e);return c=c.set(t,r),r}};t.exports=p},function(t,e,n){"use strict";var r=n(57),o=r({bubbled:null,captured:null}),i=r({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:i,PropagationPhases:o};t.exports=a},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(7),i=n(27),a=n(12),s=(n(3),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=o({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),t.exports=r},,function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e,n){"use strict";var r=n(2),o=(n(1),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},s=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},u=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,p=o,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||p,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:f,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:s,fiveArgumentPooler:u};t.exports=d},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return t.getStyle()===e.getStyle()}function s(t,e){return t.getEntity()===e.getEntity()}var u=n(5),c=n(52),l=u.List,p=u.Map,f=u.OrderedSet,d=u.Record,h=f(),g={key:"",type:"unstyled",text:"",characterList:l(),depth:0,data:p()},v=d(g),y=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():h},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){c(this.getCharacterList(),a,t,e)},e.prototype.findEntityRanges=function(t,e){c(this.getCharacterList(),s,t,e)},e}(v);t.exports=y},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,s=n(t),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var c in r)o.call(r,c)&&(s[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(s[a[l]]=r[a[l]])}}return s}},function(t,e,n){"use strict";function r(t){return f<=t&&t<=g}function o(t,e){if(0<=e&&e<t.length?void 0:p(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),r=t.charCodeAt(e+1);return f<=n&&n<=d&&h<=r&&r<=g}function i(t){return v.test(t)}function a(t,e){return 1+r(t.charCodeAt(e))}function s(t){if(!i(t))return t.length;for(var e=0,n=0;n<t.length;n+=a(t,n))e++;return e}function u(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!i(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=a(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=a(t,o-1);o<0&&(o=0)}var s=r;if(n<r)for(s=o;n>0&&s<r;n--)s+=a(t,s);return t.substring(o,s)}function c(t,e,n){e=e||0,n=void 0===n?1/0:n||0,e<0&&(e=0),n<0&&(n=0);var r=Math.abs(n-e);return e=e<n?e:n,u(t,e,r)}function l(t){for(var e=[],n=0;n<t.length;n+=a(t,n))e.push(t.codePointAt(n));return e}var p=n(1),f=55296,d=56319,h=56320,g=57343,v=/[\uD800-\uDFFF]/,y={getCodePoints:l,getUTF16Length:a,hasSurrogateUnit:i,isCodeUnitInSurrogateRange:r,isSurrogatePair:o,strlen:s,substring:c,substr:u};t.exports=y},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error(e.replace(/%s/g,function(){return c[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};t.exports=r},function(t,e,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(342),i=(n(16),n(3),{mountComponent:function(t,e,n,o,i,a){var s=t.mountComponent(e,n,o,i,a);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),s},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){o.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,i){var a=t._currentElement;if(e!==a||i!==t._context){var s=o.shouldUpdateRefs(a,e);s&&o.detachRefs(t,a),t.receiveComponent(e,n,i),s&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(5),s=a.Record,u={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},c=s(u),l=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},e.prototype.getAnchorKey=function(){return this.get("anchorKey")},e.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},e.prototype.getFocusKey=function(){return this.get("focusKey")},e.prototype.getFocusOffset=function(){return this.get("focusOffset")},e.prototype.getIsBackward=function(){return this.get("isBackward")},e.prototype.getHasFocus=function(){return this.get("hasFocus")},e.prototype.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset(),a=this.getEndOffset();return e<=a&&i<=n}if(t!==r&&t!==o)return!1;var s=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=s&&n>=s},e.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},e.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},e.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},e.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},e.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}(c);t.exports=l},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return i(t)?t:M(t)}function n(t){return a(t)?t:O(t)}function r(t){return s(t)?t:I(t)}function o(t){return i(t)&&!u(t)?t:R(t)}function i(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[pn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[fn])}function l(t){return t.value=!1,t}function p(t){t&&(t.value=!0)}function f(){}function d(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function h(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function v(){return!0}function y(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function m(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function x(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function S(){return{value:void 0,done:!0}}function C(t){return!!D(t)}function E(t){return t&&"function"==typeof t.next}function k(t){var e=D(t);return e&&e.call(t)}function D(t){var e=t&&(Sn&&t[Sn]||t[Cn]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function M(t){return null===t||void 0===t?z():i(t)?t.toSeq():j(t)}function O(t){return null===t||void 0===t?z().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():B(t)}function I(t){return null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():F(t)}function R(t){return(null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t:F(t)).toSetSeq()}function A(t){this._array=t,this.size=t.length}function N(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function P(t){this._iterable=t,this.size=t.length||t.size}function L(t){this._iterator=t,this._iteratorCache=[]}function U(t){return!(!t||!t[kn])}function z(){return Dn||(Dn=new A([]))}function B(t){var e=Array.isArray(t)?new A(t).fromEntrySeq():E(t)?new L(t).fromEntrySeq():C(t)?new P(t).fromEntrySeq():"object"==typeof t?new N(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function F(t){var e=K(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function j(t){var e=K(t)||"object"==typeof t&&new N(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function K(t){return T(t)?new A(t):E(t)?new L(t):C(t)?new P(t):void 0}function q(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(e(s[1],r?s[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new w(function(){var t=o[n?i-a:a];return a++>i?S():x(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function V(t,e){return e?W(e,t,"",{"":t}):G(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,I(e).map(function(n,r){return W(t,n,r,e)})):Y(e)?t.call(r,n,O(e).map(function(n,r){return W(t,n,r,e)})):e}function G(t){return Array.isArray(t)?I(t).map(G).toList():Y(t)?O(t).map(G).toMap():t}function Y(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function J(t,e){if(t===e)return!0;if(!i(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&X(o[1],t)&&(n||X(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var l=t;t=e,e=l}var p=!0,f=e.__iterate(function(e,r){if(n?!t.has(e):o?!X(e,t.get(r,yn)):!X(t.get(r,yn),e))return p=!1,!1});return p&&t.size===f}function Q(t,e){if(!(this instanceof Q))return new Q(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Tn)return Tn;Tn=this}}function $(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if($(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Mn)return Mn;Mn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function ot(t){return t>>>1&1073741824|3221225471&t}function it(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){
4
+ if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return ot(n)}if("string"===e)return t.length>Un?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Bn===zn&&(Bn=0,Fn={}),Bn++,Fn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return ot(e)}function ut(t){var e;if(Nn&&(e=On.get(t),void 0!==e))return e;if(e=t[Ln],void 0!==e)return e;if(!An){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ln],void 0!==e)return e;if(e=ct(t),void 0!==e)return e}if(e=++Pn,1073741824&Pn&&(Pn=0),Nn)On.set(t,e);else{if(void 0!==Rn&&Rn(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(An)Object.defineProperty(t,Ln,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ln]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ln]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){$(t!==1/0,"Cannot perform this action with an infinite size.")}function pt(t){return null===t||void 0===t?xt():ft(t)&&!c(t)?t:xt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[jn])}function dt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function mt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return x(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Kn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xt(){return qn||(qn=wt(0))}function St(t,e,n){var r,o;if(t._root){var i=l(mn),a=l(_n);if(r=Ct(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===yn?-1:1:0)}else{if(n===yn)return t;o=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):xt()}function Ct(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===yn?t:(p(s),p(a),new yt(e,r,[o,i]))}function Et(t){return t.constructor===yt||t.constructor===vt}function kt(t,e,n,r,o){if(t.keyHash===r)return new vt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&vn,s=(0===n?r:r>>>n)&vn,u=a===s?[kt(t,e,n+hn,r,o)]:(i=new yt(e,r,o),a<s?[t,i]:[i,t]);return new ht(e,1<<a|1<<s,u)}function Dt(t,e,n,r){t||(t=new f);for(var o=new yt(t,it(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}function Tt(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new ht(t,o,a)}function Mt(t,e,n,r,o){for(var i=0,a=new Array(gn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new gt(t,i+1,a)}function Ot(t,e,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(t){return V(t)})),o.push(u)}return At(t,e,o)}function It(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):X(t,e)?t:e}function Rt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return X(e,o)?e:o}}function At(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,yn,function(t){return t===yn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)}):t.constructor(n[0])}function Nt(t,e,n,r){var o=t===yn,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}$(o||t&&t.set,"invalid keyPath");var u=i.value,c=o?yn:t.get(u,yn),l=Nt(c,e,n,r);return l===c?t:l===yn?t.remove(u):(o?xt():t).set(u,l)}function Pt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Lt(t,e,n,r){var o=r?t:d(t);return o[e]=n,o}function Ut(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}function zt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}function Bt(t){var e=Ht();if(null===t||void 0===t)return e;if(Ft(t))return t;var n=r(t),o=n.size;return 0===o?e:(lt(o),o>0&&o<gn?qt(0,o,hn,null,new jt(n.toArray())):e.withMutations(function(t){t.setSize(o),n.forEach(function(e,n){return t.set(n,e)})}))}function Ft(t){return!(!t||!t[Gn])}function jt(t,e){this.array=t,this.ownerID=e}function Kt(t,e){function n(t,e,n){return 0===e?r(t,n):o(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,o=n>i?0:i-n,c=a-n;return c>gn&&(c=gn),function(){if(o===c)return Jn;var t=e?--c:o++;return r&&r[t]}}function o(t,r,o){var s,u=t&&t.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>gn&&(l=gn),function(){for(;;){if(s){var t=s();if(t!==Jn)return t;s=null}if(c===l)return Jn;var i=e?--l:c++;s=n(u&&u[i],r-hn,o+(i<<r))}}}var i=t._origin,a=t._capacity,s=Qt(a),u=t._tail;return n(t._root,t._level,0)}function qt(t,e,n,r,o,i,a){var s=Object.create(Yn);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function Ht(){return Xn||(Xn=qt(0,0,hn))}function Vt(t,e,n){if(e=g(t,e),e!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=l(_n);return e>=Qt(t._capacity)?r=Wt(r,t.__ownerID,0,e,n,i):o=Wt(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):qt(t._origin,t._capacity,t._level,o,r):t}function Wt(t,e,n,r,o,i){var a=r>>>n&vn,s=t&&a<t.array.length;if(!s&&void 0===o)return t;var u;if(n>0){var c=t&&t.array[a],l=Wt(c,e,n-hn,r,o,i);return l===c?t:(u=Gt(t,e),u.array[a]=l,u)}return s&&t.array[a]===o?t:(p(i),u=Gt(t,e),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Gt(t,e){return e&&t&&e===t.ownerID?t:new jt(t?t.array.slice():[],e)}function Yt(t,e){if(e>=Qt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&vn],r-=hn;return n}}function Xt(t,e,n){void 0!==e&&(e=0|e),void 0!==n&&(n=0|n);var r=t.__ownerID||new f,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new jt(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Qt(i),d=Qt(s);d>=1<<u+hn;)c=new jt(c&&c.array.length?[c]:[],r),u+=hn;var h=t._tail,g=d<p?Yt(t,s-1):d>p?new jt([],r):h;if(h&&d>p&&a<i&&h.array.length){c=Gt(c,r);for(var v=c,y=u;y>hn;y-=hn){var m=p>>>y&vn;v=v.array[m]=Gt(v.array[m],r)}v.array[p>>>hn&vn]=h}if(s<i&&(g=g&&g.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=hn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>o||d<p){for(l=0;c;){var _=a>>>u&vn;if(_!==d>>>u&vn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<p&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):qt(a,s,u,c,g)}function Jt(t,e,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(t){return V(t)})),o.push(c)}return a>t.size&&(t=t.setSize(a)),At(t,e,o)}function Qt(t){return t<gn?0:t-1>>>hn<<hn}function $t(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return ft(t)&&c(t)}function te(t,e,n,r){var o=Object.create($t.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function ee(){return Qn||(Qn=te(xt(),Ht()))}function ne(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),u=void 0!==s;if(n===yn){if(!u)return t;a.size>=gn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&s!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):te(r,o)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Me,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return e(n,t,r)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===xn){var r=t.__iterator(e,n);return new w(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===wn?bn:wn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,yn);return i===yn?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return r(e.call(n,t,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(xn,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return x(r,s,e.call(n,a[1],s,t),o)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Me,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var o=Te(t);return r&&(o.has=function(r){var o=t.get(r,yn);return o!==yn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,yn);return i!==yn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,u){if(e.call(n,t,i,u))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(xn,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return x(o,r?c:s++,l,i)}})},o}function pe(t,e,n){var r=pt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function fe(t,e,n){var r=a(t),o=(c(t)?$t():pt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=De(t);return o.map(function(e){return Ce(t,i(e))})}function de(t,e,n,r){var o=t.size;if(void 0!==e&&(e=0|e),void 0!==n&&(n=n===1/0?o:0|n),y(e,n,o))return t;var i=m(e,o),a=_(n,o);if(i!==i||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&U(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+i,n):n}),c.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<i))return c++,e(t,r?n:c-1,o)!==!1&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return S();var t=o.next();return r||e===wn?t:e===bn?x(e,u-1,void 0,t):x(e,u-1,t.value[1],t)})},c}function he(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(xn,o),s=!0;return new w(function(){if(!s)return S();var t=a.next();if(t.done)return t;var o=t.value,u=o[0],c=o[1];return e.call(n,c,u,i)?r===xn?t:x(r,u,c,t):(s=!1,S())})},r}function ge(t,e,n,r){var o=Te(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return t.__iterate(function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return u++,o(t,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(xn,i),u=!0,c=0;return new w(function(){var t,i,l;do{if(t=s.next(),t.done)return r||o===wn?t:o===bn?x(o,c++,void 0,t):x(o,c++,t.value[1],t);var p=t.value;i=p[0],l=p[1],u&&(u=e.call(n,l,i,a))}while(u);return o===xn?t:x(o,i,l,t)})},o}function ve(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?B(t):F(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var u=o[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new A(o);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ye(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,o){function a(t,c){var l=this;t.__iterate(function(t,o){return(!e||c<e)&&i(t)?a(t,c+1):r(t,n?o:s++,l)===!1&&(u=!0),!u},o)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,o){var a=t.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var t=a.next();if(t.done===!1){var c=t.value;if(r===xn&&(c=c[1]),e&&!(s.length<e)||!i(c))return n?t:x(r,u++,c,t);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return S()})},r}function me(t,e,n){var r=De(t);return t.toSeq().map(function(o,i){return r(e.call(n,o,i,t))}).flatten(!0)}function _e(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate(function(t,r){return(!i||n(e,i++,o)!==!1)&&n(t,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(wn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?x(n,a++,e):x(n,a++,o.value,o)})},n}function be(t,e,n){e||(e=Oe);var r=a(t),o=0,i=t.toSeq().map(function(e,r){return[r,e,o++,n?n(e,r,t):e]}).toArray();return i.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?O(i):s(t)?I(i):R(i)}function we(t,e,n){if(e||(e=Oe),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return xe(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return xe(e,t,n)?n:t})}function xe(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Se(t,n,r){var o=Te(t);return o.size=new A(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(wn,e),o=0;!(n=r.next()).done&&t(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=e(t),k(o?t.reverse():t)}),a=0,s=!1;return new w(function(){var e;return s||(e=i.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?S():x(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ce(t,e){return U(t)?e:t.constructor(e)}function Ee(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function ke(t){return lt(t.size),h(t)}function De(t){return a(t)?n:s(t)?r:o}function Te(t){return Object.create((a(t)?O:s(t)?I:R).prototype)}function Me(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function Oe(t,e){return t>e?1:t<e?-1:0}function Ie(t){var n=k(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=k(e(t))}return n}function Re(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);Pe(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=pt(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Ae(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ne(t){return t._name||t.constructor.name||"Record"}function Pe(t,e){try{e.forEach(Le.bind(void 0,t))}catch(n){}}function Le(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){$(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Ue(t){return null===t||void 0===t?je():ze(t)&&!c(t)?t:je().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function ze(t){return!(!t||!t[Zn])}function Be(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Fe(t,e){var n=Object.create(tr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function je(){return er||(er=Fe(xt()))}function Ke(t){return null===t||void 0===t?Ve():qe(t)?t:Ve().withMutations(function(e){var n=o(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function qe(t){return ze(t)&&c(t)}function He(t,e){var n=Object.create(nr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ve(){return rr||(rr=He(ee()))}function We(t){return null===t||void 0===t?Xe():Ge(t)?t:Xe().unshiftAll(t)}function Ge(t){return!(!t||!t[or])}function Ye(t,e,n,r){var o=Object.create(ir);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xe(){return ar||(ar=Ye(0))}function Je(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Qe(t,e){return e}function $e(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):String(t)}function nn(){return d(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0,o=t.__iterate(n?e?function(t,e){r=31*r+sn(it(t),it(e))|0}:function(t,e){r=r+sn(it(t),it(e))|0}:e?function(t){r=31*r+it(t)|0}:function(t){r=r+it(t)|0});return an(o,r)}function an(t,e){return e=In(e,3432918353),e=In(e<<15|e>>>-15,461845907),e=In(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=In(e^e>>>16,2246822507),e=In(e^e>>>13,3266489909),e=ot(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn="delete",hn=5,gn=1<<hn,vn=gn-1,yn={},mn={value:!1},_n={value:!1},bn=0,wn=1,xn=2,Sn="function"==typeof Symbol&&Symbol.iterator,Cn="@@iterator",En=Sn||Cn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=bn,w.VALUES=wn,w.ENTRIES=xn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[En]=function(){return this},t(M,e),M.of=function(){return M(arguments)},M.prototype.toSeq=function(){return this},M.prototype.toString=function(){return this.__toString("Seq {","}")},M.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},M.prototype.__iterate=function(t,e){return q(this,t,e,!0)},M.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(O,M),O.prototype.toKeyedSeq=function(){return this},t(I,M),I.of=function(){return I(arguments)},I.prototype.toIndexedSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq [","]")},I.prototype.__iterate=function(t,e){return q(this,t,e,!1)},I.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(R,M),R.of=function(){return R(arguments)},R.prototype.toSetSeq=function(){return this},M.isSeq=U,M.Keyed=O,M.Set=R,M.Indexed=I;var kn="@@__IMMUTABLE_SEQ__@@";M.prototype[kn]=!0,t(A,I),A.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},A.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(t(n[e?r-o:o],o,this)===!1)return o+1;return o},A.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?S():x(t,o,n[e?r-o++:o++])})},t(N,O),N.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},N.prototype.has=function(t){return this._object.hasOwnProperty(t)},N.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(t(n[a],a,this)===!1)return i+1}return i},N.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[e?o-i:i];return i++>o?S():x(t,a,n[a])})},N.prototype[fn]=!0,t(P,I),P.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=k(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&t(i.value,o++,this)!==!1;);return o},P.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=k(n);if(!E(r))return new w(S);var o=0;return new w(function(){var e=r.next();return e.done?e:x(t,o++,e.value)})},t(L,I),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(t(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,t(a,o++,this)===!1)break}return o},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return x(t,o,r[o++])})};var Dn;t(Q,I),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){return this.has(t)?this._value:e},Q.prototype.includes=function(t){return X(this._value,t)},Q.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:new Q(this._value,_(e,n)-m(t,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(t){return X(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},Q.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(t(this._value,n,this)===!1)return n+1;return n},Q.prototype.__iterator=function(t,e){var n=this,r=0;return new w(function(){return r<n.size?x(t,r++,n._value):S()})},Q.prototype.equals=function(t){return t instanceof Q?X(this._value,t._value):J(t)};var Tn;t(Z,I),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return y(t,e,this.size)?this:(t=m(t,this.size),e=_(e,this.size),e<=t?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(t(o,i,this)===!1)return i+1;o+=e?-r:r}return i},Z.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new w(function(){var a=o;return o+=e?-r:r,i>n?S():x(t,i++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:J(this,t)};var Mn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var On,In="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t=0|t,e=0|e;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Rn=Object.isExtensible,An=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Nn="function"==typeof WeakMap;Nn&&(On=new WeakMap);var Pn=0,Ln="__immutablehash__";"function"==typeof Symbol&&(Ln=Symbol(Ln));var Un=16,zn=255,Bn=0,Fn={};t(pt,et),pt.of=function(){var t=un.call(arguments,0);return xt().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},pt.prototype.toString=function(){return this.__toString("Map {","}")},pt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},pt.prototype.set=function(t,e){return St(this,t,e)},pt.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},pt.prototype.remove=function(t){return St(this,t,yn)},pt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},pt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},pt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Nt(this,Ie(t),e,n);return r===yn?void 0:r},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xt()},pt.prototype.merge=function(){return Ot(this,void 0,arguments)},pt.prototype.mergeWith=function(t){var e=un.call(arguments,1);return Ot(this,t,e)},pt.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},pt.prototype.mergeDeep=function(){return Ot(this,It,arguments)},pt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Ot(this,Rt(t),e)},pt.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,xt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},pt.prototype.sort=function(t){return $t(be(this,t))},pt.prototype.sortBy=function(t,e){return $t(be(this,e,t))},pt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},pt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},pt.prototype.asImmutable=function(){return this.__ensureOwner()},pt.prototype.wasAltered=function(){return this.__altered},pt.prototype.__iterator=function(t,e){return new mt(this,t,e)},pt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},pt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},pt.isMap=ft;var jn="@@__IMMUTABLE_MAP__@@",Kn=pt.prototype;Kn[jn]=!0,Kn[dn]=Kn.remove,Kn.removeIn=Kn.deleteIn,dt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},dt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===yn,u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),!s||1!==u.length){if(!f&&!s&&u.length>=Hn)return Dt(t,u,r,o);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new dt(t,g)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=1<<((0===t?e:e>>>t)&vn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Pt(i&o-1)].get(t+hn,e,n,r)},ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&vn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===yn)return this;var p=Pt(c&u-1),f=this.nodes,d=l?f[p]:void 0,h=Ct(d,t,e+hn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=Vn)return Mt(t,f,c,s,h);if(l&&!h&&2===f.length&&Et(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Et(h))return h;var g=t&&t===this.ownerID,v=l?h?c:c^u:c|u,y=l?h?Lt(f,p,h,g):zt(f,p,g):Ut(f,p,h,g);return g?(this.bitmap=v,this.nodes=y,this):new ht(t,v,y)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=it(n));var o=(0===t?e:e>>>t)&vn,i=this.nodes[o];return i?i.get(t+hn,e,n,r):r},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=(0===e?n:n>>>e)&vn,u=o===yn,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Ct(l,t,e+hn,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&(f--,f<Wn))return Tt(t,c,f,s)}else f++;var d=t&&t===this.ownerID,h=Lt(c,s,p,d);return d?(this.count=f,this.nodes=h,this):new gt(t,f,h)},vt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},vt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=it(r));var s=o===yn;if(n!==this.keyHash)return s?this:(p(a),p(i),kt(this,t,e,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(p(a),(s||!f)&&p(i),s&&2===l)return new yt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,g=h?u:d(u);return f?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new vt(t,this.keyHash,g)},yt.prototype.get=function(t,e,n,r){return X(n,this.entry[0])?this.entry[1]:r},yt.prototype.update=function(t,e,n,r,o,i,a){var s=o===yn,u=X(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(p(a),s?void p(i):u?t&&t===this.ownerID?(this.entry[1]=o,this):new yt(t,this.keyHash,[r,o]):(p(i),kt(this,t,e,it(r),[r,o])))},dt.prototype.iterate=vt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(t(n[e?o-r:r])===!1)return!1},ht.prototype.iterate=gt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&i.iterate(t,e)===!1)return!1}},yt.prototype.iterate=function(t,e){return t(this.entry)},t(mt,w),mt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _t(t,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return _t(t,i.entry);e=this._stack=bt(i,e)}continue}e=this._stack=this._stack.__prev}return S()};var qn,Hn=gn/4,Vn=gn/2,Wn=gn/4;t(Bt,nt),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("List [","]")},Bt.prototype.get=function(t,e){if(t=g(this,t),t>=0&&t<this.size){t+=this._origin;var n=Yt(this,t);return n&&n.array[t&vn]}return e},Bt.prototype.set=function(t,e){return Vt(this,t,e)},Bt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Bt.prototype.insert=function(t,e){return this.splice(t,0,e)},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Bt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Xt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Bt.prototype.pop=function(){return Xt(this,0,-1)},Bt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Xt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Bt.prototype.shift=function(){
5
+ return Xt(this,1)},Bt.prototype.merge=function(){return Jt(this,void 0,arguments)},Bt.prototype.mergeWith=function(t){var e=un.call(arguments,1);return Jt(this,t,e)},Bt.prototype.mergeDeep=function(){return Jt(this,It,arguments)},Bt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Jt(this,Rt(t),e)},Bt.prototype.setSize=function(t){return Xt(this,0,t)},Bt.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:Xt(this,m(t,n),_(e,n))},Bt.prototype.__iterator=function(t,e){var n=0,r=Kt(this,e);return new w(function(){var e=r();return e===Jn?S():x(t,n++,e)})},Bt.prototype.__iterate=function(t,e){for(var n,r=0,o=Kt(this,e);(n=o())!==Jn&&t(n,r++,this)!==!1;);return r},Bt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Bt.isList=Ft;var Gn="@@__IMMUTABLE_LIST__@@",Yn=Bt.prototype;Yn[Gn]=!0,Yn[dn]=Yn.remove,Yn.setIn=Kn.setIn,Yn.deleteIn=Yn.removeIn=Kn.removeIn,Yn.update=Kn.update,Yn.updateIn=Kn.updateIn,Yn.mergeIn=Kn.mergeIn,Yn.mergeDeepIn=Kn.mergeDeepIn,Yn.withMutations=Kn.withMutations,Yn.asMutable=Kn.asMutable,Yn.asImmutable=Kn.asImmutable,Yn.wasAltered=Kn.wasAltered,jt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&vn;if(r>=this.array.length)return new jt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if(o=a&&a.removeBefore(t,e-hn,n),o===a&&i)return this}if(i&&!o)return this;var s=Gt(this,t);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},jt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&vn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if(o=i&&i.removeAfter(t,e-hn,n),o===i&&r===this.array.length-1)return this}var a=Gt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Xn,Jn={};t($t,pt),$t.of=function(){return this(arguments)},$t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$t.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},$t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},$t.prototype.set=function(t,e){return ne(this,t,e)},$t.prototype.remove=function(t){return ne(this,t,yn)},$t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$t.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},$t.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},$t.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},$t.isOrderedMap=Zt,$t.prototype[fn]=!0,$t.prototype[dn]=$t.prototype.remove;var Qn;t(re,O),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?ke(this):0,function(o){return t(o,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(wn,e),r=e?ke(this):0;return new w(function(){var o=n.next();return o.done?o:x(t,e?--r:r++,o.value,o)})},re.prototype[fn]=!0,t(oe,I),oe.prototype.includes=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e),r=0;return new w(function(){var e=n.next();return e.done?e:x(t,r++,e.value,e)})},t(ie,R),ie.prototype.has=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new w(function(){var e=n.next();return e.done?e:x(t,e.value,e.value,e)})},t(ae,O),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ee(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(wn,e);return new w(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ee(r);var o=i(r);return x(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},oe.prototype.cacheResult=re.prototype.cacheResult=ie.prototype.cacheResult=ae.prototype.cacheResult=Me,t(Re,et),Re.prototype.toString=function(){return this.__toString(Ne(this)+" {","}")},Re.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Re.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Re.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ae(this,xt()))},Re.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ne(this));if(this._map&&!this._map.has(t)){var n=this._defaultValues[t];if(e===n)return this}var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:Ae(this,r)},Re.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ae(this,e)},Re.prototype.wasAltered=function(){return this._map.wasAltered()},Re.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Re.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Re.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ae(this,e,t):(this.__ownerID=t,this._map=e,this)};var $n=Re.prototype;$n[dn]=$n.remove,$n.deleteIn=$n.removeIn=Kn.removeIn,$n.merge=Kn.merge,$n.mergeWith=Kn.mergeWith,$n.mergeIn=Kn.mergeIn,$n.mergeDeep=Kn.mergeDeep,$n.mergeDeepWith=Kn.mergeDeepWith,$n.mergeDeepIn=Kn.mergeDeepIn,$n.setIn=Kn.setIn,$n.update=Kn.update,$n.updateIn=Kn.updateIn,$n.withMutations=Kn.withMutations,$n.asMutable=Kn.asMutable,$n.asImmutable=Kn.asImmutable,t(Ue,rt),Ue.of=function(){return this(arguments)},Ue.fromKeys=function(t){return this(n(t).keySeq())},Ue.prototype.toString=function(){return this.__toString("Set {","}")},Ue.prototype.has=function(t){return this._map.has(t)},Ue.prototype.add=function(t){return Be(this,this._map.set(t,!0))},Ue.prototype.remove=function(t){return Be(this,this._map.remove(t))},Ue.prototype.clear=function(){return Be(this,this._map.clear())},Ue.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Ue.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Ue.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return o(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Ue.prototype.merge=function(){return this.union.apply(this,arguments)},Ue.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Ue.prototype.sort=function(t){return Ke(be(this,t))},Ue.prototype.sortBy=function(t,e){return Ke(be(this,e,t))},Ue.prototype.wasAltered=function(){return this._map.wasAltered()},Ue.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Ue.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Ue.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Ue.isSet=ze;var Zn="@@__IMMUTABLE_SET__@@",tr=Ue.prototype;tr[Zn]=!0,tr[dn]=tr.remove,tr.mergeDeep=tr.merge,tr.mergeDeepWith=tr.mergeWith,tr.withMutations=Kn.withMutations,tr.asMutable=Kn.asMutable,tr.asImmutable=Kn.asImmutable,tr.__empty=je,tr.__make=Fe;var er;t(Ke,Ue),Ke.of=function(){return this(arguments)},Ke.fromKeys=function(t){return this(n(t).keySeq())},Ke.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ke.isOrderedSet=qe;var nr=Ke.prototype;nr[fn]=!0,nr.__empty=Ve,nr.__make=He;var rr;t(We,nt),We.of=function(){return this(arguments)},We.prototype.toString=function(){return this.__toString("Stack [","]")},We.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},We.prototype.peek=function(){return this._head&&this._head.value},We.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Ye(t,e)},We.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ye(e,n)},We.prototype.pop=function(){return this.slice(1)},We.prototype.unshift=function(){return this.push.apply(this,arguments)},We.prototype.unshiftAll=function(t){return this.pushAll(t)},We.prototype.shift=function(){return this.pop.apply(this,arguments)},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xe()},We.prototype.slice=function(t,e){if(y(t,e,this.size))return this;var n=m(t,this.size),r=_(e,this.size);if(r!==this.size)return nt.prototype.slice.call(this,t,e);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ye(o,i)},We.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ye(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},We.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&t(r.value,n++,this)!==!1;)r=r.next;return n},We.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new w(function(){if(r){var e=r.value;return r=r.next,x(t,n++,e)}return S()})},We.isStack=Ge;var or="@@__IMMUTABLE_STACK__@@",ir=We.prototype;ir[or]=!0,ir.withMutations=Kn.withMutations,ir.asMutable=Kn.asMutable,ir.asImmutable=Kn.asImmutable,ir.wasAltered=Kn.wasAltered;var ar;e.Iterator=w,Je(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new oe(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,(!0))},toMap:function(){return pt(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return $t(this.toKeyedSeq())},toOrderedSet:function(){return Ke(a(this)?this.valueSeq():this)},toSet:function(){return Ue(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ie(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return We(a(this)?this.valueSeq():this)},toList:function(){return Bt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var t=un.call(arguments,0);return Ce(this,ve(this,t))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(xn)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Ce(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Ce(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,o;return arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ce(this,ce(this,!0))},slice:function(t,e){return Ce(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Ce(this,be(this,t))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return pe(this,t,e)},equals:function(t){return J(this,t)},entrySeq:function(){var t=this;if(t._cache)return new A(t._cache);var e=t.toSeq().map($e).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(v)},flatMap:function(t,e){return Ce(this,me(this,t,e))},flatten:function(t){return Ce(this,ye(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return X(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Ie(t);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,yn):yn,r===yn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return X(e,t)})},keySeq:function(){return this.toSeq().map(Qe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?tn(t):rn)},minBy:function(t,e){return we(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ce(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Ce(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ce(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ce(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=e.prototype;sr[cn]=!0,sr[En]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=en,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Je(n,{flip:function(){return Ce(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return Ce(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ce(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[En]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Je(r,{toKeyedSeq:function(){return new re(this,(!1))},filter:function(t,e){return Ce(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ce(this,ce(this,!1))},slice:function(t,e){return Ce(this,de(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=m(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ce(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ce(this,ye(this,t,!1))},get:function(t,e){return t=g(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return t=g(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t<this.size:this.indexOf(t)!==-1)},interpose:function(t){return Ce(this,_e(this,t))},interleave:function(){var t=[this].concat(d(arguments)),e=Se(this.toSeq(),I.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ce(this,n)},keySeq:function(){return Z(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ce(this,ge(this,t,e,!1))},zip:function(){var t=[this].concat(d(arguments));return Ce(this,Se(this,nn,t))},zipWith:function(t){var e=d(arguments);return e[0]=this,Ce(this,Se(this,t,e))}}),r.prototype[pn]=!0,r.prototype[fn]=!0,Je(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=sr.includes,o.prototype.contains=o.prototype.includes,Je(O,n.prototype),Je(I,r.prototype),Je(R,o.prototype),Je(et,n.prototype),Je(nt,r.prototype),Je(rt,o.prototype);var cr={Iterable:e,Seq:M,Collection:tt,Map:pt,OrderedMap:$t,List:Bt,Stack:We,Set:Ue,OrderedSet:Ke,Record:Re,Range:Z,Repeat:Q,is:X,fromJS:V};return cr})},function(t,e,n){"use strict";function r(t){if(v){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)y(e,n[r],null);else null!=t.html?p(e,t.html):null!=t.text&&d(e,t.text)}}function o(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function i(t,e){v?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){v?t.html=e:p(t.node,e)}function s(t,e){v?t.text=e:d(t.node,e)}function u(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:u}}var l=n(80),p=n(63),f=n(95),d=n(174),h=1,g=11,v="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),y=f(function(t,e,n){e.node.nodeType===g||e.node.nodeType===h&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=y,c.replaceChildWithTree=o,c.queueChild=i,c.queueHTML=a,c.queueText=s,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var o=n(2),i=(n(1),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=i,n=t.Properties||{},a=t.DOMAttributeNamespaces||{},u=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&s._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)?o("48",p):void 0;var f=p.toLowerCase(),d=n[p],h={attributeName:f,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(d,e.MUST_USE_PROPERTY),hasBooleanValue:r(d,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(d,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(d,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(d,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",p),u.hasOwnProperty(p)){var g=u[p];h.attributeName=g}a.hasOwnProperty(p)&&(h.attributeNamespace=a[p]),c.hasOwnProperty(p)&&(h.propertyName=c[p]),l.hasOwnProperty(p)&&(h.mutationMethod=l[p]),s.properties[p]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<s._isCustomAttributeFunctions.length;e++){var n=s._isCustomAttributeFunctions[e];if(n(t))return!0}return!1},injection:i};t.exports=s},function(t,e,n){"use strict";var r=n(5),o=r.OrderedMap,i={createFromArray:function(t){return o(t.map(function(t){return[t.getKey(),t]}))}};t.exports=i},function(t,e,n){"use strict";function r(t,e,n){var r=t.getSelection(),i=t.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return i}else if(t.isSelectionAtStartOfContent())return i;if(a=e(t),a===r)return i}return o.removeRange(i,a,n)}var o=n(10);t.exports=r},function(t,e){"use strict";function n(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}function r(t){return t.replace(/\//g,"-")}t.exports=n},function(t,e,n){"use strict";var r=n(2),o=n(81),i=n(82),a=n(88),s=n(167),u=n(169),c=(n(1),{}),l=null,p=function(t,e){t&&(i.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},f=function(t){return p(t,!0)},d=function(t){return p(t,!1)},h=function(t){return"."+t._rootNodeID},g={injection:{injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n?r("94",e,typeof n):void 0;var i=h(t),a=c[e]||(c[e]={});a[i]=n;var s=o.registrationNameModules[e];s&&s.didPutListener&&s.didPutListener(t,e,n)},getListener:function(t,e){var n=c[e],r=h(t);return n&&n[r]},deleteListener:function(t,e){var n=o.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=c[e];if(r){var i=h(t);delete r[i]}},deleteAllListeners:function(t){var e=h(t);for(var n in c)if(c.hasOwnProperty(n)&&c[n][e]){var r=o.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete c[n][e]}},extractEvents:function(t,e,n,r){for(var i,a=o.plugins,u=0;u<a.length;u++){var c=a[u];if(c){var l=c.extractEvents(t,e,n,r);l&&(i=s(i,l))}}return i},enqueueEvents:function(t){t&&(l=s(l,t))},processEventQueue:function(t){var e=l;l=null,t?u(e,f):u(e,d),l?r("95"):void 0,a.rethrowCaughtError()},__purge:function(){c={}},__getListenerBank:function(){return c}};t.exports=g},function(t,e,n){"use strict";function r(t,e,n){var r=e.dispatchConfig.phasedRegistrationNames[n];return _(t,r)}function o(t,e,n){var o=e?m.bubbled:m.captured,i=r(t,n,o);i&&(n._dispatchListeners=v(n._dispatchListeners,i),n._dispatchInstances=v(n._dispatchInstances,t))}function i(t){t&&t.dispatchConfig.phasedRegistrationNames&&g.traverseTwoPhase(t._targetInst,o,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?g.getParentInstance(e):null;g.traverseTwoPhase(n,o,t)}}function s(t,e,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=_(t,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,t))}}function u(t){t&&t.dispatchConfig.registrationName&&s(t._targetInst,null,t)}function c(t){y(t,i)}function l(t){y(t,a)}function p(t,e,n,r){g.traverseEnterLeave(n,r,s,t,e)}function f(t){y(t,u)}var d=n(23),h=n(42),g=n(82),v=n(167),y=n(169),m=(n(3),d.PropagationPhases),_=h.getListener,b={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:p};t.exports=b},function(t,e){"use strict";var n={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i=n(98),a={view:function(t){if(t.view)return t.view;var e=i(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";var r=n(2),o=(n(1),{reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,o,i,a,s,u){this.isInTransaction()?r("27"):void 0;var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,o,i,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(p){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var r=e[n];try{this.wrapperInitData[n]=i.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(t){this.isInTransaction()?void 0:r("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var o,a=e[n],s=this.wrapperInitData[n];try{o=!0,s!==i.OBSERVED_ERROR&&a.close&&a.close.call(this,s),o=!1}finally{if(o)try{this.closeAll(n+1)}catch(u){}}}this.wrapperInitData.length=0}}),i={Mixin:o,OBSERVED_ERROR:{}};t.exports=i},function(t,e,n){t.exports=n(175)},,function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset}},function(t,e){"use strict";var n="-",r={encode:function(t,e,r){return t+n+e+n+r},decode:function(t){var e=t.split(n),r=e[0],o=e[1],i=e[2];return{blockKey:r,decoratorKey:parseInt(o,10),leafKey:parseInt(i,10)}}};t.exports=r},function(t,e){"use strict";function n(t,e,n,r){if(t.size){var o=0;t.reduce(function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i}),n(t.last())&&r(o,t.count())}}t.exports=n},function(t,e,n){"use strict";function r(t,e){var n=e.getStartKey(),r=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e),c=u.getBlockMap(),l=c.keySeq(),p=l.indexOf(n),f=l.indexOf(a)+1,d=c.slice(p,f).map(function(t,e){var i=o(),u=t.getText(),c=t.getCharacterList();return n===a?t.merge({key:i,text:u.slice(r,s),characterList:c.slice(r,s)}):e===n?t.merge({key:i,text:u.slice(r),characterList:c.slice(r)}):e===a?t.merge({key:i,text:u.slice(0,s),characterList:c.slice(0,s)}):t.set("key",i)});return d.toOrderedMap()}var o=n(20),i=n(133);t.exports=r},function(t,e){"use strict";function n(t){return"handled"===t||t===!0}t.exports=n},function(t,e){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(t,e){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=n},function(t,e,n){"use strict";var r=n(1),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):v=-1,h.length&&s())}function s(){if(!g){var t=o(a);g=!0;for(var e=h.length;e;){for(d=h,h=[];++v<e;)d&&d[v].run();v=-1,e=h.length}d=null,g=!1,i(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,p,f=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var d,h=[],g=!1,v=-1;f.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];h.push(new u(t,e)),1!==h.length||g||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=c,f.addListener=c,f.once=c,f.off=c,f.removeListener=c,f.removeAllListeners=c,f.emit=c,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getHostProps:function(t,e){if(!e.disabled)return e;var r={};for(var o in e)!n[o]&&e.hasOwnProperty(o)&&(r[o]=e[o]);return r}};t.exports=r},function(t,e,n){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,v)||(t[v]=h++,f[t[v]]={}),f[t[v]]}var o,i=n(7),a=n(23),s=n(81),u=n(335),c=n(166),l=n(366),p=n(100),f={},d=!1,h=0,g={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",
6
+ topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),y=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=t}},setEnabled:function(t){y.ReactEventListener&&y.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,o=r(n),i=s.registrationNameDependencies[t],u=a.topLevelTypes,c=0;c<i.length;c++){var l=i[c];o.hasOwnProperty(l)&&o[l]||(l===u.topWheel?p("wheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):p("mousewheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):l===u.topScroll?p("scroll",!0)?y.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):l===u.topFocus||l===u.topBlur?(p("focus",!0)?(y.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):p("focusin")&&(y.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),o[u.topBlur]=!0,o[u.topFocus]=!0):g.hasOwnProperty(l)&&y.ReactEventListener.trapBubbledEvent(l,g[l],n),o[l]=!0)}},trapBubbledEvent:function(t,e,n){return y.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return y.ReactEventListener.trapCapturedEvent(t,e,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=y.supportsEventPageXY()),!o&&!d){var t=c.refreshScrollValues;y.ReactEventListener.monitorScrollValue(t),d=!0}}});t.exports=y},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(166),a=n(97),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+i.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+i.currentScrollTop}};o.augmentClass(r,s),t.exports=r},function(t,e){"use strict";function n(t){var e=""+t,n=o.exec(e);if(!n)return e;var r,i="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(i+=e.substring(s,a)),s=a+1,i+=r}return s!==a?i+e.substring(s,a):i}function r(t){return"boolean"==typeof t||"number"==typeof t?""+t:n(t)}var o=/["'&<>]/;t.exports=r},function(t,e,n){"use strict";var r,o=n(11),i=n(80),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(95),c=u(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+e+"</svg>";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&s.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=l["default"].renderToStaticMarkup(u["default"].cloneElement(t,{},"\r")).split("\r");return(0,a["default"])(e.length>1,"convertToHTML: Element of type "+t.type+" must render children"),(0,a["default"])(e.length<3,"convertToHTML: Element of type "+t.type+" cannot use carriage return character"),{start:e[0],end:e[1]}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var i=n(32),a=r(i),s=n(6),u=r(s),c=n(78),l=r(c)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(39),s=n(17),u=n(29),c=n(5),l=n(34),p=n(20),f=n(72),d=c.List,h=c.Record,g=c.Repeat,v={blockMap:null,selectionBefore:null,selectionAfter:null},y=h(v),m=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.getBlockMap=function(){return this.get("blockMap")},e.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},e.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},e.prototype.getBlockForKey=function(t){var e=this.getBlockMap().get(t);return e},e.prototype.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},e.prototype.getFirstBlock=function(){return this.getBlockMap().first()},e.prototype.getLastBlock=function(){return this.getBlockMap().last()},e.prototype.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},e.prototype.hasText=function(){var t=this.getBlockMap();return t.size>1||t.first().getLength()>0},e.createFromBlockArray=function(t){var n=a.createFromArray(t),r=l.createEmpty(n.first().getKey());return new e({blockMap:n,selectionBefore:r,selectionAfter:r})},e.createFromText=function(t){var n=arguments.length<=1||void 0===arguments[1]?/\r\n?|\n/g:arguments[1],r=t.split(n),o=r.map(function(t){return t=f(t),new u({key:p(),text:t,type:"unstyled",characterList:d(g(s.EMPTY,t.length))})});return e.createFromBlockArray(o)},e}(y);t.exports=m},function(t,e,n){"use strict";var r=n(5),o=r.Map,i=n(6),a=n(41),s=i.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),u=i.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),c=i.createElement("pre",{className:a("public/DraftStyleDefault/pre")});t.exports=o({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:s},"ordered-list-item":{element:"li",wrapper:u},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c},unstyled:{element:"div"}})},function(t,e,n){"use strict";var r=n(21),o=r.isPlatform("Mac OS X"),i={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:i.isCtrlKeyCommand(t)}};t.exports=i},function(t,e,n){"use strict";function r(t){for(var e=t;e&&e!==document.documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}var o=n(127);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1),o(n)):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),o(n)}function o(t){if(t){var e=i.get(t);return"MUTABLE"===e.getMutability()?t:null}return null}var i=n(22);t.exports=r},function(t,e){"use strict";function n(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var u=r.getKeyBefore(o);if(null==u)a=o;else{a=u;var c=r.getBlockForKey(u);s=c.getText().length}}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}t.exports=n},function(t,e){"use strict";function n(t){return t.replace(r,"")}var r=new RegExp("\r","g");t.exports=n},function(t,e,n){"use strict";function r(t,e){var n=i.get(t,e);return"auto"===n||"scroll"===n}var o=n(295),i={get:o,getScrollParent:function(t){if(!t)return null;for(;t&&t!==document.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return window}};t.exports=i},function(t,e,n){"use strict";function r(t){return t===p||t===f}function o(t){return r(t)?void 0:c(!1),t===p?"ltr":"rtl"}function i(t,e){return r(t)?void 0:c(!1),r(e)?void 0:c(!1),t===e?null:o(t)}function a(t){d=t}function s(){a(p)}function u(){return d||this.initGlobalDir(),d?void 0:c(!1),d}var c=n(1),l="NEUTRAL",p="LTR",f="RTL",d=null,h={NEUTRAL:l,LTR:p,RTL:f,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:s,getGlobalDir:u};t.exports=h},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(299);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o();t===window&&(t=e);var n=i(t),r=t===e?document.documentElement:t,a=t.scrollWidth-r.clientWidth,s=t.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var o=n(291),i=n(141);t.exports=r},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function r(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),i=Object.keys(e);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(e,r[a])||!n(t[r[a]],e[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";t.exports=n(331)},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function o(t,e,n){l.insertTreeBefore(t,e,n)}function i(t,e,n){Array.isArray(e)?s(t,e[0],e[1],n):v(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],u(t,e,n),t.removeChild(n)}t.removeChild(e)}function s(t,e,n,r){for(var o=e;;){var i=o.nextSibling;if(v(t,o,r),o===n)break;o=i}}function u(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,o=t.nextSibling;o===e?n&&v(r,document.createTextNode(n),o):n?(g(o,n),u(r,o,e)):u(r,t,e)}var l=n(37),p=n(312),f=n(162),d=(n(8),n(16),n(95)),h=n(63),g=n(174),v=d(function(t,e,n){t.insertBefore(e,n)}),y=p.dangerouslyReplaceNodeWithMarkup,m={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var s=e[n];switch(s.type){case f.INSERT_MARKUP:o(t,s.content,r(t,s.afterNode));break;case f.MOVE_EXISTING:i(t,s.fromNode,r(t,s.afterNode));break;case f.SET_MARKUP:h(t,s.content);break;case f.TEXT_CONTENT:g(t,s.content);break;case f.REMOVE_NODE:a(t,s.fromNode)}}}};t.exports=m},function(t,e){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=n},function(t,e,n){"use strict";function r(){if(s)for(var t in u){var e=u[t],n=s.indexOf(t);if(n>-1?void 0:a("96",t),!c.plugins[n]){e.extractEvents?void 0:a("97",t),c.plugins[n]=e;var r=e.eventTypes;for(var i in r)o(r[i],e,i)?void 0:a("98",i,t)}}}function o(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){c.registrationNameModules[t]?a("100",t):void 0,c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(2),s=(n(1),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){s?a("101"):void 0,s=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[e.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=c},function(t,e,n){"use strict";function r(t){return t===m.topMouseUp||t===m.topTouchEnd||t===m.topTouchCancel}function o(t){return t===m.topMouseMove||t===m.topTouchMove}function i(t){return t===m.topMouseDown||t===m.topTouchStart}function a(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=_.getNodeFromInstance(r),e?v.invokeGuardedCallbackWithCatch(o,n,t):v.invokeGuardedCallback(o,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!t.isPropagationStopped();o++)a(t,e,n[o],r[o]);else n&&a(t,e,n,r);t._dispatchListeners=null,t._dispatchInstances=null}function u(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var r=0;r<e.length&&!t.isPropagationStopped();r++)if(e[r](t,n[r]))return n[r]}else if(e&&e(t,n))return n;return null}function c(t){var e=u(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)?h("103"):void 0,t.currentTarget=e?_.getNodeFromInstance(n):null;var r=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,r}function p(t){return!!t._dispatchListeners}var f,d,h=n(2),g=n(23),v=n(88),y=(n(1),n(3),{injectComponentTree:function(t){f=t},injectTreeTraversal:function(t){d=t}}),m=g.topLevelTypes,_={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:p,getInstanceFromNode:function(t){return f.getInstanceFromNode(t)},getNodeFromInstance:function(t){return f.getNodeFromInstance(t)},isAncestor:function(t,e){return d.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return d.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return d.getParentInstance(t)},traverseTwoPhase:function(t,e,n){return d.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,r,o){return d.traverseEnterLeave(t,e,n,r,o)},injection:y};t.exports=_},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+t).replace(e,function(t){return n[t]});return"$"+r}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+r).replace(e,function(t){return n[t]})}var o={escape:n,unescape:r};t.exports=o},function(t,e,n){"use strict";function r(t){null!=t.checkedLink&&null!=t.valueLink?s("87"):void 0}function o(t){r(t),null!=t.value||null!=t.onChange?s("88"):void 0}function i(t){r(t),null!=t.checked||null!=t.onChange?s("89"):void 0}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var s=n(2),u=n(164),c=n(91),l=n(92),p=(n(1),n(3),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),f={value:function(t,e,n){return!t[e]||p[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.func},d={},h={checkPropTypes:function(t,e,n){for(var r in f){if(f.hasOwnProperty(r))var o=f[r](e,r,t,c.prop,null,l);o instanceof Error&&!(o.message in d)&&(d[o.message]=!0,a(n))}},getValue:function(t){return t.valueLink?(o(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(i(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(o(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(i(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=h},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(2),i=n(89),a=(n(168),n(35));n(1),n(3),r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?o("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")},t.exports=r},function(t,e,n){"use strict";var r=n(2),o=(n(1),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){o?r("104"):void 0,i.replaceNodeWithMarkup=t.replaceNodeWithMarkup,i.processChildrenUpdates=t.processChildrenUpdates,o=!0}}};t.exports=i},function(t,e,n){"use strict";function r(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=e.call(t);return r.test(o)}catch(i){return!1}}function o(t){return"."+t}function i(t){return parseInt(t.substr(1),10)}function a(t){if(S)return y.get(t);var e=o(t);return _[e]}function s(t){if(S)y["delete"](t);else{var e=o(t);delete _[e]}}function u(t,e,n){var r={element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};if(S)y.set(t,r);else{var i=o(t);_[i]=r}}function c(t){if(S)m.add(t);else{var e=o(t);b[e]=!0}}function l(t){if(S)m["delete"](t);else{var e=o(t);delete b[e]}}function p(){return S?Array.from(y.keys()):Object.keys(_).map(i)}function f(){return S?Array.from(m.keys()):Object.keys(b).map(i)}function d(t){var e=a(t);if(e){var n=e.childIDs;s(t),n.forEach(d)}}function h(t,e,n){return"\n in "+t+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function g(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function v(t){var e,n=E.getDisplayName(t),r=E.getElement(t),o=E.getOwnerID(t);return o&&(e=E.getDisplayName(o)),h(n,r&&r._source,e)}var y,m,_,b,w=n(2),x=n(28),S=(n(1),n(3),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));S?(y=new Map,m=new Set):(_={},b={});var C=[],E={onSetChildren:function(t,e){var n=a(t);n.childIDs=e;for(var r=0;r<e.length;r++){var o=e[r],i=a(o);i?void 0:w("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?w("141"):void 0,i.isMounted?void 0:w("71"),null==i.parentID&&(i.parentID=t),i.parentID!==t?w("142",o,i.parentID,t):void 0}},onBeforeMountComponent:function(t,e,n){u(t,e,n)},onBeforeUpdateComponent:function(t,e){var n=a(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=a(t);e.isMounted=!0;var n=0===e.parentID;n&&c(t)},onUpdateComponent:function(t){var e=a(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=a(t);if(e){e.isMounted=!1;var n=0===e.parentID;n&&l(t)}C.push(t)},purgeUnmountedComponents:function(){if(!E._preventPurging){for(var t=0;t<C.length;t++){var e=C[t];d(e)}C.length=0}},isMounted:function(t){var e=a(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=t.type,r="function"==typeof n?n.displayName||n.name:n,o=t._owner;e+=h(r||"Unknown",t._source,o&&o.getName())}var i=x.current,a=i&&i._debugID;return e+=E.getStackAddendumByID(a)},getStackAddendumByID:function(t){for(var e="";t;)e+=v(t),t=E.getParentID(t);return e},getChildIDs:function(t){var e=a(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=E.getElement(t);return e?g(e):null},getElement:function(t){var e=a(t);return e?e.element:null},getOwnerID:function(t){var e=E.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=a(t);return e?e.parentID:null},getSource:function(t){var e=a(t),n=e?e.element:null,r=null!=n?n._source:null;return r},getText:function(t){var e=E.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=a(t);return e?e.updateCount:0},getRegisteredIDs:p,getRootIDs:f};t.exports=E},function(t,e,n){"use strict";function r(t,e,n,r){try{return e(n,r)}catch(i){return void(null===o&&(o=i))}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var t=o;throw o=null,t}}};t.exports=i},function(t,e,n){"use strict";function r(t,e){}var o=(n(3),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=o},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=n(57),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function r(t){u.enqueueUpdate(t)}function o(t){var e=typeof t;if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,r=Object.keys(t);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(t,e){var n=s.get(t);return n?n:null}var a=n(2),s=(n(28),n(44)),u=(n(16),n(19)),c=(n(1),n(3),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var o=i(t);return o?(o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],void r(o)):null},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e){var n=i(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t?a("122",e,o(t)):void 0}});t.exports=c},function(t,e){"use strict";t.exports="15.3.2"},function(t,e){"use strict";var n=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=n},function(t,e){"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}t.exports=n},function(t,e){"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=o[t];return!!r&&!!n[r]}function r(t){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},function(t,e){"use strict";function n(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=n},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&"undefined"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,e){var n;if(null===t||t===!1)n=c.create(i);else if("object"==typeof t){var s=t;!s||"function"!=typeof s.type&&"string"!=typeof s.type?a("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=l.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(2),s=n(7),u=n(320),c=n(156),l=n(158),p=(n(1),n(3),function(t){this.construct(t)});s(p.prototype,u.Mixin,{_instantiateReactComponent:i}),t.exports=i},function(t,e,n){"use strict";/**
7
+ * Checks if an event is supported in the current execution environment.
8
+ *
9
+ * NOTE: This will not work correctly for non-generic events such as `change`,
10
+ * `reset`, `load`, `error`, and `select`.
11
+ *
12
+ * Borrows from Modernizr.
13
+ *
14
+ * @param {string} eventNameSuffix Event name, e.g. "click".
15
+ * @param {?boolean} capture Check if the capture phase is supported.
16
+ * @return {boolean} True if the event is supported.
17
+ * @internal
18
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
19
+ */
20
+ function r(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(11);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,e){"use strict";function n(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var o=typeof t,i=typeof e;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&t.type===e.type&&t.key===e.key}t.exports=n},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var f=typeof t;if("undefined"!==f&&"boolean"!==f||(t=null),null===t||"string"===f||"number"===f||s.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,g=0,v=""===e?l:e+p;if(Array.isArray(t))for(var y=0;y<t.length;y++)d=t[y],h=v+r(d,y),g+=o(d,h,n,i);else{var m=u(t);if(m){var _,b=m.call(t);if(m!==t.entries)for(var w=0;!(_=b.next()).done;)d=_.value,h=v+r(d,w++),g+=o(d,h,n,i);else for(;!(_=b.next()).done;){var x=_.value;x&&(d=x[1],h=v+c.escape(x[0])+p+r(d,0),g+=o(d,h,n,i))}}else if("object"===f){var S="",C=String(t);a("31","[object Object]"===C?"object with keys {"+Object.keys(t).join(", ")+"}":C,S)}}return g}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(2),s=(n(28),n(18)),u=n(171),c=(n(1),n(83)),l=(n(3),"."),p=":";t.exports=i},function(t,e,n){"use strict";var r=(n(7),n(12)),o=(n(3),r);t.exports=o},function(t,e,n){"use strict";var r=n(14),o=n(181),i=n(184),a=n(190),s=n(188),u=n(107),c="undefined"!=typeof window&&window.btoa||n(183);t.exports=function(t){return new Promise(function(e,l){var p=t.data,f=t.headers;r.isFormData(p)&&delete f["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",g=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var v=t.auth.username||"",y=t.auth.password||"";f.Authorization="Basic "+c(v+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||g)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,l,i),d=null}},d.onerror=function(){l(u("Network Error",t)),d=null},d.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},r.isStandardBrowserEnv()){var m=n(186),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}if("setRequestHeader"in d&&r.forEach(f,function(t,e){"undefined"==typeof p&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(b){if("json"!==d.responseType)throw b}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),l(t),d=null)}),void 0===p&&(p=null),d.send(p)})}},function(t,e){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(180);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e,n){(function(e){"use strict";function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function o(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(104):"undefined"!=typeof e&&(t=n(104)),t}var i=n(14),a=n(189),s=/^\)\]\}',?\n/,u={"Content-Type":"application/x-www-form-urlencoded"};t.exports={adapter:o(),transformRequest:[function(t,e){return a(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(s,"");try{t=JSON.parse(t)}catch(e){}}return t}],headers:{common:{Accept:"application/json, text/plain, */*"},patch:i.merge(u),post:i.merge(u),put:i.merge(u)},timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}}}).call(e,n(58))},function(t,e){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t,e){return function(){var n=t.apply(void 0,arguments);return void 0!==n&&null!==n?n:e.apply(void 0,arguments)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return c["default"].isValidElement(t)&&c["default"].Children.count(t.props.children)>0}function i(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(void 0===t||null===t)return t;if("string"==typeof t)return t;if(c["default"].isValidElement(t)){if(o(t))return p["default"].renderToStaticMarkup(t);var n=(0,d["default"])(t);if(null!==e){var r=n.start,i=n.end;return r+e+i}return n}if((0,s["default"])(t.hasOwnProperty("start")&&t.hasOwnProperty("end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e){var a=t.start,u=t.end;return a+e+u}return t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=i;var a=n(32),s=r(a),u=n(6),c=r(u),l=n(78),p=r(l),f=n(65),d=r(f)},function(t,e){"use strict";function n(t){var e=void 0;if("undefined"!=typeof DOMParser){var n=new DOMParser;e=n.parseFromString(t,"text/html"),null!==e&&null!==e.body||(e=r(t))}else e=r(t);return e.body}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n;var r=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e}},function(t,e){"use strict";function n(t,e,n,r){var o=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+o}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+o}):t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},function(t,e,n){"use strict";function r(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return s(r,o,p,function(t,r){n.push(new h({start:t+e,end:r+e}))}),u(n)}function o(t,e){return t===e}var i=n(5),a=n(12),s=n(52),u=i.List,c=i.Repeat,l=i.Record,p=a.thatReturnsTrue,f="-",d={start:null,end:null},h=l(d),g={start:null,end:null,decoratorKey:null,leaves:null},v=l(g),y={generate:function(t,e){var n=t.getLength();if(!n)return u.of(new v({start:0,end:0,decoratorKey:null,leaves:u.of(new h({start:0,end:0}))}));var i=[],a=e?e.getDecorations(t):u(c(null,n)),l=t.getCharacterList();return s(a,o,p,function(t,e){i.push(new v({start:t,end:e,decoratorKey:a.get(t),leaves:r(l.slice(t,e).toList(),t)}))}),u(i)},getFingerprint:function(t){return t.map(function(t){var e=t.get("decoratorKey"),n=null!==e?e+"."+(t.get("end")-t.get("start")):"";return""+n+"."+t.get("leaves").size}).join(f)}};t.exports=y},function(t,e){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}var s=n(30),u=s||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c=(n(29),n(226)),l=n(51),p=n(6),f=n(13),d=n(136),h=(n(34),n(73)),g=n(137),v=n(74),y=n(41),m=n(292),_=n(76),b=n(296),w=n(15),x=10,S=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||a(t.selection,t.block.getKey())&&t.forceSelection},e.prototype.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n,r=f.findDOMNode(this),o=h.getScrollParent(r),i=_(o);if(o===window){var a=m(r),s=a.y+a.height,u=b().height;n=s-u,n>0&&window.scrollTo(i.x,i.y+n+x)}else{var c=r.offsetHeight+r.offsetTop,l=o.offsetHeight+i.y;n=c-l,n>0&&d.setTop(o,d.getTop(o)+n+x)}}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,s){var f=a.get("leaves"),d=f.size-1,h=f.map(function(a,u){var f=l.encode(n,s,u),h=a.get("start"),g=a.get("end");return p.createElement(c,{key:f,offsetKey:f,blockKey:n,start:h,selection:i?t.props.selection:void 0,forceSelection:t.props.forceSelection,text:r.slice(h,g),styleSet:e.getInlineStyleAt(h),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:s===o&&u===d})}).toArray(),y=a.get("decoratorKey");if(null==y)return h;if(!t.props.decorator)return h;var m=w(t.props.decorator),_=m.getComponentForKey(y);if(!_)return h;var b=m.getPropsForKey(y),x=l.encode(n,s,0),S=r.slice(f.first().get("start"),f.last().get("end")),C=v.getHTMLDirIfDifferent(g.getDirection(S),t.props.direction);return p.createElement(_,u({},b,{decoratedText:S,dir:C,key:x,entityKey:e.getEntityAt(a.get("start")),offsetKey:x}),h)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return p.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(p.Component);t.exports=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(5),s=a.Record,u=s({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),c=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.getType=function(){return this.get("type")},e.prototype.getMutability=function(){return this.get("mutability")},e.prototype.getData=function(){return this.get("data")},e}(u);t.exports=c},function(t,e,n){"use strict";var r=(n(17),n(29)),o=n(5),i=n(121),a=n(20),s=n(126),u=n(72),c=o.List,l=o.Repeat,p={processHTML:function(t,e){return i(t,s,e)},processText:function(t,e){return t.map(function(t){return t=u(t),new r({key:a(),type:"unstyled",text:t,characterList:c(l(e,t.length))})})}};t.exports=p},function(t,e,n){"use strict";function r(t,e){var n=e?p.exec(t):c.exec(t);return n?n[0]:t}var o=n(284),i=o.getPunctuation(),a="['‘’]",s="\\s|(?![_])"+i,u="^(?:"+s+")*(?:"+a+"|(?!"+s+").)*(?:(?!"+s+").)",c=new RegExp(u),l="(?:(?!"+s+").)(?:"+a+"|(?!"+s+").)*(?:"+s+")*$",p=new RegExp(l),f={getBackward:function(t){return r(t,!0)},getForward:function(t){return r(t,!1)}};t.exports=f},function(t,e){"use strict";var n={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=n},function(t,e,n){"use strict";function r(){return{text:"",inlines:[],entities:[],blocks:[]}}function o(t){var e=new Array(1);return t&&(e[0]=t),{text:A,inlines:[I()],entities:e,blocks:[]}}function i(){return{text:"\n",inlines:[I()],entities:new Array(1),blocks:[]}}function a(t,e){return{text:"\r",inlines:[I()],entities:new Array(1),blocks:[{type:t,depth:Math.max(0,Math.min(N,e))}]}}function s(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null}function u(t){var e=t.get("unstyled").element;return t.map(function(t){return t.element}).valueSeq().toSet().filter(function(t){return t&&t!==e}).toArray().sort()}function c(t,e,n){for(var r=0;r<n.length;r++){var o=n[r](t,e);if(o)return o}return null}function l(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return c(t,e,[s])||"unstyled"}}function p(t,e,n){var r=K[t];return r?n=n.add(r).toOrderedSet():e instanceof HTMLElement&&!function(){var t=e;n=n.withMutations(function(e){var n=t.style.fontWeight,r=t.style.fontStyle,o=t.style.textDecoration;F.indexOf(n)>=0?e.add("BOLD"):j.indexOf(n)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}(),n}function f(t,e){var n=t.text.slice(-1),r=e.text.slice(0,1);if("\r"===n&&"\r"===r&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===n){if(e.text===A||"\n"===e.text)return t;r!==A&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}}function d(t,e){return e.some(function(e){return t.indexOf("<"+e)!==-1})}function h(t){t instanceof HTMLAnchorElement?void 0:D(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e}function g(t,e,n,s,u,c,d,v){var y=t.nodeName.toLowerCase(),_=!1,b="unstyled",w=m;if("#text"===y){var S=t.textContent;return""===S.trim()&&"pre"!==s?o(v):("pre"!==s&&(S=S.replace(L,A)),m=y,{text:S,inlines:Array(S.length).fill(e),entities:Array(S.length).fill(v),blocks:[]})}if(m=y,"br"===y)return"br"!==w||s&&"unstyled"!==l(s,n,d)?i():a("unstyled",c);var E=r(),k=null;e=p(y,t,e),"ul"!==y&&"ol"!==y||(n&&(c+=1),n=y),s||u.indexOf(y)===-1?n&&"li"===s&&"li"===y&&(E=a(l(y,n,d),c),s=y,_=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"):(E=a(l(y,n,d),c),s=y,_=!0);var D=t.firstChild;null!=D&&(y=D.nodeName.toLowerCase());for(var T=null;D;){D instanceof HTMLAnchorElement&&D.href&&h(D)?!function(){var t=D,e={};q.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new C(t.href).toString(),T=x.create("LINK","MUTABLE",e)}():T=void 0,k=g(D,e,n,s,u,c,d,T||v),E=f(E,k);var M=D.nextSibling;M&&u.indexOf(y)>=0&&s&&(E=f(E,i())),M&&(y=M.nodeName.toLowerCase()),D=M}return _&&(E=f(E,a(b,c))),E}function v(t,e,n){t=t.trim().replace(P,"").replace(U,A).replace(z,"").replace(B,"");var r=u(n),o=e(t);if(!o)return null;m=null;var i=d(t,r)?r:["div"],a=g(o,I(),"ul",null,i,-1,n);return 0===a.text.indexOf("\r")&&(a={text:a.text.slice(1),inlines:a.inlines.slice(1),entities:a.entities.slice(1),blocks:a.blocks}),"\r"===a.text.slice(-1)&&(a.text=a.text.slice(0,-1),a.inlines=a.inlines.slice(0,-1),a.entities=a.entities.slice(0,-1),a.blocks.pop()),0===a.blocks.length&&a.blocks.push({type:"unstyled",depth:0}),a.text.split("\r").length===a.blocks.length+1&&a.blocks.unshift({type:"unstyled",depth:0}),a}function y(t){var e=arguments.length<=1||void 0===arguments[1]?k:arguments[1],n=arguments.length<=2||void 0===arguments[2]?w:arguments[2],r=v(t,e,n);if(null==r)return null;var o=0;return r.text.split("\r").map(function(t,e){t=M(t);var n=o+t.length,i=T(r).inlines.slice(o,n),a=T(r).entities.slice(o,n),s=O(i.map(function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),_.create(n)}));return o=n+1,new b({key:E(),type:T(r).blocks[e].type,depth:T(r).blocks[e].depth,text:t,characterList:s})})}var m,_=n(17),b=n(29),w=n(67),x=n(22),S=n(5),C=n(285),E=n(20),k=n(126),D=n(1),T=n(15),M=n(72),O=S.List,I=S.OrderedSet,R="&nbsp;",A=" ",N=4,P=new RegExp("\r","g"),L=new RegExp("\n","g"),U=new RegExp(R,"g"),z=new RegExp("&#13;?","g"),B=new RegExp("&#8203;?","g"),F=["bold","bolder","500","600","700","800","900"],j=["light","lighter","100","200","300","400"],K={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},q=["className","href","rel","target","title"];t.exports=y},function(t,e,n){"use strict";function r(t){return p&&t.altKey||g(t)}function o(t){return h(t)?t.shiftKey?"redo":"undo":null}function i(t){return f&&t.shiftKey?null:r(t)?"delete-word":"delete"}function a(t){return h(t)&&p?"backspace-to-start-of-line":r(t)?"backspace-word":"backspace"}function s(t){switch(t.keyCode){case 66:return h(t)?"bold":null;case 68:return g(t)?"delete":null;case 72:return g(t)?"backspace":null;case 73:return h(t)?"italic":null;case 74:return h(t)?"code":null;case 75:return!f&&g(t)?"secondary-cut":null;case 77:return g(t)?"split-block":null;case 79:return g(t)?"split-block":null;case 84:return p&&g(t)?"transpose-characters":null;case 85:return h(t)?"underline":null;case 87:return p&&g(t)?"backspace-word":null;case 89:return g(t)?f?"redo":"secondary-paste":null;case 90:return o(t)||null;case c.RETURN:return"split-block";case c.DELETE:return i(t);case c.BACKSPACE:return a(t);case c.LEFT:return d&&h(t)?"move-selection-to-start-of-block":null;case c.RIGHT:return d&&h(t)?"move-selection-to-end-of-block":null;default:return null}}var u=n(68),c=n(55),l=n(21),p=l.isPlatform("Mac OS X"),f=l.isPlatform("Windows"),d=p&&l.isBrowser("Firefox < 29"),h=u.hasCommandModifier,g=u.isCtrlKeyCommand;t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r,o,i){var s=n.nodeType===Node.TEXT_NODE,c=o.nodeType===Node.TEXT_NODE;if(s&&c)return{selectionState:l(t,f(u(n)),r,f(u(o)),i),needsRecovery:!1};var p=null,d=null,h=!0;return s?(p={key:f(u(n)),offset:r},d=a(e,o,i)):c?(d={key:f(u(o)),offset:i},p=a(e,n,r)):(p=a(e,n,r),d=a(e,o,i),n===o&&r===i&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:l(t,p.key,p.offset,d.key,d.offset),needsRecovery:h}}function o(t){for(;t.firstChild&&c(t.firstChild);)t=t.firstChild;return t}function i(t){for(;t.lastChild&&c(t.lastChild);)t=t.lastChild;return t}function a(t,e,n){var r=e,a=u(r);if(null!=a||t&&(t===r||t.firstChild===r)?void 0:p(!1),t===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")?void 0:p(!1),n>0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var d=o(r);l=f(c(d))}return{key:l,offset:0}}var h=r.childNodes[n-1],g=null,v=null;if(c(h)){var y=i(h);g=f(c(y)),v=s(y)}else g=f(a),v=s(h);return{key:g,offset:v}}function s(t){var e=t.textContent;return"\n"===e?0:e.length}var u=n(69),c=n(127),l=n(129),p=n(1),f=n(15);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();return e.isCollapsed()?null:o(t.getCurrentContent(),e)}var o=n(53);t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var o=r===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a=Array.from(e.getClientRects());if(n.push(a),o){var s;return n.reverse(),(s=[]).concat.apply(s,n)}e.setEndBefore(r)}i(!1)}var o=n(21),i=n(1),a=o.isBrowser("Chrome"),s=a?r:function(t){return Array.from(t.getClientRects())};t.exports=s},function(t,e,n){"use strict";function r(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&(e=document.implementation.createHTMLDocument("foo"),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}var o=n(21),i=o.isBrowser("IE <= 9");t.exports=r},function(t,e){"use strict";function n(t){if(t instanceof Element){var e=t.getAttribute("data-offset-key");if(e)return e;for(var r=0;r<t.childNodes.length;r++){var o=n(t.childNodes[r]);if(o)return o}}return null}t.exports=n},function(t,e){(function(e){"use strict";function n(t,e){var n=0,o=[];t.forEach(function(i){r(i,function(r){n++,r&&o.push(r.slice(0,a)),n==t.length&&e(o.join("\r"))})})}function r(t,n){if(!e.FileReader||t.type&&!(t.type in i))return void n("");if(""===t.type){var r="";return o.test(t.name)&&(r=t.name.replace(o,"")),void n(r)}var a=new FileReader;a.onload=function(){n(a.result)},a.onerror=function(){n("")},a.readAsText(t)}var o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;t.exports=n}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t,e,n,r,a){var s=i(t.getSelection()),u=o.decode(e),c=u.blockKey,l=t.getBlockTree(c).getIn([u.decoratorKey,"leaves",u.leafKey]),p=o.decode(r),f=p.blockKey,d=t.getBlockTree(f).getIn([p.decoratorKey,"leaves",p.leafKey]),h=l.get("start"),g=d.get("start"),v=l?h+n:null,y=d?g+a:null,m=s.getAnchorKey()===c&&s.getAnchorOffset()===v&&s.getFocusKey()===f&&s.getFocusOffset()===y;if(m)return s;var _=!1;if(c===f){var b=l.get("end"),w=d.get("end");_=g===h&&w===b?a<n:g<h}else{var x=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===f}).first();_=x===f}return s.merge({anchorKey:c,anchorOffset:v,focusKey:f,focusOffset:y,isBackward:_})}var o=n(51),i=n(15);t.exports=r},function(t,e){"use strict";function n(t,e,n){if(n===t.count())e.forEach(function(e){t=t.push(e)});else if(0===n)e.reverse().forEach(function(e){t=t.unshift(e)});else{var r=t.slice(0,n),o=t.slice(n);t=r.concat(e,o).toList()}return t}t.exports=n},function(t,e){"use strict";function n(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some(function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some(function(t){var e=t.get("start");return o===e&&(i=!0,!0)})}),i}t.exports=n},function(t,e){"use strict";function n(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o,u=a.getBlockForKey(o);return e>u.getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}t.exports=n},function(t,e,n){"use strict";function r(t,e){var n=t.getBlockMap(),r={},o=e.getStartKey(),a=e.getStartOffset(),s=n.get(o),u=i(s,a);u!==s&&(r[o]=u);var c=e.getEndKey(),l=e.getEndOffset(),p=n.get(c);o===c&&(p=u);var f=i(p,l);return f!==p&&(r[c]=f),Object.keys(r).length?t.merge({blockMap:n.merge(r),selectionAfter:e}):t.set("selectionAfter",e)}function o(t,e,n){var r;return u(t,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===e},function(t,e){t<=n&&e>=n&&(r={start:t,end:e})}),"object"!=typeof r?c(!1):void 0,r}function i(t,e){var n=t.getCharacterList(),r=e>0?n.get(e-1):void 0,i=e<n.count()?n.get(e):void 0,u=r?r.getEntity():void 0,c=i?i.getEntity():void 0;if(c&&c===u){var l=s.get(c);if("MUTABLE"!==l.getMutability()){for(var p,f=o(n,c,e),d=f.start,h=f.end;d<h;)p=n.get(d),n=n.set(d,a.applyEntity(p,null)),d++;return t.set("characterList",n)}}return t}var a=n(17),s=n(22),u=n(52),c=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){if("file"==t.kind)return t.getAsFile()}var i=n(283),a=n(139),s=n(12),u=new RegExp("\r\n","g"),c="\n",l={"text/rtf":1,"text/html":1},p=function(){function t(e){r(this,t),this.data=e,this.types=e.types?a(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return l[t]})},t.prototype.getText=function(){var t;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(u,c):null},t.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}},t.prototype.isLink=function(){return this.types.some(function(t){return t.indexOf("Url")!=-1||t.indexOf("text/uri-list")!=-1||t.indexOf("text/x-moz-url")})},t.prototype.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var t=this.data.getData("text/x-moz-url").split("\n");return t[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},t.prototype.isImage=function e(){var e=this.types.some(function(t){return t.indexOf("application/x-moz-file")!=-1});if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var r=t[n].type;if(!i.isImage(r))return!1}return!0},t.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(o).filter(s.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=p},function(t,e,n){"use strict";var r=n(12),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e){"use strict";function n(t,e){return!!e&&(t===e.documentElement||t===e.body)}var r={getTop:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollTop=r.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=r},function(t,e,n){"use strict";function r(t){var e=f.exec(t);return null==e?null:e[0]}function o(t){var e=r(t);return null==e?c.NEUTRAL:d.exec(e)?c.RTL:c.LTR}function i(t,e){if(e=e||c.NEUTRAL,!t.length)return e;var n=o(t);return n===c.NEUTRAL?e:n}function a(t,e){return e||(e=c.getGlobalDir()),c.isStrong(e)?void 0:l(!1),i(t,e)}function s(t,e){return a(t,e)===c.LTR}function u(t,e){return a(t,e)===c.RTL}var c=n(74),l=n(1),p={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},f=new RegExp("["+p.L+p.R+p.AL+"]"),d=new RegExp("["+p.R+p.AL+"]"),h={firstStrongChar:r,firstStrongCharDir:o,resolveBlockDir:i,getDirection:a,isDirectionLTR:s,isDirectionRTL:u};t.exports=h},function(t,e){"use strict";function n(t){return t.replace(r,function(t,e){return e.toUpperCase()})}var r=/-(.)/g;t.exports=n},function(t,e,n){"use strict";function r(t){var e=t.length;if(Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t?a(!1):void 0,"number"!=typeof e?a(!1):void 0,0===e||e-1 in t?void 0:a(!1),"function"==typeof t.callee?a(!1):void 0,t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(n){}for(var r=Array(e),o=0;o<e;o++)r[o]=t[o];return r}function o(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function i(t){return o(t)?Array.isArray(t)?t.slice():r(t):[t]}var a=n(1);t.exports=i},function(t,e){"use strict";function n(t){try{t.focus()}catch(e){}}t.exports=n},function(t,e){"use strict";function n(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=n},function(t,e){"use strict";function n(t){return t.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;t.exports=n},function(t,e){"use strict";function n(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=n},,,function(t,e){"use strict";function n(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(t){o.forEach(function(e){r[n(e,t)]=r[t]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{
21
+ borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};t.exports=a},function(t,e,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n(2),i=n(7),a=n(27);n(1),i(r.prototype,{enqueue:function(t,e){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(t),this._contexts.push(e)},notifyAll:function(){var t=this._callbacks,e=this._contexts;if(t){t.length!==e.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n<t.length;n++)t[n].call(e[n]);t.length=0,e.length=0}},checkpoint:function(){return this._callbacks?this._callbacks.length:0},rollback:function(t){this._callbacks&&(this._callbacks.length=t,this._contexts.length=t)},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t){return!!c.hasOwnProperty(t)||!u.hasOwnProperty(t)&&(s.test(t)?(c[t]=!0,!0):(u[t]=!0,!1))}function o(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&e===!1}var i=n(38),a=(n(8),n(16),n(368)),s=(n(3),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={createMarkupForID:function(t){return i.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(i.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(t){t.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){if(o(n,e))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&e===!0?r+'=""':r+"="+a(e)}return i.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return r(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){var r=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(r){var a=r.mutationMethod;if(a)a(t,n);else{if(o(r,n))return void this.deleteValueForProperty(t,e);if(r.mustUseProperty)t[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?t.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?t.setAttribute(s,""):t.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){r(e)&&(null==n?t.removeAttribute(e):t.setAttribute(e,""+n))},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){var r=n.mutationMethod;if(r)r(t,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?t[o]=!1:t[o]=""}else t.removeAttribute(n.attributeName)}else i.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},function(t,e,n){"use strict";function r(t){return(""+t).replace(b,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);y(t,i,r),o.release(r)}function s(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function u(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,s=t.context,u=a.call(s,e,t.count++);Array.isArray(u)?c(u,o,n,v.thatReturnsArgument):null!=u&&(g.isValidElement(u)&&(u=g.cloneAndReplaceKey(u,i+(!u.key||e&&e.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=s.getPooled(e,a,o,i);y(t,u,c),s.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function p(t,e,n){return null}function f(t,e){return y(t,p,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(27),g=n(18),v=n(12),y=n(102),m=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,_);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:f,toArray:d};t.exports=w},function(t,e,n){"use strict";function r(t,e){var n=x.hasOwnProperty(e)?x[e]:null;C.hasOwnProperty(e)&&(n!==b.OVERRIDE_BASE?p("73",e):void 0),t&&(n!==b.DEFINE_MANY&&n!==b.DEFINE_MANY_MERGED?p("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?p("75"):void 0,h.isValidElement(e)?p("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(_)&&S.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==_){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),S.hasOwnProperty(i))S[i](t,a);else{var l=x.hasOwnProperty(i),f="function"==typeof a,d=f&&!l&&!c&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(c){var g=x[i];!l||g!==b.DEFINE_MANY_MERGED&&g!==b.DEFINE_MANY?p("77",g,i):void 0,g===b.DEFINE_MANY_MERGED?n[i]=s(n[i],a):g===b.DEFINE_MANY&&(n[i]=u(n[i],a))}else n[i]=a}}}}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in S;o?p("78",n):void 0;var i=n in t;i?p("79",n):void 0,t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:p("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?p("81",n):void 0,t[n]=e[n]);return t}function s(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function u(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var p=n(2),f=n(7),d=n(85),h=n(18),g=(n(91),n(90),n(89)),v=n(35),y=(n(1),n(57)),m=n(26),_=(n(3),m({mixins:null})),b=y({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],x={mixins:b.DEFINE_MANY,statics:b.DEFINE_MANY,propTypes:b.DEFINE_MANY,contextTypes:b.DEFINE_MANY,childContextTypes:b.DEFINE_MANY,getDefaultProps:b.DEFINE_MANY_MERGED,getInitialState:b.DEFINE_MANY_MERGED,getChildContext:b.DEFINE_MANY_MERGED,render:b.DEFINE_ONCE,componentWillMount:b.DEFINE_MANY,componentDidMount:b.DEFINE_MANY,componentWillReceiveProps:b.DEFINE_MANY,shouldComponentUpdate:b.DEFINE_ONCE,componentWillUpdate:b.DEFINE_MANY,componentDidUpdate:b.DEFINE_MANY,componentWillUnmount:b.DEFINE_MANY,updateComponent:b.OVERRIDE_BASE},S={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=f({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=f({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=s(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=f({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},C={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},E=function(){};f(E.prototype,d.prototype,C);var k={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||g,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?p("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=o};e.prototype=new E,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],w.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:p("83");for(var n in x)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){w.push(t)}}};t.exports=k},function(t,e){"use strict";var n={hasCachedChildNodes:1};t.exports=n},function(t,e,n){"use strict";function r(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===o?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var o=(n(103),9);t.exports=r},function(t,e,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=u.getValue(t);null!=e&&o(this,Boolean(t.multiple),e)}}function o(t,e,n){var r,o,i=c.getNodeFromInstance(t).options;if(e){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(7),s=n(59),u=n(84),c=n(8),l=n(19),p=(n(3),!1),f={getHostProps:function(t,e){return a({},s.getHostProps(t,e),{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=u.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:i.bind(t),wasMultiple:Boolean(e.multiple)},void 0===e.value||void 0===e.defaultValue||p||(p=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var r=u.getValue(e);null!=r?(t._wrapperState.pendingUpdate=!1,o(t,Boolean(e.multiple),r)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?o(t,Boolean(e.multiple),e.defaultValue):o(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=f},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(7),i=n(19),a=n(46),s=n(12),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},c={initialize:s,close:i.flushBatchedUpdates.bind(i)},l=[c,u];o(r.prototype,a.Mixin,{getTransactionWrappers:function(){return l}});var p=new r,f={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,i){var a=f.isBatchingUpdates;f.isBatchingUpdates=!0,a?t(e,n,r,o,i):p.perform(t,null,e,n,r,o,i)}};t.exports=f},function(t,e,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(v),y.EventPluginHub.injectEventPluginOrder(a),y.EventPluginUtils.injectComponentTree(p),y.EventPluginUtils.injectTreeTraversal(d),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:b,BeforeInputEventPlugin:o}),y.HostComponent.injectGenericComponentClass(l),y.HostComponent.injectTextComponentClass(h),y.DOMProperty.injectDOMPropertyConfig(u),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(t){return new f(t)}),y.Updates.injectReconcileTransaction(m),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(c))}var o=n(309),i=n(311),a=n(313),s=n(314),u=n(316),c=n(319),l=n(323),p=n(8),f=n(324),d=n(334),h=n(332),g=n(154),v=n(336),y=n(337),m=n(341),_=n(346),b=n(347),w=n(348),x=!1;t.exports={inject:r}},function(t,e){"use strict";var n,r={injectEmptyComponentFactory:function(t){n=t}},o={create:function(t){return n(t)}};o.injection=r,t.exports=o},function(t,e){"use strict";var n={logTopLevelRenders:!1};t.exports=n},function(t,e,n){"use strict";function r(t){return u?void 0:a("111",t.type),new u(t)}function o(t){return new l(t)}function i(t){return t instanceof l}var a=n(2),s=n(7),u=(n(1),null),c={},l=null,p={injectGenericComponentClass:function(t){u=t},injectTextComponentClass:function(t){l=t},injectComponentClasses:function(t){s(c,t)}},f={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:p};t.exports=f},function(t,e,n){"use strict";function r(t){return i(document.documentElement,t)}var o=n(330),i=n(75),a=n(140),s=n(56),u={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=s();return{focusedElem:t,selectionRange:u.hasSelectionCapabilities(t)?u.getSelection(t):null}},restoreSelection:function(t){var e=s(),n=t.focusedElem,o=t.selectionRange;e!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=o.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,r=e.end;if(void 0===r&&(r=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var i=t.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(t,e)}};t.exports=u},function(t,e,n){"use strict";var r=n(359),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return i.test(t)?t:t.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(t);return o===n}};t.exports=a},function(t,e,n){"use strict";function r(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length===e.length?-1:n}function o(t){return t?t.nodeType===N?t.documentElement:t.firstChild:null}function i(t){return t.getAttribute&&t.getAttribute(I)||""}function a(t,e,n,r,o){var i;if(w.logTopLevelRenders){var a=t._currentElement.props,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=C.mountComponent(t,n,null,m(t,e),o,0);i&&console.timeEnd(i),t._renderedComponent._topLevelWrapper=t,B._mountImageIntoNode(u,e,t,r,n)}function s(t,e,n,r){var o=k.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(a,null,t,e,o,n,r),k.ReactReconcileTransaction.release(o)}function u(t,e,n){for(C.unmountComponent(t,n),e.nodeType===N&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=o(t);if(e){var n=y.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){return!(!t||t.nodeType!==A&&t.nodeType!==N&&t.nodeType!==P)}function p(t){var e=o(t),n=e&&y.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function f(t){var e=p(t);return e?e._hostContainerInfo._topLevelWrapper:null}var d=n(2),h=n(37),g=n(38),v=n(60),y=(n(28),n(8)),m=n(152),_=n(326),b=n(18),w=n(157),x=n(44),S=(n(16),n(160)),C=n(33),E=n(93),k=n(19),D=n(35),T=n(99),M=(n(1),n(63)),O=n(101),I=(n(3),g.ID_ATTRIBUTE_NAME),R=g.ROOT_ATTRIBUTE_NAME,A=1,N=9,P=11,L={},U=1,z=function(){this.rootID=U++};z.prototype.isReactComponent={},z.prototype.render=function(){return this.props};var B={TopLevelWrapper:z,_instancesByReactRootID:L,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,r,o){return B.scrollMonitor(r,function(){E.enqueueElementInternal(t,e,n),o&&E.enqueueCallbackInternal(t,o)}),t},_renderNewRootComponent:function(t,e,n,r){l(e)?void 0:d("37"),v.ensureScrollValueMonitoring();var o=T(t,!1);k.batchedUpdates(s,o,e,n,r);var i=o._instance.rootID;return L[i]=o,o},renderSubtreeIntoContainer:function(t,e,n,r){return null!=t&&x.has(t)?void 0:d("38"),B._renderSubtreeIntoContainer(t,e,n,r)},_renderSubtreeIntoContainer:function(t,e,n,r){E.validateCallback(r,"ReactDOM.render"),b.isValidElement(e)?void 0:d("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=b(z,null,null,null,null,null,e);if(t){var u=x.get(t);a=u._processChildContext(u._context)}else a=D;var l=f(n);if(l){var p=l._currentElement,h=p.props;if(O(h,e)){var g=l._renderedComponent.getPublicInstance(),v=r&&function(){r.call(g)};return B._updateRootComponent(l,s,a,n,v),g}B.unmountComponentAtNode(n)}var y=o(n),m=y&&!!i(y),_=c(n),w=m&&!l&&!_,S=B._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(S),S},render:function(t,e,n){return B._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)?void 0:d("40");var e=f(t);return e?(delete L[e._instance.rootID],k.batchedUpdates(u,e,t,!1),!0):(c(t),1===t.nodeType&&t.hasAttribute(R),!1)},_mountImageIntoNode:function(t,e,n,i,a){if(l(e)?void 0:d("41"),i){var s=o(e);if(S.canReuseMarkup(t,s))return void y.precacheNode(n,s);var u=s.getAttribute(S.CHECKSUM_ATTR_NAME);s.removeAttribute(S.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(S.CHECKSUM_ATTR_NAME,u);var p=t,f=r(p,c),g=" (client) "+p.substring(f-20,f+20)+"\n (server) "+c.substring(f-20,f+20);e.nodeType===N?d("42",g):void 0}if(e.nodeType===N?d("43"):void 0,a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);h.insertTreeBefore(e,t,null)}else M(e,t),y.precacheNode(n,e.firstChild)}};t.exports=B},function(t,e,n){"use strict";var r=n(57),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=o},function(t,e,n){"use strict";var r=n(2),o=n(18),i=(n(1),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||t===!1?i.EMPTY:o.isValidElement(t)?"function"==typeof t.type?i.COMPOSITE:i.HOST:void r("26",t)}});t.exports=i},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function o(t){this.message=t,this.stack=""}function i(t){function e(e,n,r,i,a,s,u){if(i=i||k,s=s||r,null==n[r]){var c=x[a];return e?new o("Required "+c+" `"+s+"` was not specified in "+("`"+i+"`.")):null}return t(n,r,i,a,s)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,r,i,a,s){var u=e[n],c=m(u);if(c!==t){var l=x[i],p=_(u);return new o("Invalid "+l+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+t+"`."))}return null}return i(e)}function s(){return i(C.thatReturns(null))}function u(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){var u=x[i],c=m(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var p=t(s,l,r,i,a+"["+l+"]",S);if(p instanceof Error)return p}return null}return i(e)}function c(){function t(t,e,n,r,i){var a=t[e];if(!w.isValidElement(a)){var s=x[r],u=m(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(t)}function l(t){function e(e,n,r,i,a){if(!(e[n]instanceof t)){var s=x[i],u=t.name||k,c=b(e[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(e)}function p(t){function e(e,n,i,a,s){for(var u=e[n],c=0;c<t.length;c++)if(r(u,t[c]))return null;var l=x[a],p=JSON.stringify(t);return new o("Invalid "+l+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(t)?i(e):C.thatReturnsNull}function f(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=m(s);if("object"!==u){var c=x[i];return new o("Invalid "+c+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var l in s)if(s.hasOwnProperty(l)){var p=t(s,l,r,i,a+"."+l,S);if(p instanceof Error)return p}return null}return i(e)}function d(t){function e(e,n,r,i,a){for(var s=0;s<t.length;s++){var u=t[s];if(null==u(e,n,r,i,a,S))return null}var c=x[i];return new o("Invalid "+c+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(t)?i(e):C.thatReturnsNull}function h(){function t(t,e,n,r,i){if(!v(t[e])){var a=x[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(t)}function g(t){function e(e,n,r,i,a){var s=e[n],u=m(s);if("object"!==u){var c=x[i];return new o("Invalid "+c+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var l in t){var p=t[l];if(p){var f=p(s,l,r,i,a+"."+l,S);if(f)return f}}return null}return i(e)}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||w.isValidElement(t))return!0;var e=E(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function y(t,e){return"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":y(e,t)?"symbol":e}function _(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function b(t){return t.constructor&&t.constructor.name?t.constructor.name:k}var w=n(18),x=n(90),S=n(92),C=n(12),E=n(171),k=(n(3),"<<anonymous>>"),D={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:c(),instanceOf:l,node:h(),objectOf:f,oneOf:p,oneOfType:d,shape:g};o.prototype=Error.prototype,t.exports=D},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(7),i=n(27),a=n(46),s=(n(16),n(345)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a.Mixin,l),i.addPoolingTo(r),t.exports=r},function(t,e){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){n.currentScrollLeft=t.x,n.currentScrollTop=t.y}};t.exports=n},function(t,e,n){"use strict";function r(t,e){return null==e?o("30"):void 0,null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var o=n(2);n(1),t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e){"use strict";function n(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=n},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===o.COMPOSITE;)t=t._renderedComponent;return e===o.HOST?t._renderedComponent:e===o.EMPTY?null:void 0}var o=n(163);t.exports=r},function(t,e){"use strict";function n(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},function(t,e,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(11),i=null;t.exports=r},function(t,e){"use strict";function n(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!r[t.type]:"textarea"===e}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},function(t,e,n){"use strict";var r=n(11),o=n(62),i=n(63),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){i(t,o(e))})),t.exports=a},function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(14),i=n(109),a=n(177),s=r();s.Axios=a,s.create=function(t){return r(t)},s.Cancel=n(105),s.CancelToken=n(176),s.isCancel=n(106),s.all=function(t){return Promise.all(t)},s.spread=n(191),t.exports=s,t.exports["default"]=s},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(105);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r(function(e){t=e});return{token:e,cancel:t}},t.exports=r},function(t,e,n){"use strict";function r(t){this.defaults=i.merge(o,t),this.interceptors={request:new a,response:new a}}var o=n(108),i=n(14),a=n(178),s=n(179),u=n(187),c=n(185);r.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url));var e=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(14);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(14),i=n(182),a=n(106),s=n(108);t.exports=function(t){r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var e=t.adapter||s.adapter;return e(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(107);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){"use strict";function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,i=String(t),a="",s=0,u=o;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if(r=i.charCodeAt(s+=.75),r>255)throw new n;e=e<<8|r}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(14);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),i=a.join("&")}return i&&(t+=(t.indexOf("?")===-1?"?":"&")+i),t}},function(t,e){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(113),i=r(o),a=n(50),s=r(a),u=n(111),c=r(u),l=function(){var t=(arguments.length<=0||void 0===arguments[0]?{}:arguments[0],arguments[1]);return t};e["default"]=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?l:arguments[2],r=t.text,o=n;if(n.__isMiddleware&&(o=n(l)),t.hasOwnProperty("entityRanges")&&t.entityRanges.length>0){for(var a=t.entityRanges.sort(s["default"]),u=t.inlineStyleRanges,p=function(t){var n=a[t],s=e[n.key],l=r.substr(n.offset,n.length),p=(0,c["default"])(o(s,l),l)||l,f=function(e,r){return r>=t||e.hasOwnProperty("style")?(0,i["default"])(e,n.offset,n.length,p.length):e};a=a.map(f),u=u.map(f),r=r.substring(0,n.offset)+p+r.substring(n.offset+n.length)},f=0;f<a.length;f++)p(f);return Object.assign({},t,{text:r,inlineStyleRanges:u,entityRanges:a})}return t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(32),i=r(o),a=n(217),s=r(a),u=n(110),c=r(u),l=n(111),p=r(l),f=n(50),d=r(f),h=n(211),g=r(h),v=function(t,e){return t.filter(function(t){return!e.some(function(e){return e.style===t.style})})},y=function(t,e){return e.reduceRight(function(t,e){var n=t[t.length-1];return(0,i["default"])(n.style===e.style,"Style "+n.style+" to be removed doesn't match expected "+e.style),t.slice(0,-1)},t)},m=function(t,e){return e.filter(function(e){return t>=e.offset&&t<e.offset+e.length})},_=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r;
22
+ },b=function(t,e){var n=e.offset+e.length,r=t.offset+t.length;return n-r},w=function(t,e){for(var n=0;n<t.length;){if(!e.every(_.bind(null,t[n])))return t.slice(n);n++}return[]},x=function(t,e,n){return e+(0,p["default"])(t(n.style)).start},S=function(t,e,n){return(0,p["default"])(t(n.style)).end+e},C=function(t){return function(e){return t(e)}};C.__isMiddleware=!0,e["default"]=function(t){var e=arguments.length<=1||void 0===arguments[1]?C:arguments[1];(0,i["default"])(null!==t&&void 0!==t,"Expected raw block to be non-null");var n=void 0;n=e.__isMiddleware===!0?e(g["default"]):(0,c["default"])((0,s["default"])(e),(0,s["default"])(g["default"]));for(var r="",o=[],a=t.inlineStyleRanges.sort(d["default"]),u=0;u<t.text.length;u++){var l=m(u,a),f=v(o,l),h=v(l,o),_=v(o,f),E=w(_,h),k=E.concat(h).sort(b),D=k.reduce(x.bind(null,n),""),T=f.concat(E).reduce(S.bind(null,n),"");r+=T+D+t.text[u],o=y(o,E.concat(f)),o=o.concat(k),(0,i["default"])(o.length===l.length,"Character "+u+": "+(o.length-l.length)+" styles left on stack that should no longer be there")}return r=o.reduceRight(function(t,e){return t+(0,p["default"])(n(e.style)).end},r)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(){return{text:"",inlines:[],entities:[],blocks:[]}}function i(t){var e=new Array(1);return t&&(e[0]=t),{text:k,inlines:[(0,m.OrderedSet)()],entities:e,blocks:[]}}function a(t,e){var n=arguments.length<=2||void 0===arguments[2]?(0,m.Map)():arguments[2];return{text:"\r",inlines:[(0,m.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(D,e))}],isNewline:!0}}function s(t,e){var n=arguments.length<=2||void 0===arguments[2]?(0,m.Map)():arguments[2];return{text:"\r",inlines:[(0,m.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(D,e))}]}}function u(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"ul":return null;case"ol":return null;default:return"unstyled"}}function c(t,e,n){return u(t,n)}function l(t,e,n){var r=A[t];return r?n=n.add(r).toOrderedSet():e instanceof HTMLElement&&!function(){var t=e;n=n.withMutations(function(e){"bold"===t.style.fontWeight&&e.add("BOLD"),"italic"===t.style.fontStyle&&e.add("ITALIC"),"underline"===t.style.textDecoration&&e.add("UNDERLINE"),"line-through"===t.style.textDecoration&&e.add("STRIKETHROUGH")}).toOrderedSet()}(),n}function p(t,e){return l(t,e,(0,m.OrderedSet)())}function f(t,e){var n=e.text.slice(0,1),r=t.text.slice(-1),o="\r"===r&&"\r"===n,i="\r"!==t.text&&"\r"!==e.text,a="\r"===t.text&&!t.isNewline&&e.isNewline;if(o&&(i||a)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)){if(e.text===k||"\n"===e.text)return t;n!==k&&"\n"!==n||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var s=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:s}}function d(t){return R.some(function(e){return t.indexOf("<"+e)!==-1})}function h(t,e,n,r,c,p,d,g,v,_,b){var w=t.nodeName.toLowerCase(),x=!1,S="unstyled";if("#text"===w){var E=function(){var n=t.textContent;if(""===n.trim()&&"code-block"!==r)return{v:i(b)};"code-block"!==r&&(n=n.replace(M,k)),N=w;var o=Array(n.length).fill(b),a=0,s=v(n).sort(C["default"]);return s.forEach(function(t){var e=t.entity,r=t.offset,i=t.length,s=t.result,u=r+a;null!==s&&void 0!==s||(s=n.substr(u,i));var c=n.split("");c.splice.bind(c,u,i).apply(c,s.split("")),n=c.join(""),o.splice.bind(o,u,i).apply(o,Array(s.length).fill(e)),a+=s.length-i}),{v:{text:n,inlines:Array(n.length).fill(e),entities:o,blocks:[]}}}();if("object"===("undefined"==typeof E?"undefined":y(E)))return E.v}if(N=w,"br"===w){var D=r;return a(D||"unstyled",p)}var T=o(),O=null;e=l(w,t,e),e=d(w,t,e),"ul"!==w&&"ol"!==w||(n&&(p+=1),n=w,r=null);var I=_(w,t,n,r)||{},R=void 0,A=void 0;if("string"==typeof I?(R=I,A=(0,m.Map)()):(R="string"==typeof I?I:I.type,A=I.data?(0,m.Map)(I.data):(0,m.Map)()),r||c.indexOf(w)===-1&&!R)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==w)r&&"atomic"!==r&&"atomic"===R&&(r=R,x=!0,T=a(R,p,A));else{var P=u(w,n);T=s(P,p),r=P,x=!0,S="ul"===n?"unordered-list-item":"ordered-list-item"}else T=s(R||u(w,n),p,A),r=R||u(w,n),x=!0;var L=t.firstChild;null!=L||!b||"atomic"!==R&&"atomic"!==r||(L=document.createTextNode("a")),null!=L&&(w=L.nodeName.toLowerCase());for(var U=null;L;){U=g(w,L),O=h(L,e,n,r,c,p,d,g,v,_,U||b),T=f(T,O);var z=L.nextSibling;if(z&&c.indexOf(w)>=0&&r){var B=_(w,t,n,r)||{},F=void 0,j=void 0;"string"==typeof B?(F=B,j=(0,m.Map)()):(F=B.type||u(w,n),j=B.data?(0,m.Map)(B.data):(0,m.Map)()),T=f(T,a(F,p,j))}z&&(w=z.nodeName.toLowerCase()),L=z}return x&&(T=f(T,s(S,p,(0,m.Map)()))),T}function g(t,e,n,r,o,i){t=t.trim().replace(T,"").replace(O,k);var a=i(t);if(!a)return null;N=null;var s=d(t)?R.concat(["div"]):["div"],u=h(a,(0,m.OrderedSet)(),"ul",null,s,-1,e,n,r,o);return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push({type:"unstyled",data:(0,m.Map)(),depth:0}),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",data:(0,m.Map)(),depth:0}),u}function v(t,e,n,r,o,i){var a=g(t,e,n,r,o,i);if(null==a)return[];var s=0;return a.text.split("\r").map(function(t,e){t=j(t);var n=s+t.length,r=F(a).inlines.slice(s,n),o=F(a).entities.slice(s,n),i=(0,m.List)(r.map(function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),b.CharacterMetadata.create(n)}));return s=n+1,new b.ContentBlock({key:(0,b.genKey)(),type:F(a).blocks[e].type,data:F(a).blocks[e].data,depth:F(a).blocks[e].depth,text:t,characterList:i})})}Object.defineProperty(e,"__esModule",{value:!0});var y="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},m=n(36),_=n(32),b=(r(_),n(9)),w=n(112),x=r(w),S=n(50),C=r(S),E="&nbsp;",k=" ",D=4,T=new RegExp("\r","g"),M=new RegExp("\n","g"),O=new RegExp(E,"g"),I=new RegExp("\r","g"),R=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],A={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},N=void 0,P=function(t,e){return t&&t.__isMiddleware===!0?t(e):t},L=function(t,e,n){},U=function(t,e,n){return n},z=function(t,e){},B=function(t){return[]},F=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")},j=function(t){return t.replace(I,"")},K=function(t){var e=t.htmlToStyle,n=void 0===e?U:e,r=t.htmlToEntity,o=void 0===r?z:r,i=t.textToEntity,a=void 0===i?B:i,s=t.htmlToBlock,u=void 0===s?L:s;return function(t){var e=arguments.length<=1||void 0===arguments[1]?x["default"]:arguments[1];return b.ContentState.createFromBlockArray(v(t,P(n,p),P(o,z),P(a,B),P(u,c),e))}};e["default"]=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?K({}).apply(void 0,arguments):K.apply(void 0,arguments)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(32),i=r(o),a=n(6),s=r(a),u=n(78),c=r(u),l=n(9),p=n(212),f=r(p),d=n(206),h=r(d),g=n(207),v=r(g),y=n(110),m=r(y),_=n(214),b=r(_),w=n(215),x=r(w),S=n(216),C=r(S),E=n(210),k=r(E),D=["ordered-list-item","unordered-list-item"],T=function(t,e){return e},M=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,o=void 0===r?{}:r,a=t.entityToHTML,u=void 0===a?T:a;return function(t){(0,i["default"])(null!==t&&void 0!==t,"Expected contentState to be non-null");var e=void 0;e=o.__isMiddleware===!0?o((0,b["default"])(k["default"])):(0,m["default"])((0,b["default"])(o),(0,b["default"])(k["default"]));var r=(0,l.convertToRaw)(t),a=[],p=r.blocks.map(function(t){var o=t.type,i=t.depth,l="",p="";if(D.indexOf(o)===-1)l=a.reduceRight(function(t,n){return t+(0,C["default"])(e(n)).nestEnd},""),a=[];else for(;i+1!==a.length||o!==a[i].type;)if(i+1===a.length){var d=a[i];l+=(0,C["default"])(e(d)).nestEnd,p+=(0,C["default"])(e(t)).nestStart,a[i]=t}else if(i+1<a.length){var g=a[a.length-1];l+=(0,C["default"])(e(g)).nestEnd,a=a.slice(0,-1)}else p+=(0,C["default"])(e(t)).nestStart,a.push(t);var y=(0,v["default"])((0,h["default"])((0,f["default"])(t),r.entityMap,u),n),m=(0,x["default"])(e(t)),_=m.start+y+m.end;return 0===y.length&&m.hasOwnProperty("empty")&&(_=s["default"].isValidElement(m.empty)?c["default"].renderToStaticMarkup(m.empty):m.empty),l+p+_}).join("");return p=a.reduce(function(t,n){return t+(0,C["default"])(e(n)).nestEnd},p)}};e["default"]=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&e[0].hasOwnProperty("_map")&&null!=e[0].getBlockMap?M({}).apply(void 0,e):M.apply(void 0,e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),i=r(o);e["default"]={unstyled:i["default"].createElement("p",null),paragraph:i["default"].createElement("p",null),"header-one":i["default"].createElement("h1",null),"header-two":i["default"].createElement("h2",null),"header-three":i["default"].createElement("h3",null),"header-four":i["default"].createElement("h4",null),"header-five":i["default"].createElement("h5",null),"header-six":i["default"].createElement("h6",null),"unordered-list-item":{element:i["default"].createElement("li",null),nest:i["default"].createElement("ul",null)},"ordered-list-item":{element:i["default"].createElement("li",null),nest:i["default"].createElement("ol",null)},media:i["default"].createElement("figure",null)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){switch(t){case"BOLD":return a["default"].createElement("strong",null);case"ITALIC":return a["default"].createElement("em",null);case"UNDERLINE":return a["default"].createElement("u",null);case"CODE":return a["default"].createElement("code",null);default:return{start:"",end:""}}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var i=n(6),a=r(i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(113),i=r(o),a=n(50),s=r(a),u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};e["default"]=function(t){for(var e=t.text,n=t.entityRanges.sort(s["default"]),r=t.inlineStyleRanges.sort(s["default"]),o="",a=function(t){var a=e[t];void 0!==u[a]?!function(){var t=u[a],e=o.length;o+=t;var s=function(n){return(0,i["default"])(n,e,a.length,t.length)};n=n.map(s),r=r.map(s)}():o+=a},c=0;c<e.length;c++)a(c);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.parseHTML=e.convertFromHTML=e.convertToHTML=void 0;var o=n(209),i=r(o),a=n(208),s=r(a),u=n(112),c=r(u);e.convertToHTML=i["default"],e.convertFromHTML=s["default"],e.parseHTML=c["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return(0,a["default"])(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),u["default"].isValidElement(t)?(0,l["default"])(t):t.hasOwnProperty("element")&&u["default"].isValidElement(t.element)?Object.assign({},t,(0,l["default"])(t.element)):((0,a["default"])(t.hasOwnProperty("start")&&t.hasOwnProperty("end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var i=n(32),a=r(i),s=n(6),u=r(s),c=n(65),l=r(c)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if((0,a["default"])(null!==t&&void 0!==t,"Expected block HTML value to be non-null"),u["default"].isValidElement(t.nest)){var e=(0,l["default"])(t.nest),n=e.start,r=e.end;return Object.assign({},t,{nestStart:n,nestEnd:r})}return(0,a["default"])(t.hasOwnProperty("nestStart")&&t.hasOwnProperty("nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var i=n(32),a=r(i),s=n(6),u=r(s),c=n(65),l=r(c)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t){return function(e){return"function"==typeof t?t(e):t[e]}}},function(t,e,n){"use strict";var r=n(39),o=n(17),i=n(29),a=n(10),s=n(4),u=n(5),c=n(20),l=u.List,p=u.Repeat,f={insertAtomicBlock:function(t,e,n){var u=t.getCurrentContent(),f=t.getSelection(),d=a.removeRange(u,f,"backward"),h=d.getSelectionAfter(),g=a.splitBlock(d,h),v=g.getSelectionAfter(),y=a.setBlockType(g,v,"atomic"),m=o.create({entity:e}),_=[new i({key:c(),type:"atomic",text:n,characterList:l(p(m,n.length))}),new i({key:c(),type:"unstyled",text:"",characterList:l()})],b=r.createFromArray(_),w=a.replaceWithFragment(y,v,b),x=w.merge({selectionBefore:f,selectionAfter:w.getSelectionAfter().set("hasFocus",!0)});return s.push(t,x,"insert-fragment")}};t.exports=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0}function i(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}var a=n(5),s=a.List,u=".",c=function(){function t(e){r(this,t),this._decorators=e.slice()}return t.prototype.getDecorations=function(t){var e=Array(t.getText().length).fill(null);return this._decorators.forEach(function(n,r){var a=0,s=n.strategy;s(t,function(t,n){o(e,t,n)&&(i(e,t,n,r+u+a),a++)})}),s(e)},t.prototype.getComponentForKey=function(t){var e=parseInt(t.split(u)[0],10);return this._decorators[e].component},t.prototype.getPropsForKey=function(t){var e=parseInt(t.split(u)[0],10);return this._decorators[e].props},t}();t.exports=c},function(t,e,n){"use strict";function r(t,e,n,r){var i=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),p=i.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===c}).concat(a([[c,i.get(c)]])).map(function(t,e){var i,a;s===c?(i=u,a=l):(i=e===s?u:0,a=e===c?l:t.getLength());for(var p,f=t.getCharacterList();i<a;)p=f.get(i),f=f.set(i,r?o.applyStyle(p,n):o.removeStyle(p,n)),i++;return t.set("characterList",f)});return t.merge({blockMap:i.merge(p),selectionBefore:e,selectionAfter:e})}var o=n(17),i=n(5),a=i.Map,s={add:function(t,e,n){return r(t,e,n,!0)},remove:function(t,e,n){return r(t,e,n,!1)}};t.exports=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(30),s=a||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(67),c=n(115),l=n(222),p=n(223),f=n(224),d=n(225),h=n(227),g=n(4),v=n(6),y=n(13),m=n(136),_=n(73),b=n(21),w=n(41),x=n(12),S=n(20),C=n(122),E=n(15),k=n(76),D=b.isBrowser("IE"),T=!D,M={edit:d,composite:l,drag:f,cut:null,render:null},O=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._blockSelectEvents=!1,i._clipboard=null,i._guardAgainstRender=!1,i._handler=null,i._dragCount=0,i._editorKey=S(),i._placeholderAccessibilityID="placeholder-"+i._editorKey,i._onBeforeInput=i._buildHandler("onBeforeInput"),i._onBlur=i._buildHandler("onBlur"),i._onCharacterData=i._buildHandler("onCharacterData"),i._onCompositionEnd=i._buildHandler("onCompositionEnd"),i._onCompositionStart=i._buildHandler("onCompositionStart"),i._onCopy=i._buildHandler("onCopy"),i._onCut=i._buildHandler("onCut"),i._onDragEnd=i._buildHandler("onDragEnd"),i._onDragOver=i._buildHandler("onDragOver"),i._onDragStart=i._buildHandler("onDragStart"),i._onDrop=i._buildHandler("onDrop"),i._onInput=i._buildHandler("onInput"),i._onFocus=i._buildHandler("onFocus"),i._onKeyDown=i._buildHandler("onKeyDown"),i._onKeyPress=i._buildHandler("onKeyPress"),i._onKeyUp=i._buildHandler("onKeyUp"),i._onMouseDown=i._buildHandler("onMouseDown"),i._onMouseUp=i._buildHandler("onMouseUp"),i._onPaste=i._buildHandler("onPaste"),i._onSelect=i._buildHandler("onSelect"),i.focus=i._focus.bind(i),i.blur=i._blur.bind(i),i.setMode=i._setMode.bind(i),i.exitCurrentMode=i._exitCurrentMode.bind(i),i.restoreEditorDOM=i._restoreEditorDOM.bind(i),i.setRenderGuard=i._setRenderGuard.bind(i),i.removeRenderGuard=i._removeRenderGuard.bind(i),i.setClipboard=i._setClipboard.bind(i),i.getClipboard=i._getClipboard.bind(i),i.getEditorKey=function(){return i._editorKey},i.update=i._update.bind(i),i.onDragEnter=i._onDragEnter.bind(i),i.onDragLeave=i._onDragLeave.bind(i),i.state={containerKey:0},i}return i(e,t),e.prototype._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&r.call(e,n)}}},e.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},e.prototype._renderPlaceholder=function(){return this._showPlaceholder()?v.createElement(h,{text:E(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID}):null},e.prototype.render=function(){var t=this.props,e=t.readOnly,n=t.textAlignment,r=w({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===n,"DraftEditor/alignRight":"right"===n,"DraftEditor/alignCenter":"center"===n}),o={outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"};return v.createElement("div",{className:r},this._renderPlaceholder(),v.createElement("div",{className:w("DraftEditor/editorContainer"),key:"editor"+this.state.containerKey,ref:"editorContainer"},v.createElement("div",{"aria-activedescendant":e?null:this.props.ariaActiveDescendantID,"aria-autocomplete":e?null:this.props.ariaAutoComplete,"aria-describedby":this._showPlaceholder()?this._placeholderAccessibilityID:null,"aria-expanded":e?null:this.props.ariaExpanded,"aria-haspopup":e?null:this.props.ariaHasPopup,"aria-label":this.props.ariaLabel,"aria-owns":e?null:this.props.ariaOwneeID,className:w("public/DraftEditor/content"),contentEditable:!e,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:"editor",role:e?null:this.props.role||"textbox",spellCheck:T&&this.props.spellCheck,style:o,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},v.createElement(p,{blockRenderMap:this.props.blockRenderMap,blockRendererFn:this.props.blockRendererFn,blockStyleFn:this.props.blockStyleFn,customStyleMap:s({},c,this.props.customStyleMap),customStyleFn:this.props.customStyleFn,editorKey:this._editorKey,editorState:this.props.editorState}))))},e.prototype.componentDidMount=function(){this.setMode("edit"),D&&document.execCommand("AutoUrlDetect",!1,!1)},e.prototype.componentWillUpdate=function(){this._blockSelectEvents=!0},e.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1},e.prototype._focus=function(t){var e=this.props.editorState,n=e.getSelection().getHasFocus(),r=y.findDOMNode(this.refs.editor),o=_.getScrollParent(r),i=t||k(o),a=i.x,s=i.y;r.focus(),o===window?window.scrollTo(a,s):m.setTop(o,s),n||this.update(g.forceSelection(e,e.getSelection()))},e.prototype._blur=function(){y.findDOMNode(this.refs.editor).blur()},e.prototype._setMode=function(t){this._handler=M[t]},e.prototype._exitCurrentMode=function(){this.setMode("edit")},e.prototype._restoreEditorDOM=function(t){var e=this;this.setState({containerKey:this.state.containerKey+1},function(){e._focus(t)})},e.prototype._setRenderGuard=function(){this._guardAgainstRender=!0},e.prototype._removeRenderGuard=function(){this._guardAgainstRender=!1},e.prototype._setClipboard=function(t){this._clipboard=t},e.prototype._getClipboard=function(){return this._clipboard},e.prototype._update=function(t){this.props.onChange(t)},e.prototype._onDragEnter=function(){this._dragCount++},e.prototype._onDragLeave=function(){this._dragCount--,0===this._dragCount&&this.exitCurrentMode()},e}(v.Component);O.defaultProps={blockRenderMap:u,blockRendererFn:x.thatReturnsNull,blockStyleFn:x.thatReturns(""),keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=O},function(t,e,n){"use strict";var r=n(10),o=n(4),i=n(55),a=n(70),s=n(131),u=20,c=!1,l=!1,p="",f={onBeforeInput:function(t){p=(p||"")+t.data},onCompositionStart:function(){l=!0},onCompositionEnd:function(){var t=this;c=!1,l=!1,setTimeout(function(){c||f.resolveComposition.call(t)},u)},onKeyDown:function(t){t.which!==i.RIGHT&&t.which!==i.LEFT||t.preventDefault()},onKeyPress:function(t){t.which===i.RETURN&&t.preventDefault()},resolveComposition:function(){if(!l){c=!0;var t=p;p="";var e=o.set(this.props.editorState,{inCompositionMode:!1}),n=e.getCurrentInlineStyle(),i=a(e.getCurrentContent(),e.getSelection()),u=!t||s(e)||n.size>0||null!==i;if(u&&this.restoreEditorDOM(),this.exitCurrentMode(),this.removeRenderGuard(),t){var f=r.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return void this.update(o.push(e,f,"insert-characters"))}u&&this.update(o.set(e,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e,n,r){return f({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":4===e,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})}var s=n(30),u=s||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c=n(116),l=n(51),p=(n(4),n(6)),f=n(41),d=n(300),h=n(15),g=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState,r=e.getDirectionMap(),o=n.getDirectionMap();if(r!==o)return!0;var i=e.getSelection().getHasFocus(),a=n.getSelection().getHasFocus();if(i!==a)return!0;var s=n.getNativelyRenderedContent(),u=e.isInCompositionMode(),c=n.isInCompositionMode();if(e===n||null!==s&&n.getCurrentContent()===s||u&&c)return!1;var l=e.getCurrentContent(),p=n.getCurrentContent(),f=e.getDecorator(),d=n.getDecorator();return u!==c||l!==p||f!==d||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.customStyleMap,o=t.customStyleFn,i=t.editorState,s=i.getCurrentContent(),f=i.getSelection(),g=i.mustForceSelection(),v=i.getDecorator(),y=h(i.getDirectionMap()),m=s.getBlocksAsArray(),_=[],b=null,w=null,x=0;x<m.length;x++){var S=m[x],C=S.getKey(),E=S.getType(),k=n(S),D=void 0,T=void 0,M=void 0;k&&(D=k.component,T=k.props,M=k.editable);var O=y.get(C),I=l.encode(C,0,0),R={block:S,blockProps:T,customStyleMap:r,customStyleFn:o,decorator:v,direction:O,forceSelection:g,key:C,offsetKey:I,selection:f,tree:i.getBlockTree(C)},A=e.get(E),N=A.wrapper,P=A.element||e.get("unstyled").element,L=S.getDepth(),U=this.props.blockStyleFn(S);if("li"===P){var z=w!==N||null===b||L>b;U=d(U,a(E,L,z,O))}var B=D||c,F={className:U,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":I,key:C};void 0!==M&&(F=u({},F,{contentEditable:M,suppressContentEditableWarning:!0}));var j=p.createElement(P,F,p.createElement(B,R));_.push({block:j,wrapperTemplate:N,key:C,offsetKey:I}),b=N?S.getDepth():null,w=N}for(var K=[],q=0;q<_.length;){var H=_[q];if(H.wrapperTemplate){var V=[];do V.push(_[q].block),q++;while(q<_.length&&_[q].wrapperTemplate===H.wrapperTemplate);var W=p.cloneElement(H.wrapperTemplate,{key:H.key+"-wrap","data-offset-key":H.offsetKey},V);K.push(W)}else K.push(H.block),q++}return p.createElement("div",{"data-contents":"true"},K)},e}(p.Component);t.exports=g},function(t,e,n){"use strict";function r(t,e){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(t.x,t.y);n=o.startContainer,r=o.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=f(n),r=f(r);var i=f(c(n));return p(e,i,r,i,r)}function o(t,e){var n=s.moveText(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n,"insert-fragment")}function i(t,e,n){var r=s.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return u.push(t,r,"insert-fragment")}var a=n(134),s=n(10),u=n(4),c=n(69),l=n(128),p=n(129),f=n(15),d=n(54),h={onDragEnd:function(){this.exitCurrentMode()},onDrop:function(t){var e=this,n=new a(t.nativeEvent.dataTransfer),s=this.props.editorState,u=r(t.nativeEvent,s);if(t.preventDefault(),this.exitCurrentMode(),null!=u){var c=n.getFiles();if(c.length>0){if(this.props.handleDroppedFiles&&d(this.props.handleDroppedFiles(u,c)))return;return void l(c,function(t){t&&e.update(i(s,f(u),t))})}var p=this._internalDrag?"internal":"external";if(!this.props.handleDrop||!d(this.props.handleDrop(u,n,p)))return this._internalDrag?void this.update(o(s,u)):void this.update(i(s,u,n.getText()))}}};t.exports=h},function(t,e,n){"use strict";var r=n(241),o=n(242),i=n(243),a=n(244),s=n(245),u=n(246),c=n(247),l=n(248),p=n(249),f=n(250),d=n(251),h=n(252),g={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:s,onDragOver:u,onDragStart:c,onFocus:l,onInput:p,onKeyDown:f,onPaste:d,onSelect:h};t.exports=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")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(30),s=n(228),u=n(6),c=n(13),l=(n(34),n(276)),p=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.blockKey,r=e.start,o=e.text,i=r+o.length;if(t.hasEdgeWithin(n,r,i)){var a=c.findDOMNode(this),s=a.firstChild,u=void 0;u=s.nodeType===Node.TEXT_NODE?s:"BR"===s.tagName?a:s.firstChild,l(t,u,n,r,i)}}},e.prototype.shouldComponentUpdate=function(t){return c.findDOMNode(this.refs.leaf).textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},e.prototype.componentDidUpdate=function(){this._setSelection()},e.prototype.componentDidMount=function(){this._setSelection()},e.prototype.render=function(){var t=this.props.text;t.endsWith("\n")&&this.props.isLast&&(t+="\n");var e=this.props,n=e.customStyleMap,r=e.customStyleFn,o=e.offsetKey,i=e.styleSet,c=i.reduce(function(t,e){var r={},o=n[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(r.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),a(t,o,r)},{});if(r){var l=r(i);c=a(c,l)}return u.createElement("span",{"data-offset-key":o,ref:"leaf",style:c},u.createElement(s,null,t))},e}(u.Component);t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(6),s=n(41),u=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},e.prototype.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return a.createElement("div",{className:e},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},e}(a.Component);t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return l?"\n"===t.textContent:"BR"===t.tagName}var s=n(6),u=n(13),c=n(21),l=c.isBrowser("IE <= 11"),p=l?s.createElement("span",{key:"A","data-text":"true"},"\n"):s.createElement("br",{key:"A","data-text":"true"}),f=l?s.createElement("span",{key:"B","data-text":"true"},"\n"):s.createElement("br",{key:"B","data-text":"true"}),d=function(t){function e(n){r(this,e);var i=o(this,t.call(this,n));return i._forceFlag=!1,i}return i(e,t),e.prototype.shouldComponentUpdate=function(t){
23
+ var e=u.findDOMNode(this),n=""===t.children;return n?!a(e):e.textContent!==t.children},e.prototype.componentWillUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?p:f:s.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(s.Component);t.exports=d},function(t,e){"use strict";var n={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map(function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t});for(var a,s,u=r,c=null,l=null,p=0;p<i.length;p++){if(s=i[p],a=u+s.length,t<a&&u<e)null!==c?l=a:(c=u,l=a);else if(null!==c)break;u=a}var f=r+n.length,d=c===r,h=l===f;return(!d&&h||d&&!h)&&("forward"===o?l!==f&&l++:c!==r&&c--),{start:c,end:l}}};t.exports=n},function(t,e,n){"use strict";var r,o=n(5),i=n(286),a=n(15),s=o.OrderedMap,u={getDirectionMap:function(t,e){r?r.reset():r=new i;var n=t.getBlockMap(),u=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),c=s(n.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}};t.exports=u},function(t,e,n){"use strict";var r=n(22),o=n(10),i=n(4),a=(n(34),n(233)),s=n(15),u={currentBlockContainsLink:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===r.get(e).getType()})},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e){switch(e){case"bold":return u.toggleInlineStyle(t,"BOLD");case"italic":return u.toggleInlineStyle(t,"ITALIC");case"underline":return u.toggleInlineStyle(t,"UNDERLINE");case"code":return u.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return u.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return u.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=o.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=i.push(t,e,"insert-characters");return i.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),a=n.getBlockBefore(r);if(a&&"atomic"===a.getType()){var s=e.merge({anchorKey:a.getKey(),anchorOffset:0}),c=o.setBlockType(n,s,n.getBlockForKey(r).getType()),l=o.removeRange(c,s,"backward");if(l!==n)return i.push(t,l,"remove-range")}var p=u.tryToRemoveBlockStyle(t);return p?i.push(t,p,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),r=e.getStartKey(),a=n.getBlockForKey(r),s=a.getLength();if(e.getStartOffset()<s)return null;var u=n.getBlockAfter(r);if(!u||"atomic"!==u.getType())return null;var c=e.merge({focusKey:u.getKey(),focusOffset:u.getLength()}),l=o.removeRange(n,c,"forward");return l!==n?i.push(t,l,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),o=r.getAnchorKey();if(o!==r.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(o),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=s.getBlockBefore(o);if(!l)return e;var p=l.getType();if("unordered-list-item"!==p&&"ordered-list-item"!==p)return e;var f=u.getDepth();if(!t.shiftKey&&f===n)return e;n=Math.min(l.getDepth()+1,n);var d=a(s,r,t.shiftKey?-1:1,n);return i.push(e,d,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),r=n.getStartKey(),a=n.getEndKey(),u=t.getCurrentContent(),c=n;if(r!==a&&0===n.getEndOffset()){var l=s(u.getBlockBefore(a));a=l.getKey(),c=c.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:a,focusOffset:l.getLength(),isBackward:!1})}var p=u.getBlockMap().skipWhile(function(t,e){return e!==r}).reverse().skipWhile(function(t,e){return e!==a}).some(function(t){return"atomic"===t.getType()});if(p)return t;var f=u.getBlockForKey(r).getType()===e?"unstyled":e;return i.push(t,o.setBlockType(u,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?u.toggleBlockType(t,"code-block"):u.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),r=t.getCurrentInlineStyle();if(n.isCollapsed())return i.setInlineStyleOverride(t,r.has(e)?r.remove(e):r.add(e));var a,s=t.getCurrentContent();return a=r.has(e)?o.removeInlineStyle(s,n,e):o.applyInlineStyle(s,n,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var r=o.applyEntity(t.getCurrentContent(),e,n);return i.push(t,r,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var r=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(r);if(a.getLength()>0)return null;var s=a.getType(),u=i.getBlockBefore(r);if("code-block"===s&&u&&"code-block"===u.getType())return null;if("unstyled"!==s)return o.setBlockType(i,e,"unstyled")}return null}};t.exports=u},function(t,e,n){"use strict";var r=n(10),o=n(4),i=n(53),a=n(15),s=null,u={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return t;u=n.set("focusOffset",l)}else u=n;u=a(u),s=i(e,u);var p=r.removeRange(e,u,"forward");return p===e?t:o.push(t,p,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=u},function(t,e){"use strict";function n(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===o}).takeUntil(function(t,e){return e===i}).concat([[i,a.get(i)]]).map(function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)});return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=t.getCharacterList();e<n;)i=i.set(e,o.applyEntity(i.get(e),r)),e++;return t.set("characterList",i)}var o=n(17);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=r.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).toOrderedMap().merge(o.OrderedMap([[u,r.get(u)]])).map(function(t,e){var r=e===a?s:0,o=e===u?c:t.getLength();return i(t,r,o,n)});return t.merge({blockMap:r.merge(l),selectionBefore:e,selectionAfter:e})}var o=n(5),i=n(234);t.exports=r},function(t,e,n){"use strict";function r(t){var e=0,n={},r=[];t.getBlockMap().forEach(function(t,o){t.findEntityRanges(function(t){return null!==t.getEntity()},function(r){var o=i.stringify(t.getEntityAt(r));n.hasOwnProperty(o)||(n[o]=""+e++)}),r.push({key:o,text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:s(t),entityRanges:a(t,n),data:t.getData().toObject()})});var u=Object.keys(n),c={};return u.forEach(function(t,e){var n=o.get(i.unstringify(t));c[e]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}}),{entityMap:c,blocks:r}}var o=n(22),i=n(120),a=n(253),s=n(254);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.blocks,n=t.entityMap,r={};Object.keys(n).forEach(function(t){var e=n[t],o=e.type,i=e.mutability,a=e.data,s=u.create(o,i,a||{});r[t]=s});var o=e.map(function(t){var e=t.key,n=t.type,o=t.text,s=t.depth,u=t.inlineStyleRanges,c=t.entityRanges,g=t.data;e=e||d(),s=s||0,u=u||[],c=c||[],g=h(g);var v=f(o,u),y=c.filter(function(t){return r.hasOwnProperty(t.key)}).map(function(t){return i({},t,{key:r[t.key]})}),m=p(o,y),_=l(v,m);return new a({key:e,type:n,text:o,depth:s,characterList:_,data:g})});return s.createFromBlockArray(o)}var o=n(30),i=o||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(29),s=n(66),u=n(22),c=n(5),l=n(238),p=n(239),f=n(240),d=n(20),h=c.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.map(function(t,n){var r=e[n];return o.create({style:t,entity:r})});return a(n)}var o=n(17),i=n(5),a=i.List;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length,a=r;a<o;a++)n[a]=e.key}),n}var o=n(31),i=o.substr;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(u);return e&&e.forEach(function(e){for(var r=s(t,0,e.offset).length,o=r+s(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++}),n}var o=n(31),i=n(5),a=i.OrderedSet,s=o.substr,u=a();t.exports=r},function(t,e,n){"use strict";function r(t){return v&&(t==h||t==g)}function o(t,e,n,r){var o=s.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return u.push(t,o,"insert-characters")}function i(t){var e=t.data;if(e){if(this.props.handleBeforeInput&&d(this.props.handleBeforeInput(e)))return void t.preventDefault();var n=this.props.editorState,i=n.getSelection();if(!i.isCollapsed())return t.preventDefault(),void this.update(o(n,e,n.getCurrentInlineStyle(),l(n.getCurrentContent(),n.getSelection())));var s=!p(n),c=o(n,e,n.getCurrentInlineStyle(),l(n.getCurrentContent(),n.getSelection()));if(!s)return t.preventDefault(),void this.update(c);var h=i.getAnchorKey(),g=n.getBlockTree(h),v=a.getFingerprint(g),y=a.getFingerprint(c.getBlockTree(h));r(e)||v!==y||f(c.getDirectionMap()).get(h)!==f(n.getDirectionMap()).get(h)?t.preventDefault():c=u.set(c,{nativelyRenderedContent:c.getCurrentContent()}),this.update(c)}}var a=n(114),s=n(10),u=n(4),c=n(21),l=n(70),p=n(131),f=n(15),d=n(54),h="'",g="/",v=c.isBrowser("Firefox");t.exports=i},function(t,e,n){(function(e){"use strict";function r(t){s&&a()===document.body&&e.getSelection().removeAllRanges();var n=this.props.editorState,r=n.getSelection();if(r.getHasFocus()){var i=r.set("hasFocus",!1);this.props.onBlur&&this.props.onBlur(t),this.update(o.acceptSelection(n,i))}}var o=n(4),i=n(21),a=n(56),s=i.isEngine("WebKit");t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(){this.setRenderGuard(),this.setMode("composite"),this.update(o.set(this.props.editorState,{inCompositionMode:!0}))}var o=n(4);t.exports=r},function(t,e,n){"use strict";function r(t){var e=this.props.editorState,n=e.getSelection();return n.isCollapsed()?void t.preventDefault():void this.setClipboard(o(this.props.editorState))}var o=n(124);t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=this.props.editorState,r=n.getSelection();if(r.isCollapsed())return void t.preventDefault();var i=s.getScrollParent(t.target),a=c(i),l=a.x,p=a.y,f=u(n);this.setClipboard(f),this.setRenderGuard(),this.setMode("cut"),setTimeout(function(){e.restoreEditorDOM({x:l,y:p}),e.removeRenderGuard(),e.exitCurrentMode(),e.update(o(n))},0)}function o(t){var e=i.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return a.push(t,e,"remove-range")}var i=n(10),a=n(4),s=n(73),u=n(124),c=n(76);t.exports=r},function(t,e){"use strict";function n(t){this._internalDrag=!1,this.setMode("drag"),t.preventDefault()}t.exports=n},function(t,e){"use strict";function n(){this._internalDrag=!0,this.setMode("drag")}t.exports=n},function(t,e,n){"use strict";function r(t){var e=this.props.editorState,n=e.getSelection();if(!n.getHasFocus()){var r=n.set("hasFocus",!0);this.props.onFocus&&this.props.onFocus(t),this.update(o.forceSelection(e,r))}}var o=n(4);t.exports=r},function(t,e,n){(function(e){"use strict";function r(){var t=e.getSelection(),n=t.anchorNode,r=t.isCollapsed;if(n.nodeType===Node.TEXT_NODE){var u=n.textContent,d=this.props.editorState,h=l(c(n)),g=i.decode(h),v=g.blockKey,y=g.decoratorKey,m=g.leafKey,_=d.getBlockTree(v).getIn([y,"leaves",m]),b=_.start,w=_.end,x=d.getCurrentContent(),S=x.getBlockForKey(v),C=S.getText().slice(b,w);if(u.endsWith(f)&&(u=u.slice(0,-1)),u!==C){var E,k,D,T,M=d.getSelection(),O=M.merge({anchorOffset:b,focusOffset:w,isBackward:!1}),I=S.getEntityAt(b),R=I&&s.get(I),A=R&&R.getMutability(),N="MUTABLE"===A,P=N?"spellcheck-change":"apply-entity",L=o.replaceText(x,O,u,S.getInlineStyleAt(b),N?S.getEntityAt(b):null);if(p)E=t.anchorOffset,k=t.focusOffset,D=b+Math.min(E,k),T=D+Math.abs(E-k),E=D,k=T;else{var U=u.length-C.length;D=M.getStartOffset(),T=M.getEndOffset(),E=r?T+U:D,k=T+U}var z=L.merge({selectionBefore:x.getSelectionAfter(),selectionAfter:M.merge({anchorOffset:E,focusOffset:k})});this.update(a.push(d,z,P))}}}var o=n(10),i=n(51),a=n(4),s=n(22),u=n(21),c=n(69),l=n(15),p=u.isEngine("Gecko"),f="\n\n";t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t,e){switch(t){case"redo":return a.redo(e);case"delete":return v(e);case"delete-word":return d(e);case"backspace":return g(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return p(e);case"split-block":return h(e);case"transpose-characters":return _(e);case"move-selection-to-start-of-block":return m(e);case"move-selection-to-end-of-block":return y(e);case"secondary-cut":return c.cut(e);case"secondary-paste":return c.paste(e);default:return e}}function o(t){var e=t.which,n=this.props.editorState;switch(e){case u.RETURN:if(t.preventDefault(),this.props.handleReturn&&w(this.props.handleReturn(t)))return;break;case u.ESC:return t.preventDefault(),void(this.props.onEscape&&this.props.onEscape(t));case u.TAB:return void(this.props.onTab&&this.props.onTab(t));case u.UP:return void(this.props.onUpArrow&&this.props.onUpArrow(t));case u.DOWN:return void(this.props.onDownArrow&&this.props.onDownArrow(t));case u.SPACE:if(S&&x(t)){t.preventDefault();var o=i.replaceText(n.getCurrentContent(),n.getSelection()," ");return void this.update(a.push(n,o,"insert-characters"))}}var s=this.props.keyBindingFn(t);if(s){if("undo"===s)return void b(t,n,this.update);if(t.preventDefault(),!this.props.handleKeyCommand||!w(this.props.handleKeyCommand(s))){var c=r(s,n);c!==n&&this.update(c)}}}var i=n(10),a=n(4),s=n(68),u=n(55),c=n(232),l=n(21),p=n(264),f=n(265),d=n(266),h=n(267),g=n(270),v=n(271),y=n(268),m=n(269),_=n(272),b=n(273),w=n(54),x=s.isOptionKeyCommand,S=l.isBrowser("Chrome");t.exports=o},function(t,e,n){"use strict";function r(t){var e=this;t.preventDefault();var n=new u(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),v=n.getText();if(r.length>0){if(this.props.handlePastedFiles&&g(this.props.handlePastedFiles(r)))return;return void d(r,function(t){if(t=t||v){var n=e.props.editorState,r=h(t),o=s.create({style:n.getCurrentInlineStyle(),entity:f(n.getCurrentContent(),n.getSelection())}),i=l.processText(r,o),u=a.createFromArray(i),d=c.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(p.push(n,d,"insert-fragment"))}})}}var y=[],m=n.getText(),_=n.getHTML();if(!this.props.handlePastedText||!g(this.props.handlePastedText(m,_))){if(m&&(y=h(m)),!this.props.stripPastedStyles){var b=this.getClipboard();if(n.isRichText()&&b){if(_.indexOf(this.getEditorKey())!==-1||1===y.length&&1===b.size&&b.first().getText()===m)return void this.update(o(this.props.editorState,b))}else if(b&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(y,b))return void this.update(o(this.props.editorState,b));if(_){var w=l.processHTML(_,this.props.blockRenderMap);if(w){var x=a.createFromArray(w);return void this.update(o(this.props.editorState,x))}}this.setClipboard(null)}if(y){var S=this.props.editorState,C=s.create({style:S.getCurrentInlineStyle(),entity:f(S.getCurrentContent(),S.getSelection())}),E=l.processText(y,C),k=a.createFromArray(E);this.update(o(this.props.editorState,k))}}}function o(t,e){var n=c.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return p.push(t,n,"insert-fragment")}function i(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}var a=n(39),s=n(17),u=n(134),c=n(10),l=n(118),p=n(4),f=n(70),d=n(128),h=n(278),g=n(54);t.exports=r},function(t,e,n){"use strict";function r(){if(!this._blockSelectEvents){var t=this.props.editorState,e=a(t,i.findDOMNode(this.refs.editorContainer).firstChild),n=e.selectionState;n!==t.getSelection()&&(t=e.needsRecovery?o.forceSelection(t,n):o.acceptSelection(t,n),this.update(t))}}var o=n(4),i=n(13),a=n(257);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(r,i){var s=t.getText(),u=t.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,i)),key:Number(e[o.stringify(u)])})}),n}var o=n(120),i=n(31),a=i.strlen;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=[],o=e.map(function(t){return t.has(n)}).toList();return a(o,s,u,function(e,o){var a=t.getText();r.push({offset:i.strlen(a.slice(0,e)),length:i.strlen(a.slice(e,o)),style:n})}),r}function o(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return r(t,e,n)});return Array.prototype.concat.apply(c,n.toJS())}var i=n(31),a=n(52),s=function(t,e){return t===e},u=function(t){return!!t},c=[];t.exports=o},function(t,e,n){"use strict";function r(t){var e=getComputedStyle(t),n=document.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M",document.body.appendChild(n);var r=n.getBoundingClientRect();return document.body.removeChild(n),r.height}function o(t,e){for(var n=1/0,r=1/0,o=-(1/0),i=-(1/0),a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function i(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function a(t){t.collapsed?void 0:c(!1),t=t.cloneRange();var e=t.startContainer;1!==e.nodeType&&(e=e.parentNode);var n=r(e),a=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);o(u(t),n)&&(a=t.startContainer,l=t.startOffset,a.parentNode?void 0:c(!1),t.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var p=a,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&s.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!o(u(t),n))break;a=p,l=h}if(h===-1||0===p.childNodes.length)break;p=p.childNodes[h],f=i(p)}return t.setStart(a,l),t}var s=n(31),u=n(125),c=n(1);t.exports=a},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartOffset(),u=e.getEndOffset(),c=t.getEntityAt(r);if(!c)return e;var l=o.get(c),p=l.getMutability();if("MUTABLE"===p)return e;var f=a(t,c).filter(function(t){return r<t.end&&u>t.start});1!=f.length?s(!1):void 0;var d=f[0];if("IMMUTABLE"===p)return e.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});var h=i.getRemovalRange(r,u,t.getText().slice(d.start,d.end),d.start,n);return e.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var o=n(22),i=n(229),a=n(259),s=n(1);t.exports=r},function(t,e,n){(function(e){"use strict";function r(t,n){var r=e.getSelection();return 0===r.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(t,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n(123);t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t){var e=o(t),n=0,r=0,i=0,a=0;if(e.length){var s=e[0];n=s.top,r=s.right,i=s.bottom,a=s.left;for(var u=1;u<e.length;u++){var c=e[u];0===c.height&&0===c.width||(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),a=Math.min(a,c.left))}}return{top:n,right:r,bottom:i,left:a,width:r-a,height:i-n}}var o=n(125);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length?void 0:o(!1),n}var o=n(1);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),r=o(n),i=r.top,a=r.right,s=r.bottom,u=r.left;return 0===i&&0===a&&0===s&&0===u?null:r}var o=n(258);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){e.isCollapsed()?void 0:s(!1);var r,u,c=e.getStartKey(),l=e.getStartOffset(),p=t.getBlockMap(),f=n.size;if(1===f){var d=p.get(c),h=n.first(),g=d.getText(),v=d.getCharacterList(),y=d.merge({text:g.slice(0,l)+h.getText()+g.slice(l),characterList:a(v,h.getCharacterList(),l),data:h.getData()});return p=p.set(c,y),r=c,u=l+h.getText().length,t.merge({blockMap:p.set(c,y),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:u,focusKey:r,focusOffset:u,isBackward:!1})})}var m=[];return t.getBlockMap().forEach(function(t,e){if(e!==c)return void m.push(t);var o=t.getText(),a=t.getCharacterList(),s=o.length,u=o.slice(0,l),p=a.slice(0,l),d=n.first(),h=t.merge({text:u+d.getText(),characterList:p.concat(d.getCharacterList()),type:u?t.getType():d.getType(),data:d.getData()});m.push(h),n.slice(1,f-1).forEach(function(t){m.push(t.set("key",i()))});var g=o.slice(l,s),v=a.slice(l,s),y=n.last();r=i();var _=y.merge({key:r,text:y.getText()+g,characterList:y.getCharacterList().concat(v),data:y.getData()});m.push(_)}),u=n.last().getLength(),t.merge({blockMap:o.createFromArray(m),selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:u,focusKey:r,focusOffset:u,isBackward:!1})})}var o=n(39),i=n(20),a=n(130),s=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){e.isCollapsed()?void 0:a(!1);var o=n.length;if(!o)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),p=u.get(c),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:i(p.getCharacterList(),s(r,o).toList(),l)}),h=l+o;return t.merge({blockMap:u.set(c,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}var o=n(5),i=n(130),a=n(1),s=o.Repeat;t.exports=r},function(t,e,n){"use strict";function r(t){return t.which===o.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var o=n(55);t.exports=r},function(t,e,n){(function(e){"use strict";function r(t){var n=u(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return s(t,1);var r=e.getSelection(),o=r.getRangeAt(0);return o=i(o),a(t,null,o.endContainer,o.endOffset,o.startContainer,o.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:o.push(t,n,"remove-range")}var o=n(4),i=n(255),a=n(123),s=n(71),u=n(40);t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return a(t,1);var r=e.getStartKey(),i=t.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(0,n),u=o.getBackward(s);return a(t,u.length||1)},"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(119),i=n(4),a=n(71),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),r=e.getStartKey(),i=t.getCurrentContent(),s=i.getBlockForKey(r).getText().slice(n),u=o.getForward(s);return a(t,u.length||1)},"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}var o=n(119),i=n(4),a=n(132),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}var o=n(10),i=n(4);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getEndKey(),r=t.getCurrentContent(),i=r.getBlockForKey(n).getLength();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})}var o=n(4);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getStartKey();return o.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var o=n(4);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o-1];return a(t,s?i.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var o=n(4),i=n(31),a=n(71),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),o=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[o];return a(t,s?i.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return o.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var o=n(4),i=n(31),a=n(132),s=n(40);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var r=e.getAnchorKey(),s=t.getCurrentContent(),u=s.getBlockForKey(r),c=u.getLength();if(c<=1)return t;var l,p;n===c?(l=e.set("anchorOffset",n-1),p=e):(l=e.set("focusOffset",n+1),p=l.set("anchorOffset",n+1));var f=a(s,l),d=o.removeRange(s,l,"backward"),h=d.getSelectionAfter(),g=h.getAnchorOffset()-1,v=h.merge({anchorOffset:g,focusOffset:g}),y=o.replaceWithFragment(d,v,f),m=i.push(t,y,"insert-fragment");return i.acceptSelection(m,p)}var o=n(10),i=n(4),a=n(53);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=o.undo(e);if("spellcheck-change"===e.getLastChangeType()){var i=r.getCurrentContent();return void n(o.set(r,{nativelyRenderedContent:i}))}return t.preventDefault(),e.getNativelyRenderedContent()?(n(o.set(e,{nativelyRenderedContent:null})),void setTimeout(function(){n(r)},0)):void n(r)}var o=n(4);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===r}).takeUntil(function(t,e){return e===o}).concat(i([[o,a.get(o)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}var o=n(5),i=o.Map;t.exports=r},function(t,e,n){"use strict";function r(t,e){if(e.isCollapsed())return t;var n,r=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=r.get(a),p=r.get(u);n=l===p?o(l.getCharacterList(),s,c):l.getCharacterList().slice(0,s).concat(p.getCharacterList().slice(c));var f=l.merge({text:l.getText().slice(0,s)+p.getText().slice(c),characterList:n}),d=r.toSeq().skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).concat(i.Map([[u,null]])).map(function(t,e){return e===a?f:null});return r=r.merge(d).filter(function(t){return!!t}),t.merge({blockMap:r,selectionBefore:e,selectionAfter:e.merge({anchorKey:a,anchorOffset:s,focusKey:a,focusOffset:s,isBackward:!1})})}function o(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}var i=n(5);t.exports=r},function(t,e,n){(function(e){"use strict";function r(t,n,r,s,u){if(a(document.documentElement,n)){var c=e.getSelection(),l=t.getAnchorKey(),p=t.getAnchorOffset(),f=t.getFocusKey(),d=t.getFocusOffset(),h=t.getIsBackward();if(!c.extend&&h){var g=l,v=p;l=f,p=d,f=g,d=v,h=!1}var y=l===r&&s<=p&&u>=p,m=f===r&&s<=d&&u>=d;if(y&&m)return c.removeAllRanges(),i(c,n,p-s),void o(c,n,d-s);if(h){if(m&&(c.removeAllRanges(),i(c,n,d-s)),y){var _=c.focusNode,b=c.focusOffset;c.removeAllRanges(),i(c,n,p-s),o(c,_,b)}}else y&&(c.removeAllRanges(),i(c,n,p-s)),m&&o(c,n,d-s)}}function o(t,e,n){if(t.extend&&a(s(),e))t.extend(e,n);else{var r=t.getRangeAt(0);r.setEnd(e,n),t.addRange(r.cloneRange())}}function i(t,e,n){var r=document.createRange();r.setStart(e,n),t.addRange(r)}var a=n(75),s=n(56);t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t,e){e.isCollapsed()?void 0:a(!1);var n=e.getAnchorKey(),r=e.getAnchorOffset(),o=t.getBlockMap(),u=o.get(n),c=u.getText(),l=u.getCharacterList(),p=u.merge({text:c.slice(0,r),characterList:l.slice(0,r)}),f=i(),d=p.merge({key:f,text:c.slice(r),characterList:l.slice(r),data:s()}),h=o.toSeq().takeUntil(function(t){return t===u}),g=o.toSeq().skipUntil(function(t){return t===u}).rest(),v=h.concat([[p.getKey(),p],[d.getKey(),d]],g).toOrderedMap();return t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:0,focusKey:f,focusOffset:0,isBackward:!1})})}var o=n(5),i=n(20),a=n(1),s=o.Map;t.exports=r},function(t,e){"use strict";function n(t){return t.split(r)}var r=/\r\n?|\n/g;t.exports=n},,,,,function(t,e){"use strict";function n(t){return t.split("/")}var r={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var e=n(t);return r.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};t.exports=r},function(t,e){"use strict";var n="[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]";t.exports={getPunctuation:function(){return n}}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(e){n(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(137),i=n(74),a=n(1),s=function(){function t(e){r(this,t),e?i.isStrong(e)?void 0:a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},function(t,e,n){"use strict";function r(t){return s[t]||t}function o(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}var i=n(370),a="Unknown",s={"Mac OS":"Mac OS X"},u=new i,c=u.getResult(),l=o(c.browser.version),p={browserArchitecture:c.cpu.architecture||a,browserFullVersion:c.browser.version||a,browserMinorVersion:l.minor||a,browserName:c.browser.name||a,browserVersion:c.browser.major||a,deviceName:c.device.model||a,engineName:c.engine.name||a,engineVersion:c.engine.version||a,platformArchitecture:c.cpu.architecture||a,platformName:r(c.os.name)||a,platformVersion:c.os.version||a,platformFullVersion:c.os.version||a};t.exports=p},function(t,e,n){"use strict";function r(t,e){var n=t.split(x);return n.length>1?n.some(function(t){return k.contains(t,e)}):(t=n[0].trim(),o(t,e))}function o(t,e){var n=t.split(S);if(n.length>0&&n.length<=2?void 0:b(!1),1===n.length)return i(n[0],e);var r=n[0],o=n[1];return h(r)&&h(o)?void 0:b(!1),i(">="+r,e)&&i("<="+o,e)}function i(t,e){if(t=t.trim(),""===t)return!0;var n=e.split(w),r=f(t),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return s(n,i);case">=":return c(n,i);case">":return l(n,i);case"~":case"~>":return p(n,i);default:return u(n,i)}}function a(t,e){return _(t,e)===-1}function s(t,e){var n=_(t,e);return n===-1||0===n}function u(t,e){return 0===_(t,e)}function c(t,e){var n=_(t,e);return 1===n||0===n}function l(t,e){return 1===_(t,e)}function p(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),c(t,n)&&a(t,r)}function f(t){var e=t.split(w),n=e[0].match(C);return n?void 0:b(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function g(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function v(t,e){t=t.slice(),
24
+ e=e.slice(),g(t,e.length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return g(e,t.length),[t,e]}function y(t,e){var n=t.match(E)[1],r=e.match(E)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e?b(!1):void 0,t>e?1:t<e?-1:0}function _(t,e){for(var n=v(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=y(r[i],o[i]);if(a)return a}return 0}var b=n(1),w=/\./,x=/\|\|/,S=/\s+\-\s+/,C=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,E=/^(\d*)(.*)/,k={contains:function(t,e){return r(t.trim(),e.trim())}};t.exports=k},function(t,e,n){"use strict";function r(t){return o(t.replace(i,"ms-"))}var o=n(138),i=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.match(l);return e&&e[1].toLowerCase()}function o(t,e){var n=c;c?void 0:u(!1);var o=r(t),i=o&&s(o);if(i){n.innerHTML=i[1]+t+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=t;var p=n.getElementsByTagName("script");p.length&&(e?void 0:u(!1),a(p).forEach(e));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var i=n(11),a=n(139),s=n(294),u=n(1),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=o},function(t,e){"use strict";function n(t){return t=t||document,r||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=n},function(t,e,n){"use strict";function r(t){var e=o(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}var o=n(293);t.exports=r},function(t,e,n){"use strict";function r(t){var e=document.documentElement;if(!("getBoundingClientRect"in t&&o(e,t)))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}var o=n(75);t.exports=r},function(t,e,n){"use strict";function r(t){return a?void 0:i(!1),f.hasOwnProperty(t)||(t="*"),s.hasOwnProperty(t)||("*"===t?a.innerHTML="<link />":a.innerHTML="<"+t+"></"+t+">",s[t]=!a.firstChild),s[t]?f[t]:null}var o=n(11),i=n(1),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l},d=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];d.forEach(function(t){f[t]=p,s[t]=!0}),t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?t:String(t)}function o(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return r(n.getPropertyValue(a(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return r(n.getPropertyValue(a(e)));if("display"===e)return"none"}return r(t.currentStyle?"float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[i(e)]:t.style&&t.style[i(e)])}var i=n(138),a=n(142);t.exports=o},function(t,e){"use strict";function n(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function r(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function o(){return{width:window.innerWidth||n(),height:window.innerHeight||r()}}o.withoutScrollbars=function(){return{width:n(),height:r()}},t.exports=o},function(t,e,n){"use strict";function r(t){return o(t).replace(i,"-ms-")}var o=n(142),i=/^ms-/;t.exports=r},function(t,e){"use strict";function n(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=n},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(298);t.exports=r},function(t,e){"use strict";function n(t){t||(t="");var e=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)e=arguments[r],e&&(t=(t?t+" ":"")+e);return t}t.exports=n},function(t,e){"use strict";function n(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},,,,,,,function(t,e,n){"use strict";var r=n(8),o=n(140),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=i},function(t,e,n){"use strict";function r(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}function o(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function i(t){switch(t){case T.topCompositionStart:return M.compositionStart;case T.topCompositionEnd:return M.compositionEnd;case T.topCompositionUpdate:return M.compositionUpdate}}function a(t,e){return t===T.topKeyDown&&e.keyCode===w}function s(t,e){switch(t){case T.topKeyUp:return b.indexOf(e.keyCode)!==-1;case T.topKeyDown:return e.keyCode!==w;case T.topKeyPress:case T.topMouseDown:case T.topBlur:return!0;default:return!1}}function u(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function c(t,e,n,r){var o,c;if(x?o=i(t):I?s(t,n)&&(o=M.compositionEnd):a(t,n)&&(o=M.compositionStart),!o)return null;E&&(I||o!==M.compositionStart?o===M.compositionEnd&&I&&(c=I.getData()):I=v.getPooled(r));var l=y.getPooled(o,e,n,r);if(c)l.data=c;else{var p=u(n);null!==p&&(l.data=p)}return h.accumulateTwoPhaseDispatches(l),l}function l(t,e){switch(t){case T.topCompositionEnd:return u(e);case T.topKeyPress:var n=e.which;return n!==k?null:(O=!0,D);case T.topTextInput:var r=e.data;return r===D&&O?null:r;default:return null}}function p(t,e){if(I){if(t===T.topCompositionEnd||!x&&s(t,e)){var n=I.getData();return v.release(I),I=null,n}return null}switch(t){case T.topPaste:return null;case T.topKeyPress:return e.which&&!o(e)?String.fromCharCode(e.which):null;case T.topCompositionEnd:return E?null:e.data;default:return null}}function f(t,e,n,r){var o;if(o=C?l(t,n):p(t,n),!o)return null;var i=m.getPooled(M.beforeInput,e,n,r);return i.data=o,h.accumulateTwoPhaseDispatches(i),i}var d=n(23),h=n(43),g=n(11),v=n(315),y=n(351),m=n(354),_=n(26),b=[9,13,27,32],w=229,x=g.canUseDOM&&"CompositionEvent"in window,S=null;g.canUseDOM&&"documentMode"in document&&(S=document.documentMode);var C=g.canUseDOM&&"TextEvent"in window&&!S&&!r(),E=g.canUseDOM&&(!x||S&&S>8&&S<=11),k=32,D=String.fromCharCode(k),T=d.topLevelTypes,M={beforeInput:{phasedRegistrationNames:{bubbled:_({onBeforeInput:null}),captured:_({onBeforeInputCapture:null})},dependencies:[T.topCompositionEnd,T.topKeyPress,T.topTextInput,T.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:_({onCompositionEnd:null}),captured:_({onCompositionEndCapture:null})},dependencies:[T.topBlur,T.topCompositionEnd,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:_({onCompositionStart:null}),captured:_({onCompositionStartCapture:null})},dependencies:[T.topBlur,T.topCompositionStart,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:_({onCompositionUpdate:null}),captured:_({onCompositionUpdateCapture:null})},dependencies:[T.topBlur,T.topCompositionUpdate,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]}},O=!1,I=null,R={eventTypes:M,extractEvents:function(t,e,n,r){return[c(t,e,n,r),f(t,e,n,r)]}};t.exports=R},function(t,e,n){"use strict";var r=n(146),o=n(11),i=(n(16),n(289),n(361)),a=n(297),s=n(143),u=(n(3),s(function(t){return a(t)})),c=!1,l="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(f){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var d={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];null!=o&&(n+=u(r)+":",n+=i(r,o,e)+";")}return n||null},setValueForStyles:function(t,e,n){var o=t.style;for(var a in e)if(e.hasOwnProperty(a)){var s=i(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)o[a]=s;else{var u=c&&r.shorthandPropertyExpansions[a];if(u)for(var p in u)o[p]="";else o[a]=""}}}};t.exports=d},function(t,e,n){"use strict";function r(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function o(t){var e=C.getPooled(O.change,R,t,E(t));b.accumulateTwoPhaseDispatches(e),S.batchedUpdates(i,e)}function i(t){_.enqueueEvents(t),_.processEventQueue(!1)}function a(t,e){I=t,R=e,I.attachEvent("onchange",o)}function s(){I&&(I.detachEvent("onchange",o),I=null,R=null)}function u(t,e){if(t===M.topChange)return e}function c(t,e,n){t===M.topFocus?(s(),a(e,n)):t===M.topBlur&&s()}function l(t,e){I=t,R=e,A=t.value,N=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(I,"value",U),I.attachEvent?I.attachEvent("onpropertychange",f):I.addEventListener("propertychange",f,!1)}function p(){I&&(delete I.value,I.detachEvent?I.detachEvent("onpropertychange",f):I.removeEventListener("propertychange",f,!1),I=null,R=null,A=null,N=null)}function f(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==A&&(A=e,o(t))}}function d(t,e){if(t===M.topInput)return e}function h(t,e,n){t===M.topFocus?(p(),l(e,n)):t===M.topBlur&&p()}function g(t,e){if((t===M.topSelectionChange||t===M.topKeyUp||t===M.topKeyDown)&&I&&I.value!==A)return A=I.value,R}function v(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function y(t,e){if(t===M.topClick)return e}var m=n(23),_=n(42),b=n(43),w=n(11),x=n(8),S=n(19),C=n(24),E=n(98),k=n(100),D=n(173),T=n(26),M=m.topLevelTypes,O={change:{phasedRegistrationNames:{bubbled:T({onChange:null}),captured:T({onChangeCapture:null})},dependencies:[M.topBlur,M.topChange,M.topClick,M.topFocus,M.topInput,M.topKeyDown,M.topKeyUp,M.topSelectionChange]}},I=null,R=null,A=null,N=null,P=!1;w.canUseDOM&&(P=k("change")&&(!document.documentMode||document.documentMode>8));var L=!1;w.canUseDOM&&(L=k("input")&&(!document.documentMode||document.documentMode>11));var U={get:function(){return N.get.call(this)},set:function(t){A=""+t,N.set.call(this,t)}},z={eventTypes:O,extractEvents:function(t,e,n,o){var i,a,s=e?x.getNodeFromInstance(e):window;if(r(s)?P?i=u:a=c:D(s)?L?i=d:(i=g,a=h):v(s)&&(i=y),i){var l=i(t,e);if(l){var p=C.getPooled(O.change,l,n,o);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(t,s,e)}};t.exports=z},function(t,e,n){"use strict";var r=n(2),o=n(37),i=n(11),a=n(290),s=n(12),u=(n(1),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM?void 0:r("56"),e?void 0:r("57"),"HTML"===t.nodeName?r("58"):void 0,"string"==typeof e){var n=a(e,s)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=u},function(t,e,n){"use strict";var r=n(26),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];t.exports=o},function(t,e,n){"use strict";var r=n(23),o=n(43),i=n(8),a=n(61),s=n(26),u=r.topLevelTypes,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},l={eventTypes:c,extractEvents:function(t,e,n,r){if(t===u.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(t!==u.topMouseOut&&t!==u.topMouseOver)return null;var s;if(r.window===r)s=r;else{var l=r.ownerDocument;s=l?l.defaultView||l.parentWindow:window}var p,f;if(t===u.topMouseOut){p=e;var d=n.relatedTarget||n.toElement;f=d?i.getClosestInstanceFromNode(d):null}else p=null,f=e;if(p===f)return null;var h=null==p?s:i.getNodeFromInstance(p),g=null==f?s:i.getNodeFromInstance(f),v=a.getPooled(c.mouseLeave,p,n,r);v.type="mouseleave",v.target=h,v.relatedTarget=g;var y=a.getPooled(c.mouseEnter,f,n,r);return y.type="mouseenter",y.target=g,y.relatedTarget=h,o.accumulateEnterLeaveDispatches(v,y,p,f),[v,y]}};t.exports=l},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var o=n(7),i=n(27),a=n(172);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);var s=e>1?1-e:void 0;return this._fallbackText=o.slice(t,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(38),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,"default":i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,"typeof":0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=c},function(t,e,n){"use strict";var r=n(7),o=n(149),i=n(85),a=n(340),s=n(150),u=n(325),c=n(18),l=n(164),p=n(94),f=n(367),d=(n(3),c.createElement),h=c.createFactory,g=c.cloneElement,v=r,y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:d,cloneElement:g,isValidElement:c.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:h,createMixin:function(t){return t},DOM:u,version:p,__spread:v};t.exports=y},function(t,e,n){(function(e){"use strict";function r(t,e,n,r){var o=void 0===t[n];null!=e&&o&&(t[n]=i(e,!0))}var o=n(33),i=n(99),a=(n(83),n(101)),s=n(102),u=(n(3),{instantiateChildren:function(t,e,n,o){if(null==t)return null;var i={};return s(t,r,i),i},updateChildren:function(t,e,n,r,s,u,c,l,p){if(e||t){var f,d;for(f in e)if(e.hasOwnProperty(f)){d=t&&t[f];var h=d&&d._currentElement,g=e[f];if(null!=d&&a(h,g))o.receiveComponent(d,g,s,l),e[f]=d;else{d&&(r[f]=o.getHostNode(d),o.unmountComponent(d,!1));var v=i(g,!0);e[f]=v;var y=o.mountComponent(v,s,u,c,l,p);n.push(y)}}for(f in t)!t.hasOwnProperty(f)||e&&e.hasOwnProperty(f)||(d=t[f],r[f]=o.getHostNode(d),o.unmountComponent(d,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];o.unmountComponent(r,e)}}});t.exports=u}).call(e,n(58))},function(t,e,n){"use strict";var r=n(79),o=n(327),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=i},function(t,e,n){"use strict";function r(t){}function o(t,e){}function i(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var s=n(2),u=n(7),c=n(86),l=n(28),p=n(18),f=n(88),d=n(44),h=(n(16),n(163)),g=(n(91),n(33)),v=n(360),y=n(35),m=(n(1),n(77)),_=n(101),b=(n(3),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=d.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return o(t,e),e};var w=1,x={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,u){this._context=u,this._mountOrder=w++,this._hostParent=e,this._hostContainerInfo=n;var c,l=this._currentElement.props,f=this._processContext(u),h=this._currentElement.type,g=t.getUpdateQueue(),v=i(h),m=this._constructComponent(v,l,f,g);v||null!=m&&null!=m.render?a(h)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(c=m,o(h,c),null===m||m===!1||p.isValidElement(m)?void 0:s("105",h.displayName||h.name||"Component"),m=new r(h),this._compositeType=b.StatelessFunctional),m.props=l,m.context=f,m.refs=y,m.updater=g,this._instance=m,d.set(m,this);var _=m.state;void 0===_&&(m.state=_=null),"object"!=typeof _||Array.isArray(_)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var x;return x=m.unstable_handleError?this.performInitialMountWithErrorHandling(c,e,n,t,u):this.performInitialMount(c,e,n,t,u),m.componentDidMount&&t.getReactMountReady().enqueue(m.componentDidMount,m),x},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var o=this._currentElement.type;return t?new o(e,n,r):o(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(t,e,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(t,e,n,r,o)}return i},performInitialMount:function(t,e,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===t&&(t=this._renderValidatedComponent());var s=h.getType(t);this._renderedNodeType=s;var u=this._instantiateReactComponent(t,s!==h.EMPTY);this._renderedComponent=u;var c=g.mountComponent(u,r,e,n,this._processChildContext(o),a);return c},getHostNode:function(){return g.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(g.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,d.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return y;var r={};for(var o in n)r[o]=t[o];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in e)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},t,e)}return t},_checkContextTypes:function(t,e,n){v(t,e,n,this.getName(),null,this._debugID)},receiveComponent:function(t,e,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(e,r,t,o,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?g.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===o?a=i.context:(a=this._processContext(o),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var p=this._processPendingState(l,a),f=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?f=i.shouldComponentUpdate(l,p,a):this._compositeType===b.PureClass&&(f=!m(c,l)||!m(i.state,p))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,p,a,t,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=p,i.context=a)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=u({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];u(i,"function"==typeof s?s.call(n,i,t,e):s)}return i},_performComponentUpdate:function(t,e,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,r),this._currentElement=t,this._context=i,c.props=e,c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(_(r,o))g.receiveComponent(n,o,t,this._processChildContext(e));else{var a=g.getHostNode(n);g.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var c=g.mountComponent(u,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){c.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t,e=this._instance;return t=e.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==b.StatelessFunctional){l.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{l.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||t===!1||p.isValidElement(t)?void 0:s("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=e.getPublicInstance(),o=n.refs===y?n.refs={}:n.refs;o[t]=r},detachRef:function(t){var e=this.getPublicInstance().refs;delete e[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===b.StatelessFunctional?null:t},_instantiateReactComponent:null},S={Mixin:x};t.exports=S},function(t,e,n){"use strict";var r=n(8),o=n(155),i=n(161),a=n(33),s=n(19),u=n(94),c=n(362),l=n(170),p=n(369);n(3),o.inject();var f={findDOMNode:c,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?r.getNodeFromInstance(t):null}},Mount:i,Reconciler:a}),t.exports=f},function(t,e,n){"use strict";var r=n(59),o={getHostProps:r.getHostProps};t.exports=o},function(t,e,n){"use strict";function r(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(t,e){e&&(Q[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?g("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?g("60"):void 0,"object"==typeof e.dangerouslySetInnerHTML&&V in e.dangerouslySetInnerHTML?void 0:g("61")),null!=e.style&&"object"!=typeof e.style?g("62",r(t)):void 0)}function i(t,e,n,r){if(!(r instanceof P)){var o=t._hostContainerInfo,i=o._node&&o._node.nodeType===G,s=i?o._node:o._ownerDocument;j(e,s),r.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;C.putListener(t.inst,t.registrationName,t.listener)}function s(){var t=this;O.postMountWrapper(t)}function u(){var t=this;A.postMountWrapper(t)}function c(){var t=this;I.postMountWrapper(t)}function l(){var t=this;t._rootNodeID?void 0:g("63");var e=F(t);switch(e?void 0:g("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[k.trapBubbledEvent(S.topLevelTypes.topLoad,"load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in Y)Y.hasOwnProperty(n)&&t._wrapperState.listeners.push(k.trapBubbledEvent(S.topLevelTypes[n],Y[n],e));break;case"source":t._wrapperState.listeners=[k.trapBubbledEvent(S.topLevelTypes.topError,"error",e)];break;case"img":t._wrapperState.listeners=[k.trapBubbledEvent(S.topLevelTypes.topError,"error",e),k.trapBubbledEvent(S.topLevelTypes.topLoad,"load",e)];break;case"form":t._wrapperState.listeners=[k.trapBubbledEvent(S.topLevelTypes.topReset,"reset",e),k.trapBubbledEvent(S.topLevelTypes.topSubmit,"submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[k.trapBubbledEvent(S.topLevelTypes.topInvalid,"invalid",e)]}}function p(){R.postUpdateWrapper(this)}function f(t){tt.call(Z,t)||($.test(t)?void 0:g("65",t),Z[t]=!0)}function d(t,e){return t.indexOf("-")>=0||null!=e.is}function h(t){var e=t.type;f(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(2),v=n(7),y=n(308),m=n(310),_=n(37),b=n(80),w=n(38),x=n(148),S=n(23),C=n(42),E=n(81),k=n(60),D=n(322),T=n(151),M=n(8),O=n(328),I=n(329),R=n(153),A=n(333),N=(n(16),n(338)),P=n(165),L=(n(12),n(62)),U=(n(1),n(100),n(26)),z=(n(77),n(103),n(3),T),B=C.deleteListener,F=M.getNodeFromInstance,j=k.listenTo,K=E.registrationNameModules,q={string:!0,number:!0},H=U({style:null}),V=U({__html:null}),W={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},G=11,Y={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},J={listing:!0,pre:!0,textarea:!0},Q=v({menuitem:!0},X),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z={},tt={}.hasOwnProperty,et=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=et++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"button":i=D.getHostProps(this,i,e);break;case"input":O.mountWrapper(this,i,e),i=O.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"option":I.mountWrapper(this,i,e),i=I.getHostProps(this,i);break;case"select":R.mountWrapper(this,i,e),i=R.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"textarea":A.mountWrapper(this,i,e),i=A.getHostProps(this,i),t.getReactMountReady().enqueue(l,this)}o(this,i);var a,p;null!=e?(a=e._namespaceURI,p=e._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===b.svg&&"foreignobject"===p)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var f;if(t.useCreateElement){var d,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var g=h.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+"></"+v+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);M.precacheNode(this,d),this._flags|=z.hasCachedChildNodes,this._hostParent||x.setAttributeForRoot(d),this._updateDOMProperties(null,i,t);var m=_(d);this._createInitialChildren(t,i,r,m),f=m}else{var w=this._createOpenTagMarkupAndPutListeners(t,i),S=this._createContentMarkup(t,i,r);f=!S&&X[this._tag]?w+"/>":w+">"+S+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(s,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(u,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"button":i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return f},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(K.hasOwnProperty(r))o&&i(this,r,o,t);else{r===H&&(o&&(o=this._previousStyleCopy=v({},e.style)),o=m.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,e)?W.hasOwnProperty(r)||(a=x.createMarkupForCustomAttribute(r,o)):a=x.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+x.createMarkupForRoot()),n+=" "+x.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=q[typeof e.children]?e.children:null,a=null!=i?null:e.children;
25
+ if(null!=i)r=L(i);else if(null!=a){var s=this.mountChildren(a,t,n);r=s.join("")}}return J[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=q[typeof e.children]?e.children:null,a=null!=i?null:e.children;if(null!=i)_.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,t,n),u=0;u<s.length;u++)_.queueChild(r,s[u])}},receiveComponent:function(t,e,n){var r=this._currentElement;this._currentElement=t,this.updateComponent(e,r,t,n)},updateComponent:function(t,e,n,r){var i=e.props,a=this._currentElement.props;switch(this._tag){case"button":i=D.getHostProps(this,i),a=D.getHostProps(this,a);break;case"input":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"option":i=I.getHostProps(this,i),a=I.getHostProps(this,a);break;case"select":i=R.getHostProps(this,i),a=R.getHostProps(this,a);break;case"textarea":i=A.getHostProps(this,i),a=A.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,t),this._updateDOMChildren(i,a,t,r),this._tag){case"input":O.updateWrapper(this);break;case"textarea":A.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(t,e,n){var r,o,a;for(r in t)if(!e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&null!=t[r])if(r===H){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else K.hasOwnProperty(r)?t[r]&&B(this,r):d(this._tag,t)?W.hasOwnProperty(r)||x.deleteValueForAttribute(F(this),r):(w.properties[r]||w.isCustomAttribute(r))&&x.deleteValueForProperty(F(this),r);for(r in e){var u=e[r],c=r===H?this._previousStyleCopy:null!=t?t[r]:void 0;if(e.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if(r===H)if(u?u=this._previousStyleCopy=v({},u):this._previousStyleCopy=null,c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(K.hasOwnProperty(r))u?i(this,r,u,n):c&&B(this,r);else if(d(this._tag,e))W.hasOwnProperty(r)||x.setValueForAttribute(F(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var l=F(this);null!=u?x.setValueForProperty(l,r,u):x.deleteValueForProperty(l,r)}}a&&m.setValueForStyles(F(this),a,this)},_updateDOMChildren:function(t,e,n,r){var o=q[typeof t.children]?t.children:null,i=q[typeof e.children]?e.children:null,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=null!=o?null:t.children,c=null!=i?null:e.children,l=null!=o||null!=a,p=null!=i||null!=s;null!=u&&null==c?this.updateChildren(null,n,r):l&&!p&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return F(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"html":case"head":case"body":g("66",this._tag)}this.unmountChildren(t),M.uncacheNode(this),C.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return F(this)}},v(h.prototype,h.Mixin,N.Mixin),t.exports=h},function(t,e,n){"use strict";var r=n(7),o=n(37),i=n(8),a=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(t,e,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=e,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(t.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return i.precacheNode(this,c),o(c)}return t.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=a},function(t,e,n){"use strict";var r=n(18),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=i},function(t,e){"use strict";var n={useCreateElement:!0};t.exports=n},function(t,e,n){"use strict";var r=n(79),o=n(8),i={dangerouslyProcessChildrenUpdates:function(t,e){var n=o.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=i},function(t,e,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);p.asap(r,this);var o=e.name;if("radio"===e.type&&null!=o){for(var a=l.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<u.length;f++){var d=u[f];if(d!==a&&d.form===a.form){var h=l.getInstanceFromNode(d);h?void 0:i("90"),p.asap(r,h)}}}return n}var i=n(2),a=n(7),s=n(59),u=n(148),c=n(84),l=n(8),p=n(19),f=(n(1),n(3),{getHostProps:function(t,e){var n=c.getValue(e),r=c.getChecked(e),o=a({type:void 0,step:void 0,min:void 0,max:void 0},s.getHostProps(t,e),{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=r?r:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange});return o},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(t),"checked",n||!1);var r=l.getNodeFromInstance(t),o=c.getValue(e);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==e.value&&null!=e.defaultValue&&(r.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(r.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=l.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});t.exports=f},function(t,e,n){"use strict";function r(t){var e="";return i.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:u||(u=!0))}),e}var o=n(7),i=n(149),a=n(8),s=n(153),u=(n(3),!1),c={mountWrapper:function(t,e,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=e.value?e.value+"":r(e.children),a=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===u){a=!0;break}}else a=""+o===u}t._wrapperState={selected:a}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){var n=a.getNodeFromInstance(t);n.setAttribute("value",e.value)}},getHostProps:function(t,e){var n=o({selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var i=r(e.children);return i&&(n.children=i),n}};t.exports=c},function(t,e,n){"use strict";function r(t,e,n,r){return t===n&&e===r}function o(t){var e=document.selection,n=e.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(t),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,o=e.anchorOffset,i=e.focusNode,a=e.focusOffset,s=e.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(u){return null}var c=r(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),l=c?0:s.toString().length,p=s.cloneRange();p.selectNodeContents(t),p.setEnd(s.startContainer,s.startOffset);var f=r(p.startContainer,p.startOffset,p.endContainer,p.endOffset),d=f?0:p.toString().length,h=d+l,g=document.createRange();g.setStart(n,o),g.setEnd(i,a);var v=g.collapsed;return{start:v?h:d,end:v?d:h}}function a(t,e){var n,r,o=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,r=n):e.start>e.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,o=Math.min(e.start,r),i=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=c(t,o),u=c(t,i);if(s&&u){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(u.node,u.offset)):(p.setEnd(u.node,u.offset),n.addRange(p))}}}var u=n(11),c=n(365),l=n(172),p=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:p?o:i,setOffsets:p?a:s};t.exports=f},function(t,e,n){"use strict";var r=n(155),o=n(344),i=n(94);r.inject();var a={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:i};t.exports=a},function(t,e,n){"use strict";var r=n(2),o=n(7),i=n(79),a=n(37),s=n(8),u=n(62),c=(n(1),n(103),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",c=" /react-text ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var l=n._ownerDocument,p=l.createComment(i),f=l.createComment(c),d=a(l.createDocumentFragment());return a.queueChild(d,a(p)),this._stringText&&a.queueChild(d,a(l.createTextNode(this._stringText))),a.queueChild(d,a(f)),s.precacheNode(this,p),this._closingComment=f,d}var h=u(this._stringText);return t.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+c+"-->"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return l.asap(r,this),n}var i=n(2),a=n(7),s=n(59),u=n(84),c=n(8),l=n(19),p=(n(1),n(3),{getHostProps:function(t,e){null!=e.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},s.getHostProps(t,e),{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange});return n},mountWrapper:function(t,e){var n=u.getValue(e),r=n;if(null==n){var a=e.defaultValue,s=e.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}t._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t),r=u.getValue(e);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==e.defaultValue&&(n.defaultValue=o)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=c.getNodeFromInstance(t);e.value=e.textContent}});t.exports=p},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t?void 0:u("33"),"_hostNode"in e?void 0:u("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,i=e;i;i=i._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t?void 0:u("35"),"_hostNode"in e?void 0:u("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t?void 0:u("36"),t._hostParent}function a(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],!1,n);for(o=0;o<r.length;o++)e(r[o],!0,n)}function s(t,e,n,o,i){for(var a=t&&e?r(t,e):null,s=[];t&&t!==a;)s.push(t),t=t._hostParent;for(var u=[];e&&e!==a;)u.push(e),e=e._hostParent;var c;for(c=0;c<s.length;c++)n(s[c],!0,o);for(c=u.length;c-- >0;)n(u[c],!1,i)}var u=n(2);n(1),t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(t,e,n){"use strict";function r(t){o.enqueueEvents(t),o.processEventQueue(!1)}var o=n(42),i={handleTopLevel:function(t,e,n,i){var a=o.extractEvents(t,e,n,i);r(a)}};t.exports=i},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=p.getNodeFromInstance(t),n=e.parentNode;return p.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=d(t.nativeEvent),n=p.getClosestInstanceFromNode(e),o=n;do t.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<t.ancestors.length;i++)n=t.ancestors[i],g._handleTopLevel(t.topLevelType,n,t.nativeEvent,d(t.nativeEvent))}function a(t){var e=h(window);t(e)}var s=n(7),u=n(135),c=n(11),l=n(27),p=n(8),f=n(19),d=n(98),h=n(141);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(o,l.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){g._handleTopLevel=t},setEnabled:function(t){g._enabled=!!t},isEnabled:function(){return g._enabled},trapBubbledEvent:function(t,e,n){var r=n;return r?u.listen(r,e,g.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){var r=n;return r?u.capture(r,e,g.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t);u.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(g._enabled){var n=o.getPooled(t,e);try{f.batchedUpdates(i,n)}finally{o.release(n)}}}};t.exports=g},function(t,e,n){"use strict";var r=n(38),o=n(42),i=n(82),a=n(86),s=n(150),u=n(156),c=n(60),l=n(158),p=n(19),f={Component:a.injection,Class:s.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:c.injection,HostComponent:l.injection,Updates:p.injection};t.exports=f},function(t,e,n){"use strict";function r(t,e,n){return{type:f.INSERT_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function o(t,e,n){return{type:f.MOVE_EXISTING,content:null,fromIndex:t._mountIndex,fromNode:d.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:f.REMOVE_NODE,content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:f.SET_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t){return{type:f.TEXT_CONTENT,content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){p.processChildrenUpdates(t,e)}var l=n(2),p=n(86),f=(n(44),n(16),n(162)),d=(n(28),n(33)),h=n(318),g=(n(12),n(363)),v=(n(1),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return h.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,o,i){var a,s=0;return a=g(e,s),h.updateChildren(t,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,c=d.mountComponent(s,e,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(c)}return o},updateTextContent:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var r=[s(t)];c(this,r)},updateMarkup:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");var r=[a(t)];c(this,r)},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,t,i,o,e,n);if(a||r){var s,l=null,p=0,f=0,h=0,g=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],y=a[s];v===y?(l=u(l,this.moveChild(v,g,p,f)),f=Math.max(v._mountIndex,f),v._mountIndex=p):(v&&(f=Math.max(v._mountIndex,f)),l=u(l,this._mountChildAtIndex(y,i[h],g,p,e,n)),h++),p++,g=d.getHostNode(y)}for(s in o)o.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],o[s])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;h.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex<r)return o(t,e,n)},createChild:function(t,e,n){return r(n,e,t._mountIndex)},removeChild:function(t,e){return i(t,e)},_mountChildAtIndex:function(t,e,n,r,o,i){return t._mountIndex=r,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=v},function(t,e,n){"use strict";var r=n(2),o=(n(1),{isValidOwner:function(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)},addComponentAsRefTo:function(t,e,n){o.isValidOwner(n)?void 0:r("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){o.isValidOwner(n)?void 0:r("120");var i=n.getPublicInstance();i&&i.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=o},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=u,this.updater=n||s}function o(){}var i=n(7),a=n(85),s=n(89),u=n(35);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=t}var o=n(7),i=n(147),a=n(27),s=n(60),u=n(159),c=(n(16),n(46)),l=n(93),p={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var t=s.isEnabled();return s.setEnabled(!1),t},close:function(t){s.setEnabled(t)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[p,f,d],g={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,c.Mixin,g),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n){"function"==typeof t?t(e.getPublicInstance()):i.addComponentAsRefTo(e,t,n)}function o(t,e,n){"function"==typeof t?t(null):i.removeComponentAsRefFrom(e,t,n)}var i=n(339),a={};a.attachRefs=function(t,e){if(null!==e&&e!==!1){var n=e.ref;null!=n&&r(n,t,e._owner)}},a.shouldUpdateRefs=function(t,e){var n=null===t||t===!1,r=null===e||e===!1;return n||r||e.ref!==t.ref||"string"==typeof e.ref&&e._owner!==t._owner},a.detachRefs=function(t,e){if(null!==e&&e!==!1){var n=e.ref;null!=n&&o(n,t,e._owner)}},t.exports=a},function(t,e){"use strict";var n={isBatchingUpdates:!1,batchedUpdates:function(t){}};t.exports=n},function(t,e,n){"use strict";function r(t,e){var n;try{return h.injection.injectBatchingStrategy(f),n=d.getPooled(e),y++,n.perform(function(){var r=v(t,!0),o=p.mountComponent(r,n,null,s(),g,0);return e||(o=l.addChecksumToMarkup(o)),o},null)}finally{y--,d.release(n),y||h.injection.injectBatchingStrategy(u)}}function o(t){return c.isValidElement(t)?void 0:a("46"),r(t,!1)}function i(t){return c.isValidElement(t)?void 0:a("47"),r(t,!0)}var a=n(2),s=n(152),u=n(154),c=n(18),l=(n(16),n(160)),p=n(33),f=n(343),d=n(165),h=n(19),g=n(35),v=n(99),y=(n(1),0);t.exports={renderToString:o,renderToStaticMarkup:i}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){}var i=n(93),a=(n(46),n(3),function(){function t(e){r(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&i.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()?i.enqueueForceUpdate(t):o(t,"forceUpdate")},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()?i.enqueueReplaceState(t,e):o(t,"replaceState")},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()?i.enqueueSetState(t,e):o(t,"setState")},t}());t.exports=a},function(t,e){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering","in":0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(t){o.Properties[t]=0,r[t]&&(o.DOMAttributeNames[t]=r[t])}),t.exports=o},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&c.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(t,e){if(w||null==m||m!==p())return null;var n=r(m);if(!b||!h(b,n)){b=n;var o=l.getPooled(y.select,_,t,e);return o.type="select",o.target=m,a.accumulateTwoPhaseDispatches(o),o}return null}var i=n(23),a=n(43),s=n(11),u=n(8),c=n(159),l=n(24),p=n(56),f=n(173),d=n(26),h=n(77),g=i.topLevelTypes,v=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,y={select:{phasedRegistrationNames:{bubbled:d({onSelect:null}),captured:d({onSelectCapture:null})},dependencies:[g.topBlur,g.topContextMenu,g.topFocus,g.topKeyDown,g.topKeyUp,g.topMouseDown,g.topMouseUp,g.topSelectionChange]}},m=null,_=null,b=null,w=!1,x=!1,S=d({onSelect:null}),C={eventTypes:y,extractEvents:function(t,e,n,r){if(!x)return null;var i=e?u.getNodeFromInstance(e):window;switch(t){case g.topFocus:(f(i)||"true"===i.contentEditable)&&(m=i,_=e,b=null);break;case g.topBlur:m=null,_=null,b=null;break;case g.topMouseDown:w=!0;break;case g.topContextMenu:case g.topMouseUp:return w=!1,o(n,r);case g.topSelectionChange:if(v)break;case g.topKeyDown:case g.topKeyUp:return o(n,r)}return null},didPutListener:function(t,e,n){e===S&&(x=!0)}};t.exports=C},function(t,e,n){"use strict";function r(t){return"."+t._rootNodeID}var o=n(2),i=n(23),a=n(135),s=n(43),u=n(8),c=n(349),l=n(350),p=n(24),f=n(353),d=n(355),h=n(61),g=n(352),v=n(356),y=n(357),m=n(45),_=n(358),b=n(12),w=n(96),x=(n(1),n(26)),S=i.topLevelTypes,C={abort:{phasedRegistrationNames:{bubbled:x({onAbort:!0}),captured:x({onAbortCapture:!0})}},animationEnd:{phasedRegistrationNames:{bubbled:x({onAnimationEnd:!0}),captured:x({onAnimationEndCapture:!0})}},animationIteration:{phasedRegistrationNames:{bubbled:x({onAnimationIteration:!0}),captured:x({onAnimationIterationCapture:!0})}},animationStart:{phasedRegistrationNames:{bubbled:x({onAnimationStart:!0}),captured:x({onAnimationStartCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:x({onBlur:!0}),captured:x({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:x({onCanPlay:!0}),captured:x({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:x({onCanPlayThrough:!0}),captured:x({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:x({onClick:!0}),captured:x({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:x({onContextMenu:!0}),captured:x({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:x({onCopy:!0}),captured:x({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:x({onCut:!0}),captured:x({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:x({onDoubleClick:!0}),captured:x({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:x({onDrag:!0}),captured:x({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:x({onDragEnd:!0}),captured:x({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:x({onDragEnter:!0}),captured:x({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:x({onDragExit:!0}),captured:x({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:x({onDragLeave:!0}),captured:x({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:x({onDragOver:!0}),captured:x({onDragOverCapture:!0})}},dragStart:{
26
+ phasedRegistrationNames:{bubbled:x({onDragStart:!0}),captured:x({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:x({onDrop:!0}),captured:x({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:x({onDurationChange:!0}),captured:x({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:x({onEmptied:!0}),captured:x({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:x({onEncrypted:!0}),captured:x({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:x({onEnded:!0}),captured:x({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:x({onError:!0}),captured:x({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:x({onFocus:!0}),captured:x({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:x({onInput:!0}),captured:x({onInputCapture:!0})}},invalid:{phasedRegistrationNames:{bubbled:x({onInvalid:!0}),captured:x({onInvalidCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:x({onKeyDown:!0}),captured:x({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:x({onKeyPress:!0}),captured:x({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:x({onKeyUp:!0}),captured:x({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:x({onLoad:!0}),captured:x({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:x({onLoadedData:!0}),captured:x({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:x({onLoadedMetadata:!0}),captured:x({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:x({onLoadStart:!0}),captured:x({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:x({onMouseDown:!0}),captured:x({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:x({onMouseMove:!0}),captured:x({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:x({onMouseOut:!0}),captured:x({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:x({onMouseOver:!0}),captured:x({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:x({onMouseUp:!0}),captured:x({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:x({onPaste:!0}),captured:x({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:x({onPause:!0}),captured:x({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:x({onPlay:!0}),captured:x({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:x({onPlaying:!0}),captured:x({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:x({onProgress:!0}),captured:x({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:x({onRateChange:!0}),captured:x({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:x({onReset:!0}),captured:x({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:x({onScroll:!0}),captured:x({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:x({onSeeked:!0}),captured:x({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:x({onSeeking:!0}),captured:x({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:x({onStalled:!0}),captured:x({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:x({onSubmit:!0}),captured:x({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:x({onSuspend:!0}),captured:x({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:x({onTimeUpdate:!0}),captured:x({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:x({onTouchCancel:!0}),captured:x({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:x({onTouchEnd:!0}),captured:x({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:x({onTouchMove:!0}),captured:x({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:x({onTouchStart:!0}),captured:x({onTouchStartCapture:!0})}},transitionEnd:{phasedRegistrationNames:{bubbled:x({onTransitionEnd:!0}),captured:x({onTransitionEndCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:x({onVolumeChange:!0}),captured:x({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:x({onWaiting:!0}),captured:x({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:x({onWheel:!0}),captured:x({onWheelCapture:!0})}}},E={topAbort:C.abort,topAnimationEnd:C.animationEnd,topAnimationIteration:C.animationIteration,topAnimationStart:C.animationStart,topBlur:C.blur,topCanPlay:C.canPlay,topCanPlayThrough:C.canPlayThrough,topClick:C.click,topContextMenu:C.contextMenu,topCopy:C.copy,topCut:C.cut,topDoubleClick:C.doubleClick,topDrag:C.drag,topDragEnd:C.dragEnd,topDragEnter:C.dragEnter,topDragExit:C.dragExit,topDragLeave:C.dragLeave,topDragOver:C.dragOver,topDragStart:C.dragStart,topDrop:C.drop,topDurationChange:C.durationChange,topEmptied:C.emptied,topEncrypted:C.encrypted,topEnded:C.ended,topError:C.error,topFocus:C.focus,topInput:C.input,topInvalid:C.invalid,topKeyDown:C.keyDown,topKeyPress:C.keyPress,topKeyUp:C.keyUp,topLoad:C.load,topLoadedData:C.loadedData,topLoadedMetadata:C.loadedMetadata,topLoadStart:C.loadStart,topMouseDown:C.mouseDown,topMouseMove:C.mouseMove,topMouseOut:C.mouseOut,topMouseOver:C.mouseOver,topMouseUp:C.mouseUp,topPaste:C.paste,topPause:C.pause,topPlay:C.play,topPlaying:C.playing,topProgress:C.progress,topRateChange:C.rateChange,topReset:C.reset,topScroll:C.scroll,topSeeked:C.seeked,topSeeking:C.seeking,topStalled:C.stalled,topSubmit:C.submit,topSuspend:C.suspend,topTimeUpdate:C.timeUpdate,topTouchCancel:C.touchCancel,topTouchEnd:C.touchEnd,topTouchMove:C.touchMove,topTouchStart:C.touchStart,topTransitionEnd:C.transitionEnd,topVolumeChange:C.volumeChange,topWaiting:C.waiting,topWheel:C.wheel};for(var k in E)E[k].dependencies=[k];var D=x({onClick:null}),T={},M={eventTypes:C,extractEvents:function(t,e,n,r){var i=E[t];if(!i)return null;var a;switch(t){case S.topAbort:case S.topCanPlay:case S.topCanPlayThrough:case S.topDurationChange:case S.topEmptied:case S.topEncrypted:case S.topEnded:case S.topError:case S.topInput:case S.topInvalid:case S.topLoad:case S.topLoadedData:case S.topLoadedMetadata:case S.topLoadStart:case S.topPause:case S.topPlay:case S.topPlaying:case S.topProgress:case S.topRateChange:case S.topReset:case S.topSeeked:case S.topSeeking:case S.topStalled:case S.topSubmit:case S.topSuspend:case S.topTimeUpdate:case S.topVolumeChange:case S.topWaiting:a=p;break;case S.topKeyPress:if(0===w(n))return null;case S.topKeyDown:case S.topKeyUp:a=d;break;case S.topBlur:case S.topFocus:a=f;break;case S.topClick:if(2===n.button)return null;case S.topContextMenu:case S.topDoubleClick:case S.topMouseDown:case S.topMouseMove:case S.topMouseOut:case S.topMouseOver:case S.topMouseUp:a=h;break;case S.topDrag:case S.topDragEnd:case S.topDragEnter:case S.topDragExit:case S.topDragLeave:case S.topDragOver:case S.topDragStart:case S.topDrop:a=g;break;case S.topTouchCancel:case S.topTouchEnd:case S.topTouchMove:case S.topTouchStart:a=v;break;case S.topAnimationEnd:case S.topAnimationIteration:case S.topAnimationStart:a=c;break;case S.topTransitionEnd:a=y;break;case S.topScroll:a=m;break;case S.topWheel:a=_;break;case S.topCopy:case S.topCut:case S.topPaste:a=l}a?void 0:o("86",t);var u=a.getPooled(i,e,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(t,e,n){if(e===D){var o=r(t),i=u.getNodeFromInstance(t);T[o]||(T[o]=a.listen(i,"click",b))}},willDeleteListener:function(t,e){if(e===D){var n=r(t);T[n].remove(),delete T[n]}}};t.exports=M},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i={data:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(61),i={dataTransfer:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i={relatedTarget:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i={data:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(96),a=n(364),s=n(97),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(t){return"keypress"===t.type?i(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?i(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};o.augmentClass(r,u),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(45),i=n(97),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(24),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(61),i={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),t.exports=r},function(t,e){"use strict";function n(t){for(var e=1,n=0,o=0,i=t.length,a=i&-4;o<a;){for(var s=Math.min(o+4096,a);o<s;o+=4)n+=(e+=t.charCodeAt(o))+(e+=t.charCodeAt(o+1))+(e+=t.charCodeAt(o+2))+(e+=t.charCodeAt(o+3));e%=r,n%=r}for(;o<i;o++)n+=e+=t.charCodeAt(o);return e%=r,n%=r,e|n<<16}var r=65521;t.exports=n},function(t,e,n){(function(e){"use strict";function r(t,e,n,r,u,c){for(var l in t)if(t.hasOwnProperty(l)){var p;try{"function"!=typeof t[l]?o("84",r||"React class",i[n],l):void 0,p=t[l](e,l,r,n,null,a)}catch(f){p=f}p instanceof Error&&!(p.message in s)&&(s[p.message]=!0)}}var o=n(2),i=n(90),a=n(92),s=(n(1),n(3),{});t.exports=r}).call(e,n(58))},function(t,e,n){"use strict";function r(t,e,n){var r=null==e||"boolean"==typeof e||""===e;if(r)return"";var o=isNaN(e);return o||0===e||i.hasOwnProperty(t)&&i[t]?""+e:("string"==typeof e&&(e=e.trim()),e+"px")}var o=n(146),i=(n(3),o.isUnitlessNumber);t.exports=r},function(t,e,n){"use strict";function r(t){if(null==t)return null;if(1===t.nodeType)return t;var e=a.get(t);return e?(e=s(e),e?i.getNodeFromInstance(e):null):void("function"==typeof t.render?o("44"):o("45",Object.keys(t)))}var o=n(2),i=(n(28),n(8)),a=n(44),s=n(170);n(1),n(3),t.exports=r},function(t,e,n){(function(e){"use strict";function r(t,e,n,r){if(t&&"object"==typeof t){var o=t,i=void 0===o[n];i&&null!=e&&(o[n]=e)}}function o(t,e){if(null==t)return t;var n={};return i(t,r,n),n}var i=(n(83),n(102));n(3),t.exports=o}).call(e,n(58))},function(t,e,n){"use strict";function r(t){if(t.key){var e=i[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=o(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?a[t.keyCode]||"Unidentified":""}var o=n(96),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},function(t,e){"use strict";function n(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function r(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function o(t,e){for(var o=n(t),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=e&&a>=e)return{node:o,offset:e-i};i=a}o=n(r(o))}}t.exports=o},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function o(t){if(s[t])return s[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in u)return s[t]=e[n];return""}var i=n(11),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=o},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("143"),t}var o=n(2),i=n(18);n(1),t.exports=r},function(t,e,n){"use strict";function r(t){return'"'+o(t)+'"'}var o=n(62);t.exports=r},function(t,e,n){"use strict";var r=n(161);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){var r;!function(o,i){"use strict";var a="0.7.12",s="",u="?",c="function",l="undefined",p="object",f="string",d="major",h="model",g="name",v="type",y="vendor",m="version",_="architecture",b="console",w="mobile",x="tablet",S="smarttv",C="wearable",E="embedded",k={extend:function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2===0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n},has:function(t,e){return"string"==typeof t&&e.toLowerCase().indexOf(t.toLowerCase())!==-1},lowerize:function(t){return t.toLowerCase()},major:function(t){return typeof t===f?t.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},D={rgx:function(){for(var t,e,n,r,o,a,s,u=0,f=arguments;u<f.length&&!a;){var d=f[u],h=f[u+1];if(typeof t===l){t={};for(r in h)h.hasOwnProperty(r)&&(o=h[r],typeof o===p?t[o[0]]=i:t[o]=i)}for(e=n=0;e<d.length&&!a;)if(a=d[e++].exec(this.getUA()))for(r=0;r<h.length;r++)s=a[++n],o=h[r],typeof o===p&&o.length>0?2==o.length?typeof o[1]==c?t[o[0]]=o[1].call(this,s):t[o[0]]=o[1]:3==o.length?typeof o[1]!==c||o[1].exec&&o[1].test?t[o[0]]=s?s.replace(o[1],o[2]):i:t[o[0]]=s?o[1].call(this,s,o[2]):i:4==o.length&&(t[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):i):t[o]=s?s:i;u+=2}return t},str:function(t,e){for(var n in e)if(typeof e[n]===p&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(k.has(e[n][r],t))return n===u?i:n}else if(k.has(e[n],t))return n===u?i:n;return t}},T={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},M={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[g,m],[/(opios)[\/\s]+([\w\.]+)/i],[[g,"Opera Mini"],m],[/\s(opr)\/([\w\.]+)/i],[[g,"Opera"],m],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs)\/([\w\.-]+)/i],[g,m],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[g,"IE"],m],[/(edge)\/((\d+)?[\w\.]+)/i],[g,m],[/(yabrowser)\/([\w\.]+)/i],[[g,"Yandex"],m],[/(comodo_dragon)\/([\w\.]+)/i],[[g,/_/g," "],m],[/(micromessenger)\/([\w\.]+)/i],[[g,"WeChat"],m],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[m,[g,"MIUI Browser"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[g,/(.+)/,"$1 WebView"],m],[/android.+samsungbrowser\/([\w\.]+)/i,/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[m,[g,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(qqbrowser)[\/\s]?([\w\.]+)/i],[g,m],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/juc.+(ucweb)[\/\s]?([\w\.]+)/i],[[g,"UCBrowser"],m],[/(dolfin)\/([\w\.]+)/i],[[g,"Dolphin"],m],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[g,"Chrome"],m],[/;fbav\/([\w\.]+);/i],[m,[g,"Facebook"]],[/fxios\/([\w\.-]+)/i],[m,[g,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[m,[g,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[m,g],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[g,[m,D.str,T.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[g,m],[/(navigator|netscape)\/([\w\.-]+)/i],[[g,"Netscape"],m],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[g,m]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,k.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[_,/ower/,"",k.lowerize]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[_,k.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[h,y,[v,x]],[/applecoremedia\/[\w\.]+ \((ipad)/],[h,[y,"Apple"],[v,x]],[/(apple\s{0,1}tv)/i],[[h,"Apple TV"],[y,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[y,h,[v,x]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[h,[y,"Amazon"],[v,x]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[h,D.str,T.device.amazon.model],[y,"Amazon"],[v,w]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[h,y,[v,w]],[/\((ip[honed|\s\w*]+);/i],[h,[y,"Apple"],[v,w]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[y,h,[v,w]],[/\(bb10;\s(\w+)/i],[h,[y,"BlackBerry"],[v,w]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[h,[y,"Asus"],[v,x]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[y,"Sony"],[h,"Xperia Tablet"],[v,x]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[[y,"Sony"],[h,"Xperia Phone"],[v,w]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[y,h,[v,b]],[/android.+;\s(shield)\sbuild/i],[h,[y,"Nvidia"],[v,b]],[/(playstation\s[34portablevi]+)/i],[h,[y,"Sony"],[v,b]],[/(sprint\s(\w+))/i],[[y,D.str,T.device.sprint.vendor],[h,D.str,T.device.sprint.model],[v,w]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[y,h,[v,x]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[y,[h,/_/g," "],[v,w]],[/(nexus\s9)/i],[h,[y,"HTC"],[v,x]],[/(nexus\s6p)/i],[h,[y,"Huawei"],[v,w]],[/(microsoft);\s(lumia[\s\w]+)/i],[y,h,[v,w]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[h,[y,"Microsoft"],[v,b]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[y,"Microsoft"],[v,w]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[h,[y,"Motorola"],[v,w]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[h,[y,"Motorola"],[v,x]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[y,k.trim],[h,k.trim],[v,S]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[y,"Samsung"],[v,S]],[/\(dtv[\);].+(aquos)/i],[h,[y,"Sharp"],[v,S]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[y,"Samsung"],h,[v,x]],[/smart-tv.+(samsung)/i],[y,[v,S],h],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[y,"Samsung"],h,[v,w]],[/sie-(\w+)*/i],[h,[y,"Siemens"],[v,w]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[y,"Nokia"],h,[v,w]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[h,[y,"Acer"],[v,x]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[y,"LG"],h,[v,x]],[/(lg) netcast\.tv/i],[y,h,[v,S]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[h,[y,"LG"],[v,w]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[h,[y,"Lenovo"],[v,x]],[/linux;.+((jolla));/i],[y,h,[v,w]],[/((pebble))app\/[\d\.]+\s/i],[y,h,[v,C]],[/android.+;\s(glass)\s\d/i],[h,[y,"Google"],[v,C]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[h,/_/g," "],[y,"Xiaomi"],[v,w]],[/android.+a000(1)\s+build/i],[h,[y,"OnePlus"],[v,w]],[/\s(tablet)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[v,k.lowerize],y,h]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[m,[g,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[g,m],[/rv\:([\w\.]+).*(gecko)/i],[m,g]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[g,m],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[g,[m,D.str,T.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[g,"Windows"],[m,D.str,T.os.windows.version]],[/\((bb)(10);/i],[[g,"BlackBerry"],m],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[g,m],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[g,"Symbian"],m],[/\((series40);/i],[g],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[g,"Firefox OS"],m],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[g,m],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[g,"Chromium OS"],m],[/(sunos)\s?([\w\.]+\d)*/i],[[g,"Solaris"],m],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[g,m],[/(haiku)\s(\w+)/i],[g,m],[/(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[g,"iOS"],[m,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[g,"Mac OS"],[m,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[g,m]]},O=function(t,e){if(!(this instanceof O))return new O(t,e).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:s),r=e?k.extend(M,e):M;return this.getBrowser=function(){var t=D.rgx.apply(this,r.browser);return t.major=k.major(t.version),t},this.getCPU=function(){return D.rgx.apply(this,r.cpu)},this.getDevice=function(){return D.rgx.apply(this,r.device)},this.getEngine=function(){return D.rgx.apply(this,r.engine)},this.getOS=function(){return D.rgx.apply(this,r.os)},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};O.VERSION=a,O.BROWSER={NAME:g,MAJOR:d,VERSION:m},O.CPU={ARCHITECTURE:_},O.DEVICE={MODEL:h,VENDOR:y,TYPE:v,CONSOLE:b,MOBILE:w,SMARTTV:S,TABLET:x,WEARABLE:C,EMBEDDED:E},O.ENGINE={NAME:g,VERSION:m},O.OS={NAME:g,VERSION:m},typeof e!==l?(typeof t!==l&&t.exports&&(e=t.exports=O),e.UAParser=O):"function"===c&&n(371)?(r=function(){return O}.call(e,n,e,t),!(r!==i&&(t.exports=r))):o.UAParser=O;var I=o.jQuery||o.Zepto;if(typeof I!==l){var R=new O;I.ua=R.getResult(),I.ua.get=function(){return R.getUA()},I.ua.set=function(t){R.setUA(t);var e=R.getResult();for(var n in e)I.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,n){e=t.exports=n(49)(),e.push([t.id,'/*! normalize.css v2.0.1 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\\201C" "\\201D" "\\2018" "\\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}',""])},function(t,e,n){e=t.exports=n(49)(),e.push([t.id,"@import url(//fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800);",""]),e.push([t.id,"@keyframes spinner{to{transform:rotate(1turn)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(1turn)}}.dante--spinner{min-width:24px;min-height:24px}.dante--spinner:before{content:'Loading\\2026';position:absolute;top:50%;left:50%;width:16px;height:16px;margin-top:-10px;margin-left:-10px}.dante--spinner:not(:required):before{content:'';border-radius:50%;border:2px solid rgba(0,0,0,.3);border-top-color:rgba(0,0,0,.6);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}.hidden{display:none!important}.notesSource{padding:0;margin:0;position:relative;color:rgba(0,0,0,.8);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:liga on}.notesSource *,.notesSource :after,.notesSource :before{box-sizing:border-box}.dante-paste{display:none}@font-face{font-family:dante;src:url("+n(145)+");src:url("+n(145)+'?#iefix) format("embedded-opentype"),url('+n(307)+') format("woff"),url('+n(306)+') format("truetype"),url('+n(305)+'#fontello) format("svg");font-weight:400;font-style:normal}@font-face{font-family:dante-tooltip;src:url('+n(144)+");src:url("+n(144)+'?#iefix) format("embedded-opentype"),url('+n(304)+') format("woff"),url('+n(303)+') format("truetype"),url('+n(302)+'#dante) format("svg");font-weight:400;font-style:normal}@-webkit-keyframes pop-upwards{0%{-webkit-transform:matrix(.97,0,0,1,0,12);transform:matrix(.97,0,0,1,0,12);opacity:0}20%{-webkit-transform:matrix(.99,0,0,1,0,2);transform:matrix(.99,0,0,1,0,2);opacity:.7}40%{-webkit-transform:matrix(1,0,0,1,0,-1);transform:matrix(1,0,0,1,0,-1);opacity:1}70%{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}to{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}}@keyframes pop-upward{0%{-webkit-transform:matrix(.97,0,0,1,0,12);transform:matrix(.97,0,0,1,0,12);opacity:0}20%{-webkit-transform:matrix(.99,0,0,1,0,2);transform:matrix(.99,0,0,1,0,2);opacity:.7}40%{-webkit-transform:matrix(1,0,0,1,0,-1);transform:matrix(1,0,0,1,0,-1);opacity:1}70%{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}to{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}}.postArticle{position:relative;-webkit-transform:translateZ(0);transform:translateZ(0)}.postArticle .layoutSingleColumn{width:700px;margin-left:auto;margin-right:auto}@media (max-width:800px){.postArticle .layoutSingleColumn{width:640px}}@media (max-width:680px){.postArticle .layoutSingleColumn{width:auto;margin-left:20px;margin-right:20px}}.postWrapper,.postWrapper-inner{position:relative;*zoom:1}.postWrapper-inner:after,.postWrapper-inner:before,.postWrapper:after,.postWrapper:before{content:" ";display:table}.postWrapper-inner:after,.postWrapper:after{clear:both}.postWrapper{overflow:hidden}.is-postEditMode .postWrapper{display:none}.is-postEditModeInitialized .postWrapper{display:block}.postContent{font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;letter-spacing:.01rem;font-weight:400;font-style:normal;font-size:18px;line-height:1.9}.postField,.postField:focus{outline:0;word-break:break-word;word-wrap:break-word}.postField--body{*zoom:1;margin-bottom:30px}.postField--body:after,.postField--body:before{content:" ";display:table}.postField--body:after{clear:both}.section--last{padding-bottom:5px}.section-content{*zoom:1}.section-content:after,.section-content:before{content:" ";display:table}.section-content:after{clear:both}.section-inner{position:relative}.dante-icon:before{display:inline-block;font-family:dante;font-style:normal;font-variant:normal;font-weight:400;line-height:1em;text-align:center;text-decoration:inherit;text-transform:none}.dante-icon-h2:before{content:"H1"}.dante-icon-h3:before{content:"H2"}.dante-icon-h4:before{content:"H3"}.dante-icon-p:before{content:"P"}.dante-icon-code:before{content:"\\E816"}.dante-icon-insertorderedlist:before{content:"\\E803"}.dante-icon-insertunorderedlist:before{content:"\\E802"}.dante-icon-inserthorizontalrule:before{content:"\\E818"}.dante-icon-indent:before{content:"\\E801"}.dante-icon-outdent:before{content:"\\E800"}.dante-icon-bold:before{content:"\\E805"}.dante-icon-italic:before{content:"\\E806"}.dante-icon-underline:before{content:"\\E804"}.dante-icon-createlink:before{content:"\\E810"}.dante-icon-blockquote:before{content:"\\E814"}.dante-icon-h2:before,.dante-icon-h3:before,.dante-icon-h4:before{font-weight:700}.tooltip-icon:before{font-family:dante-tooltip;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dante-icon-image-center:before{content:"\\E900"}.dante-icon-image-fill:before{content:"\\E901"}.dante-icon-image-left:before{content:"\\E902"}.dante-icon-image-wide:before{content:"\\E903"}.dante-icon-video:before{content:"\\E600"}.dante-icon-image:before{content:"\\E601"}.dante-icon-plus:before{content:"\\E602"}.dante-icon-embed:before{content:"\\E603"}.dante-menu{position:absolute;visibility:hidden;z-index:1000;-webkit-transition:none;transition:none;display:none;top:0;left:0;display:block;white-space:nowrap;height:42px;background:#333;color:#fff;border:0;border-radius:5px;box-shadow:1px 2px 3px -2px #222}.dante-menu:after{content:"";height:0;width:0;position:absolute;left:50%;pointer-events:none;border:8px solid transparent;margin-left:-4px;border-top-color:#333;bottom:-15px}.dante-menu--active{display:inline-block;visibility:visible;-webkit-animation:pop-upwards .18s forwards linear;animation:pop-upwards .18s forwards linear}.dante-menu--linkmode .dante-menu-buttons{visibility:hidden}.dante-menu--linkmode .dante-menu-linkinput{display:block}.dante-menu--linkmode .dante-menu-input{-webkit-animation:pop-upwards .18s forwards linear;animation:pop-upwards .18s forwards linear}.dante-menu-buttons{list-style:none;margin:0;padding:0;line-height:0}.dante-menu-divider{width:1px;height:24px;margin:9px 2px;background:hsla(0,0%,100%,.2);cursor:default}.dante-menu-button,.dante-menu-divider{display:inline-block;overflow:hidden;line-height:42px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dante-menu-button{min-width:20px;padding-left:10px;padding-right:10px;text-align:center;color:#fff;cursor:pointer;font-size:16px}.dante-menu-button.active{color:#5bd974}.dante-menu-button:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px;padding-left:18px}.dante-menu-button:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px;padding-right:18px}.dante-menu-button--disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;opacity:.3}.dante-menu-linkinput{display:none;left:0;bottom:0}.dante-menu-linkinput,.dante-menu-linkinput .dante-menu-button{position:absolute;top:0;right:0}.dante-menu-input{position:absolute;top:0;left:0;background:transparent;width:100%;padding:13px 40px 13px 10px;color:#fff;border:none;outline:none;font-size:14px;box-sizing:border-box;border-radius:5px;appearance:none;text-align:left;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:.01rem;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on}.inlineTooltip{position:absolute;z-index:900;width:32px;height:32px;-webkit-transition:opacity .1s,width 0 linear .25s;transition:opacity .1s,width 0 linear .25s;padding:0;font-size:0;opacity:0;pointer-events:none}.inlineTooltip.is-active{opacity:1;pointer-events:auto}.inlineTooltip.is-scaled{-webkit-transition-delay:0;transition-delay:0;width:auto}.inlineTooltip-menu{display:inline-block;margin-left:54px}.inlineTooltip-button{background-color:#fff;float:left;margin-right:9px;display:inline-block;position:relative;outline:0;padding:0;vertical-align:bottom;box-sizing:border-box;border-radius:999em;cursor:pointer;font-size:14px;text-decoration:none;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;white-space:nowrap;text-rendering:auto;text-align:center;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on;width:32px;height:32px;line-height:32px;-webkit-transition:border-color .1s,color .1s;transition:border-color .1s,color .1s;border:1px solid;border-color:rgba(0,0,0,.44);color:rgba(0,0,0,.44)}.inlineTooltip-button:hover{border-color:rgba(0,0,0,.9);color:rgba(0,0,0,.9)}.inlineTooltip-button.scale{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .1s,border-color .1s,color .1s;transition:transform .1s,border-color .1s,color .1s}.is-scaled .inlineTooltip-button.scale{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .25s,border-color .1s,color .1s;transition:transform .25s,border-color .1s,color .1s}.inlineTooltip-button.scale:nth-child(11){-webkit-transition-delay:.3s;transition-delay:.3s}.inlineTooltip-button.scale:nth-child(10){-webkit-transition-delay:.27s;transition-delay:.27s}.inlineTooltip-button.scale:nth-child(9){-webkit-transition-delay:.24s;transition-delay:.24s}.inlineTooltip-button.scale:nth-child(8){-webkit-transition-delay:.21s;transition-delay:.21s}.inlineTooltip-button.scale:nth-child(7){-webkit-transition-delay:.18s;transition-delay:.18s}.inlineTooltip-button.scale:nth-child(6){-webkit-transition-delay:.15s;transition-delay:.15s}.inlineTooltip-button.scale:nth-child(5){-webkit-transition-delay:.12s;transition-delay:.12s}.inlineTooltip-button.scale:nth-child(4){-webkit-transition-delay:90ms;transition-delay:90ms}.inlineTooltip-button.scale:nth-child(3){-webkit-transition-delay:60ms;transition-delay:60ms}.inlineTooltip-button.scale:nth-child(2){-webkit-transition-delay:30ms;transition-delay:30ms}.inlineTooltip-button.control{display:block;position:absolute;margin-right:22px;-webkit-transition:-webkit-transform .1s,border-color .1s,color .1s;transition:transform .1s,border-color .1s,color .1s;-webkit-transform:rotate(0);transform:rotate(0)}.is-scaled .inlineTooltip-button.control{-webkit-transition:-webkit-transform .25s,border-color .1s,color .1s;transition:transform .25s,border-color .1s,color .1s;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-color:rgba(0,0,0,.9);color:rgba(0,0,0,.9)}.dante-popover{overflow:hidden;position:absolute;z-index:900;visibility:visible;font-size:12px;text-align:center;pointer-events:auto;padding:15px;font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;line-height:1.4;opacity:0}.dante-popover.is-active{opacity:1}.dante-popover .popover-inner{background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 1px rgba(0,0,0,.35)}.popover-inner{position:relative;max-width:300px;border-radius:5px;padding:8px}.popover-inner a{color:inherit;text-decoration:none}.popover--tooltip{pointer-events:none}.popover--tooltip .popover-inner{background:#333;border-radius:4px;color:#fff}.popover--Linktooltip{pointer-events:auto;z-index:300;word-break:break-word;word-wrap:break-word}.popover--Linktooltip .popover-inner{padding:8px 10px;font-size:12px}.popover--Aligntooltip .popover-inner{padding:0;background:#333;color:#fff}.popover--typeahead .popover-inner{position:relative;padding:14px;border-radius:4px}.popover--typeahead .popover-inner ul{padding-left:0}.popover.popover--maxWidth360 .popover-inner{max-width:360px}.popover:not(.popover--flexible) .popover-inner{max-width:280px}.popover-arrow{position:absolute}.popover-arrow:after{background-color:#333}.popover--bottom .popover-arrow,.popover--top .popover-arrow{left:50%;margin-left:-6px}.popover--left .popover-arrow,.popover--right .popover-arrow{top:50%;margin-top:-6px}.popover--right .popover-arrow{left:1px}.popover--bottom .popover-arrow{top:1px}.popover--left .popover-arrow{right:1px}.popover-arrow:after{content:\'\';display:block;width:12px;height:12px}.popover--top .popover-arrow:after{-webkit-transform:rotate(45deg) translate(-5px,-5px);transform:rotate(45deg) translate(-5px,-5px);box-shadow:1px 1px 1px -1px #333}.popover--right .popover-arrow:after{-webkit-transform:rotate(45deg) translate(6px,-6px);transform:rotate(45deg) translate(6px,-6px);box-shadow:-1px 1px 1px -1px #333}.popover--bottom .popover-arrow:after{-webkit-transform:rotate(45deg) translate(6px,6px);transform:rotate(45deg) translate(6px,6px);box-shadow:-1px -1px 1px -1px #333}.popover--left .popover-arrow:after{-webkit-transform:rotate(45deg) translate(-6px,6px);transform:rotate(45deg) translate(-6px,6px);box-shadow:1px -1px 1px -1px #333}.graf--blockquote,.graf--figure,.graf--h2,.graf--h3,.graf--h4,.graf--h5,.graf--h6,.graf--h7,.graf--p,.graf--pre,.graf--pullquote,.postList{margin:0}.graf--blockquote,.graf--p,.graf--pullquote,.postList{margin-bottom:30px}.graf--code{line-height:1em}.graf--p.dante--spinner{position:relative}.graf--h2{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:60px;font-style:normal;font-weight:700;letter-spacing:-.04em;line-height:1;margin-bottom:8px;margin-left:-3px;margin-top:40px;padding-top:0}.graf--h3{font-weight:700;font-size:36px;margin-left:-1.8px;margin-bottom:4px}.graf--h3,.graf--h4{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-style:normal;line-height:1.2;margin-top:40px}.graf--h4{font-weight:300;font-size:30px;margin-left:-1.5px;color:rgba(0,0,0,.44);margin-bottom:2px}.section--first .graf--h2.graf--first,.section--first .graf--h3.graf--first,.section--first .graf--h4.graf--first{margin-top:0;padding-top:0}.graf--h2+.graf--h2{margin-top:-8px}.graf--h2+.graf--h3,.graf--h2+.graf--h4{margin-top:-6px}.graf--h3+.graf--h2,.graf--h4+.graf--h2{margin-top:2px}.graf--h3+.graf--h4,.graf--h4+.graf--h3{margin-top:-2px}.graf--h2+.postList,.graf--h3+.postList,.graf--h4+.postList{margin-top:10px}.graf--h2+.graf--p.graf--empty,.graf--h3+.graf--p.graf--empty,.graf--h4+.graf--p.graf--empty{margin-bottom:-7px;margin-top:-7px}.graf--h2+.graf--p.graf--empty+.graf--h2,.graf--h3+.graf--p.graf--empty+.graf--h2,.graf--h4+.graf--p.graf--empty+.graf--h2{margin-top:-5px}.graf--h2+.graf--p.graf--empty+.graf--h3,.graf--h2+.graf--p.graf--empty+.graf--h4,.graf--h3+.graf--p.graf--empty+.graf--h3,.graf--h3+.graf--p.graf--empty+.graf--h4,.graf--h4+.graf--p.graf--empty+.graf--h3,.graf--h4+.graf--p.graf--empty+.graf--h4{margin-top:-8px}.graf--blockquote,blockquote{font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;border-left:3px solid rgba(0,0,0,.8);font-style:italic;font-weight:400;letter-spacing:.01rem;margin-left:-23px;padding-bottom:3px;padding-left:20px}.graf--blockquote+.graf--blockquote,blockquote+blockquote{margin-top:-30px;padding-top:30px}.graf--pullquote{line-height:1.4;text-align:center;font-size:32px;margin:48px -160px;border:none;padding:0;font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;letter-spacing:.01rem;font-weight:400;font-style:italic;-webkit-transition:margin .1s;transition:margin .1s}.graf--pre,.public-DraftStyleDefault-pre{background:none repeat scroll 0 0 rgba(0,0,0,.05);font-family:Menlo,Monaco,Consolas,Courier New,Courier,monospace;font-size:16px;margin-bottom:20px;padding:20px;white-space:pre-wrap}.graf--pre+.graf--pre{margin-top:-20px}.graf--figure{box-sizing:border-box;clear:both;margin-bottom:30px;outline:medium none;position:relative}.graf--figure.is-mediaFocused .graf-image,.graf--figure.is-mediaFocused iframe{box-shadow:0 0 0 3px #57ad68}.graf--mixtapeEmbed a{text-decoration:none}.graf--h2+.graf--figure,.graf--h3+.graf--figure,.graf--h4+.graf--figure{margin-top:15px}.graf--first{margin-top:0;padding-top:0}.graf--blockquote[data-align=center],.graf--h2[data-align=center],.graf--h3[data-align=center],.graf--h4[data-align=center],p[data-align=center]{text-align:center}.graf--sectionCaption,.markup--anchor{cursor:text}.markup--anchor{text-decoration:underline;color:inherit}@media (max-width:500px){.graf--h2{font-size:36px;line-height:1.1;padding-top:12px;margin-bottom:6px}.graf--h3{font-size:26px;margin-bottom:4px}.graf--h3,.graf--h4{line-height:1.2;margin-top:18px}.graf--h4{font-size:24px;margin-bottom:2px}}.aspectRatioPlaceholder{margin:0 auto;position:relative;width:100%}.is-postEditMode .graf-image:before,.is-postEditMode .iframeContainer:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:500}.aspectRatioPlaceholder.is-locked .graf-image,.aspectRatioPlaceholder.is-locked .graf-imageAnchor{height:100%;left:0;position:absolute;top:0;width:100%}.graf-image,.graf-imageAnchor,.iframeContainer,.iframeContainer>iframe{box-sizing:border-box;display:block;margin:auto;max-width:100%}.imageCaption{top:0;text-align:center;margin-top:0;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:0;font-weight:400;font-size:13px;line-height:1.4;color:rgba(0,0,0,.6);outline:0;z-index:300;margin-top:10px;position:relative}.imageCaption .danteDefaultPlaceholder{margin-bottom:-18px!important;display:block}div[contenteditable=false] .danteDefaultPlaceholder{display:none}@media (max-width:1200px){.imageCaption,.postField--outsetCenterImage>.imageCaption{position:relative;width:100%;text-align:center;left:0;margin-top:10px}}figure.graf--layoutOutsetLeft .imageCaption,figure.graf--layoutOutsetLeft .postField--outsetCenterImage>.imageCaption{position:relative;width:100%;text-align:center;left:0;margin-top:10px}.graf--sectionCaption.is-defaultValue,figure.is-defaultValue .imageCaption{display:none}.graf--figure.is-defaultValue.is-selected .imageCaption,.graf--figure.is-mediaFocused .imageCaption,.graf--sectionCaption.is-defaultValue.is-selected,section.is-mediaFocused .graf--sectionCaption{display:block}.editable .graf--sectionCaption,.editable .markup--anchor{cursor:text}.is-postEditMode iframe{border:3px solid hsla(0,0%,100%,0)}.graf--mixtapeEmbed{border:1px solid rgba(0,0,0,.15);border-radius:5px;box-sizing:border-box;color:rgba(0,0,0,.6);font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:12px;font-style:normal;font-weight:300;letter-spacing:-.02em;margin-bottom:40px;margin-top:40px;max-height:310px;max-width:700px;overflow:hidden;padding:30px;position:relative}.mixtapeImage{background-position:50%;background-repeat:no-repeat;background-size:cover;float:right;height:310px;margin:-30px -30px 0 25px;width:310px}.mixtapeImage--empty{height:0;width:0}.graf--mixtapeEmbed{color:rgba(0,0,0,.6);font-size:12px}.graf--mixtapeEmbed,.markup--mixtapeEmbed-strong{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-style:normal;font-weight:300;letter-spacing:-.02em}.markup--mixtapeEmbed-strong{color:#000;display:block;font-size:30px;line-height:1.2;margin-bottom:0}.markup--mixtapeEmbed-em{display:block;font-size:16px;font-style:normal;margin-bottom:10px;max-height:120px;overflow:hidden}.editor a a{color:inherit;text-decoration:none}.defaultValue{color:rgba(0,0,0,.3)}section.is-backgrounded+section>.section-divider,section:first-child>.section-divider{display:none}.defaultValue--prompt{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:-.02em}div[contenteditable=false] a.markup--anchor{cursor:pointer}figure figcaption .public-DraftStyleDefault-block{text-align:center}.aspectRatioPlaceholder .image-upoader-loader{position:absolute;bottom:0;left:0;background-color:#fff;width:100%;text-align:center;top:0;vertical-align:text-bottom;opacity:.7}.aspectRatioPlaceholder .image-upoader-loader p{line-height:5px;font-size:14px;margin-top:49%}.markup--query,a[rel=token]{color:#00ab6b;text-decoration:none;background-image:none!important}.typeahead--mention{padding-top:10px}.typeahead .popover-inner{padding:0;overflow:hidden;min-width:100px}.typeahead .typeahead-item:first-child{padding-top:7px}.typeahead--mention .typeahead-item{padding:6px 15px;font-size:13px}.typeahead-item.is-active,.typeahead-item:hover{background:#02b875;color:#fff}.typeahead .typeahead-item{cursor:pointer;padding:5px 10px;line-height:2;font-size:12px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.typeahead .dante-avatar{margin:0 6px 0 -2px}.avatar-image--icon,.typeahead-item .avatar-image{width:32px;height:32px}.typeahead--mention .popover-arrow{display:none}.markup--user{color:#00ab6b;text-decoration:none}.popover--card .popover-arrow{top:-14px}.popover--card .popover--bottom .popover-arrow:after{transform:rotate(45deg) translate(6px,6px);box-shadow:-1px -1px 1px -1px rgba(0,0,0,.44)}.popover--card .popover-arrow:after{content:\'\';display:block;width:14px;height:14px;background:#fff}.popover--animated.is-active{visibility:visible;opacity:1;transition:visibility 0s linear 0s,opacity .2s 0s}.popover.is-active{visibility:visible}.popover--animated{visibility:hidden;opacity:0;transition:visibility 0s linear .2s,opacity .2s 0s}.popoverCard{text-align:left}.popoverCard-meta{width:192px}.u-floatLeft{float:left!important}.u-floatRight{float:right!important}.popoverCard-title{font-size:18px;margin-bottom:5px;margin-top:0}.link{color:inherit;text-decoration:none;cursor:pointer}.popoverCard-description{overflow:hidden;color:rgba(0,0,0,.44)}.u-clearfix:after{clear:both}.u-clearfix:after,.u-clearfix:before{display:table;content:" "}.dante-avatar{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:normal}.avatar-image--small{width:60px;height:60px}.avatar-image{display:inline-block;vertical-align:middle;border-radius:100%}.popoverCard-actions{border-top:1px solid rgba(0,0,0,.15);margin-top:10px;padding-top:10px}.popoverCard-stats{font-size:14px;line-height:36px}.popoverCard-stat{margin-right:10px;color:rgba(0,0,0,.44)}.popoverCard-count{padding-left:5px;color:rgba(0,0,0,.6)}.graf--layoutOutsetLeft{margin-left:-160px}.graf--layoutFillWidth{margin-left:-200px;margin-right:-200px}.graf--layoutOutsetLeft{width:75%}.graf--layoutInsetLeft,.graf--layoutOutsetLeft{float:left;margin-right:30px;padding-top:10px;padding-bottom:10px}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-content{outline:none;white-space:pre-wrap}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}.debugControls{position:fixed;left:0;bottom:0;z-index:999999;background-color:#fff;width:100%;border-top:1px solid #000}.debugControls ul{margin:0 auto;margin-top:12px}.debugControls li{float:left;margin-left:20px;display:block;margin-bottom:10px;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:12px}.debugControls a{color:#000}.debugControls a:active{color:#000;outline:0}.debugZone{background-color:#101010;color:#ccc;clear:both;padding-top:10px;position:fixed;right:0;left:0;padding:1rem;width:100%;z-index:9999;height:130px;bottom:0;height:100%;top:0}.debugZone.open{height:100%;top:-74px}.debugZone.collapsed{height:130px;bottom:0}.debugZone .dante-debug-close{position:absolute;width:20px;height:20px;right:43px;top:38px}.debugZone .dante-debug-close.close.hairline:before{height:1px}.debugZone .dante-debug-close.close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.debugZone .dante-debug-close.close:after,.debugZone .dante-debug-close.close:before{content:\'\';position:absolute;height:2px;width:100%;top:50%;left:0;margin-top:-1px;background:#fff;height:1px}.debugZone .dante-debug-close.close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.debugZone .debugOutput{float:right;width:67%;margin-right:12%}.debugZone .debugOutput pre{color:#fff;height:450px;overflow:auto;padding:10px;background-color:#353232;border:2px solid #c019dc}',""]);
27
+ },function(t,e,n){e=t.exports=n(49)(),e.push([t.id,"#header{display:block;z-index:500;width:100%;font-size:14px;color:rgba(0,0,0,.3);font-family:jaf-bernino-sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;box-sizing:border-box;-webkit-transition:background-color .2s,color .2s;transition:background-color .2s,color .2s;position:fixed;top:0;height:65px;background:hsla(0,0%,100%,.97);box-shadow:0 0 1px rgba(0,0,0,.15)}.menu-buttons{float:right}.menu-button{display:block;float:left;padding:25px;text-transform:uppercase;color:#0bc392;font-weight:500}article{margin-top:140px}.logo{display:inline-block}.logo img{margin:22px 14px 22px 20px}.logo span{vertical-align:top;border-left:1px solid rgba(0,0,0,.15);padding:5px 14px;margin:20px 0;display:inline-block}.github{float:right;line-height:0;margin-top:19px;margin-right:20px}",""])},function(t,e,n){e=t.exports=n(49)(),e.push([t.id,"*,:after,:before{box-sizing:border-box}",""])},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=d[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(c(r.parts[i],e))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(c(r.parts[i],e));d[r.id]={id:r.id,refs:1,parts:a}}}}function o(t){for(var e=[],n={},r=0;r<t.length;r++){var o=t[r],i=o[0],a=o[1],s=o[2],u=o[3],c={css:a,media:s,sourceMap:u};n[i]?n[i].parts.push(c):e.push(n[i]={id:i,parts:[c]})}return e}function i(t,e){var n=v(),r=_[_.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=_.indexOf(t);e>=0&&_.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",i(t,e),e}function u(t){var e=document.createElement("link");return e.rel="stylesheet",i(t,e),e}function c(t,e){var n,r,o;if(e.singleton){var i=m++;n=y||(y=s(e)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),r=f.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=p.bind(null,n),o=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function l(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function f(t,e){var n=e.css,r=e.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},g=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,m=0,_=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=g()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=o(t);return r(n,e),function(t){for(var i=[],a=0;a<n.length;a++){var s=n[a],u=d[s.id];u.refs--,i.push(u)}if(t){var c=o(t);r(c,e)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete d[u.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()}]);
28
+ //# sourceMappingURL=dante-vendors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dante-vendors.js","sources":["webpack:///dante-vendors.js","webpack:///"],"mappings":"AAAA;ACCA;ADCA;ACCA;AACA;AACA;;;;;;;;;;;;;;AAcA;AACA;AACA;ADCA;ACCA;AACA;AACA;AACA","sourceRoot":""}
data/docs/dante.css ADDED
@@ -0,0 +1,2 @@
1
+ @import url(//fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800);@keyframes spinner{to{transform:rotate(1turn)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(1turn)}}.dante--spinner{min-width:24px;min-height:24px}.dante--spinner:before{content:'Loading\2026';position:absolute;top:50%;left:50%;width:16px;height:16px;margin-top:-10px;margin-left:-10px}.dante--spinner:not(:required):before{content:'';border-radius:50%;border:2px solid rgba(0,0,0,.3);border-top-color:rgba(0,0,0,.6);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}.hidden{display:none!important}.notesSource{padding:0;margin:0;position:relative;color:rgba(0,0,0,.8);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:liga on}.notesSource *,.notesSource :after,.notesSource :before{box-sizing:border-box}.dante-paste{display:none}@font-face{font-family:dante;src:url(fonts/fontello.eot);src:url(fonts/fontello.eot?#iefix) format("embedded-opentype"),url(fonts/fontello.woff) format("woff"),url(fonts/fontello.ttf) format("truetype"),url(fonts/fontello.svg#fontello) format("svg");font-weight:400;font-style:normal}@font-face{font-family:dante-tooltip;src:url(fonts/dante.eot);src:url(fonts/dante.eot?#iefix) format("embedded-opentype"),url(fonts/dante.woff) format("woff"),url(fonts/dante.ttf) format("truetype"),url(fonts/dante.svg#dante) format("svg");font-weight:400;font-style:normal}@-webkit-keyframes pop-upwards{0%{-webkit-transform:matrix(.97,0,0,1,0,12);transform:matrix(.97,0,0,1,0,12);opacity:0}20%{-webkit-transform:matrix(.99,0,0,1,0,2);transform:matrix(.99,0,0,1,0,2);opacity:.7}40%{-webkit-transform:matrix(1,0,0,1,0,-1);transform:matrix(1,0,0,1,0,-1);opacity:1}70%{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}to{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}}@keyframes pop-upward{0%{-webkit-transform:matrix(.97,0,0,1,0,12);transform:matrix(.97,0,0,1,0,12);opacity:0}20%{-webkit-transform:matrix(.99,0,0,1,0,2);transform:matrix(.99,0,0,1,0,2);opacity:.7}40%{-webkit-transform:matrix(1,0,0,1,0,-1);transform:matrix(1,0,0,1,0,-1);opacity:1}70%{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}to{-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0);opacity:1}}.postArticle{position:relative;-webkit-transform:translateZ(0);transform:translateZ(0)}.postArticle .layoutSingleColumn{width:700px;margin-left:auto;margin-right:auto}@media (max-width:800px){.postArticle .layoutSingleColumn{width:640px}}@media (max-width:680px){.postArticle .layoutSingleColumn{width:auto;margin-left:20px;margin-right:20px}}.postWrapper,.postWrapper-inner{position:relative;*zoom:1}.postWrapper-inner:after,.postWrapper-inner:before,.postWrapper:after,.postWrapper:before{content:" ";display:table}.postWrapper-inner:after,.postWrapper:after{clear:both}.postWrapper{overflow:hidden}.is-postEditMode .postWrapper{display:none}.is-postEditModeInitialized .postWrapper{display:block}.postContent{font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;letter-spacing:.01rem;font-weight:400;font-style:normal;font-size:18px;line-height:1.9}.postField,.postField:focus{outline:0;word-break:break-word;word-wrap:break-word}.postField--body{*zoom:1;margin-bottom:30px}.postField--body:after,.postField--body:before{content:" ";display:table}.postField--body:after{clear:both}.section--last{padding-bottom:5px}.section-content{*zoom:1}.section-content:after,.section-content:before{content:" ";display:table}.section-content:after{clear:both}.section-inner{position:relative}.dante-icon:before{display:inline-block;font-family:dante;font-style:normal;font-variant:normal;font-weight:400;line-height:1em;text-align:center;text-decoration:inherit;text-transform:none}.dante-icon-h2:before{content:"H1"}.dante-icon-h3:before{content:"H2"}.dante-icon-h4:before{content:"H3"}.dante-icon-p:before{content:"P"}.dante-icon-code:before{content:"\E816"}.dante-icon-insertorderedlist:before{content:"\E803"}.dante-icon-insertunorderedlist:before{content:"\E802"}.dante-icon-inserthorizontalrule:before{content:"\E818"}.dante-icon-indent:before{content:"\E801"}.dante-icon-outdent:before{content:"\E800"}.dante-icon-bold:before{content:"\E805"}.dante-icon-italic:before{content:"\E806"}.dante-icon-underline:before{content:"\E804"}.dante-icon-createlink:before{content:"\E810"}.dante-icon-blockquote:before{content:"\E814"}.dante-icon-h2:before,.dante-icon-h3:before,.dante-icon-h4:before{font-weight:700}.tooltip-icon:before{font-family:dante-tooltip;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dante-icon-image-center:before{content:"\E900"}.dante-icon-image-fill:before{content:"\E901"}.dante-icon-image-left:before{content:"\E902"}.dante-icon-image-wide:before{content:"\E903"}.dante-icon-video:before{content:"\E600"}.dante-icon-image:before{content:"\E601"}.dante-icon-plus:before{content:"\E602"}.dante-icon-embed:before{content:"\E603"}.dante-menu{position:absolute;visibility:hidden;z-index:1000;-webkit-transition:none;transition:none;display:none;top:0;left:0;display:block;white-space:nowrap;height:42px;background:#333;color:#fff;border:0;border-radius:5px;box-shadow:1px 2px 3px -2px #222}.dante-menu:after{content:"";height:0;width:0;position:absolute;left:50%;pointer-events:none;border:8px solid transparent;margin-left:-4px;border-top-color:#333;bottom:-15px}.dante-menu--active{display:inline-block;visibility:visible;-webkit-animation:pop-upwards .18s forwards linear;animation:pop-upwards .18s forwards linear}.dante-menu--linkmode .dante-menu-buttons{visibility:hidden}.dante-menu--linkmode .dante-menu-linkinput{display:block}.dante-menu--linkmode .dante-menu-input{-webkit-animation:pop-upwards .18s forwards linear;animation:pop-upwards .18s forwards linear}.dante-menu-buttons{list-style:none;margin:0;padding:0;line-height:0}.dante-menu-divider{width:1px;height:24px;margin:9px 2px;background:hsla(0,0%,100%,.2);cursor:default}.dante-menu-button,.dante-menu-divider{display:inline-block;overflow:hidden;line-height:42px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dante-menu-button{min-width:20px;padding-left:10px;padding-right:10px;text-align:center;color:#fff;cursor:pointer;font-size:16px}.dante-menu-button.active{color:#5bd974}.dante-menu-button:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px;padding-left:18px}.dante-menu-button:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px;padding-right:18px}.dante-menu-button--disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;opacity:.3}.dante-menu-linkinput{display:none;left:0;bottom:0}.dante-menu-linkinput,.dante-menu-linkinput .dante-menu-button{position:absolute;top:0;right:0}.dante-menu-input{position:absolute;top:0;left:0;background:transparent;width:100%;padding:13px 40px 13px 10px;color:#fff;border:none;outline:none;font-size:14px;box-sizing:border-box;border-radius:5px;appearance:none;text-align:left;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:.01rem;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on}.inlineTooltip{position:absolute;z-index:900;width:32px;height:32px;-webkit-transition:opacity .1s,width 0 linear .25s;transition:opacity .1s,width 0 linear .25s;padding:0;font-size:0;opacity:0;pointer-events:none}.inlineTooltip.is-active{opacity:1;pointer-events:auto}.inlineTooltip.is-scaled{-webkit-transition-delay:0;transition-delay:0;width:auto}.inlineTooltip-menu{display:inline-block;margin-left:54px}.inlineTooltip-button{background-color:#fff;float:left;margin-right:9px;display:inline-block;position:relative;outline:0;padding:0;vertical-align:bottom;box-sizing:border-box;border-radius:999em;cursor:pointer;font-size:14px;text-decoration:none;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;white-space:nowrap;text-rendering:auto;text-align:center;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on;width:32px;height:32px;line-height:32px;-webkit-transition:border-color .1s,color .1s;transition:border-color .1s,color .1s;border:1px solid;border-color:rgba(0,0,0,.44);color:rgba(0,0,0,.44)}.inlineTooltip-button:hover{border-color:rgba(0,0,0,.9);color:rgba(0,0,0,.9)}.inlineTooltip-button.scale{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .1s,border-color .1s,color .1s;transition:transform .1s,border-color .1s,color .1s}.is-scaled .inlineTooltip-button.scale{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .25s,border-color .1s,color .1s;transition:transform .25s,border-color .1s,color .1s}.inlineTooltip-button.scale:nth-child(11){-webkit-transition-delay:.3s;transition-delay:.3s}.inlineTooltip-button.scale:nth-child(10){-webkit-transition-delay:.27s;transition-delay:.27s}.inlineTooltip-button.scale:nth-child(9){-webkit-transition-delay:.24s;transition-delay:.24s}.inlineTooltip-button.scale:nth-child(8){-webkit-transition-delay:.21s;transition-delay:.21s}.inlineTooltip-button.scale:nth-child(7){-webkit-transition-delay:.18s;transition-delay:.18s}.inlineTooltip-button.scale:nth-child(6){-webkit-transition-delay:.15s;transition-delay:.15s}.inlineTooltip-button.scale:nth-child(5){-webkit-transition-delay:.12s;transition-delay:.12s}.inlineTooltip-button.scale:nth-child(4){-webkit-transition-delay:90ms;transition-delay:90ms}.inlineTooltip-button.scale:nth-child(3){-webkit-transition-delay:60ms;transition-delay:60ms}.inlineTooltip-button.scale:nth-child(2){-webkit-transition-delay:30ms;transition-delay:30ms}.inlineTooltip-button.control{display:block;position:absolute;margin-right:22px;-webkit-transition:-webkit-transform .1s,border-color .1s,color .1s;transition:transform .1s,border-color .1s,color .1s;-webkit-transform:rotate(0);transform:rotate(0)}.is-scaled .inlineTooltip-button.control{-webkit-transition:-webkit-transform .25s,border-color .1s,color .1s;transition:transform .25s,border-color .1s,color .1s;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-color:rgba(0,0,0,.9);color:rgba(0,0,0,.9)}.dante-popover{overflow:hidden;position:absolute;z-index:900;visibility:visible;font-size:12px;text-align:center;pointer-events:auto;padding:15px;font-family:Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-weight:400;font-style:normal;line-height:1.4;opacity:0}.dante-popover.is-active{opacity:1}.dante-popover .popover-inner{background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 1px rgba(0,0,0,.35)}.popover-inner{position:relative;max-width:300px;border-radius:5px;padding:8px}.popover-inner a{color:inherit;text-decoration:none}.popover--tooltip{pointer-events:none}.popover--tooltip .popover-inner{background:#333;border-radius:4px;color:#fff}.popover--Linktooltip{pointer-events:auto;z-index:300;word-break:break-word;word-wrap:break-word}.popover--Linktooltip .popover-inner{padding:8px 10px;font-size:12px}.popover--Aligntooltip .popover-inner{padding:0;background:#333;color:#fff}.popover--typeahead .popover-inner{position:relative;padding:14px;border-radius:4px}.popover--typeahead .popover-inner ul{padding-left:0}.popover.popover--maxWidth360 .popover-inner{max-width:360px}.popover:not(.popover--flexible) .popover-inner{max-width:280px}.popover-arrow{position:absolute}.popover-arrow:after{background-color:#333}.popover--bottom .popover-arrow,.popover--top .popover-arrow{left:50%;margin-left:-6px}.popover--left .popover-arrow,.popover--right .popover-arrow{top:50%;margin-top:-6px}.popover--right .popover-arrow{left:1px}.popover--bottom .popover-arrow{top:1px}.popover--left .popover-arrow{right:1px}.popover-arrow:after{content:'';display:block;width:12px;height:12px}.popover--top .popover-arrow:after{-webkit-transform:rotate(45deg) translate(-5px,-5px);transform:rotate(45deg) translate(-5px,-5px);box-shadow:1px 1px 1px -1px #333}.popover--right .popover-arrow:after{-webkit-transform:rotate(45deg) translate(6px,-6px);transform:rotate(45deg) translate(6px,-6px);box-shadow:-1px 1px 1px -1px #333}.popover--bottom .popover-arrow:after{-webkit-transform:rotate(45deg) translate(6px,6px);transform:rotate(45deg) translate(6px,6px);box-shadow:-1px -1px 1px -1px #333}.popover--left .popover-arrow:after{-webkit-transform:rotate(45deg) translate(-6px,6px);transform:rotate(45deg) translate(-6px,6px);box-shadow:1px -1px 1px -1px #333}.graf--blockquote,.graf--figure,.graf--h2,.graf--h3,.graf--h4,.graf--h5,.graf--h6,.graf--h7,.graf--p,.graf--pre,.graf--pullquote,.postList{margin:0}.graf--blockquote,.graf--p,.graf--pullquote,.postList{margin-bottom:30px}.graf--code{line-height:1em}.graf--p.dante--spinner{position:relative}.graf--h2{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:60px;font-style:normal;font-weight:700;letter-spacing:-.04em;line-height:1;margin-bottom:8px;margin-left:-3px;margin-top:40px;padding-top:0}.graf--h3{font-weight:700;font-size:36px;margin-left:-1.8px;margin-bottom:4px}.graf--h3,.graf--h4{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:-.02em;font-style:normal;line-height:1.2;margin-top:40px}.graf--h4{font-weight:300;font-size:30px;margin-left:-1.5px;color:rgba(0,0,0,.44);margin-bottom:2px}.section--first .graf--h2.graf--first,.section--first .graf--h3.graf--first,.section--first .graf--h4.graf--first{margin-top:0;padding-top:0}.graf--h2+.graf--h2{margin-top:-8px}.graf--h2+.graf--h3,.graf--h2+.graf--h4{margin-top:-6px}.graf--h3+.graf--h2,.graf--h4+.graf--h2{margin-top:2px}.graf--h3+.graf--h4,.graf--h4+.graf--h3{margin-top:-2px}.graf--h2+.postList,.graf--h3+.postList,.graf--h4+.postList{margin-top:10px}.graf--h2+.graf--p.graf--empty,.graf--h3+.graf--p.graf--empty,.graf--h4+.graf--p.graf--empty{margin-bottom:-7px;margin-top:-7px}.graf--h2+.graf--p.graf--empty+.graf--h2,.graf--h3+.graf--p.graf--empty+.graf--h2,.graf--h4+.graf--p.graf--empty+.graf--h2{margin-top:-5px}.graf--h2+.graf--p.graf--empty+.graf--h3,.graf--h2+.graf--p.graf--empty+.graf--h4,.graf--h3+.graf--p.graf--empty+.graf--h3,.graf--h3+.graf--p.graf--empty+.graf--h4,.graf--h4+.graf--p.graf--empty+.graf--h3,.graf--h4+.graf--p.graf--empty+.graf--h4{margin-top:-8px}.graf--blockquote,blockquote{font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;border-left:3px solid rgba(0,0,0,.8);font-style:italic;font-weight:400;letter-spacing:.01rem;margin-left:-23px;padding-bottom:3px;padding-left:20px}.graf--blockquote+.graf--blockquote,blockquote+blockquote{margin-top:-30px;padding-top:30px}.graf--pullquote{line-height:1.4;text-align:center;font-size:32px;margin:48px -160px;border:none;padding:0;font-family:freight-text-pro,Merriweather,Georgia,Cambria,Times New Roman,Times,serif;letter-spacing:.01rem;font-weight:400;font-style:italic;-webkit-transition:margin .1s;transition:margin .1s}.graf--pre,.public-DraftStyleDefault-pre{background:none repeat scroll 0 0 rgba(0,0,0,.05);font-family:Menlo,Monaco,Consolas,Courier New,Courier,monospace;font-size:16px;margin-bottom:20px;padding:20px;white-space:pre-wrap}.graf--pre+.graf--pre{margin-top:-20px}.graf--figure{box-sizing:border-box;clear:both;margin-bottom:30px;outline:medium none;position:relative}.graf--figure.is-mediaFocused .graf-image,.graf--figure.is-mediaFocused iframe{box-shadow:0 0 0 3px #57ad68}.graf--mixtapeEmbed a{text-decoration:none}.graf--h2+.graf--figure,.graf--h3+.graf--figure,.graf--h4+.graf--figure{margin-top:15px}.graf--first{margin-top:0;padding-top:0}.graf--blockquote[data-align=center],.graf--h2[data-align=center],.graf--h3[data-align=center],.graf--h4[data-align=center],p[data-align=center]{text-align:center}.graf--sectionCaption,.markup--anchor{cursor:text}.markup--anchor{text-decoration:underline;color:inherit}@media (max-width:500px){.graf--h2{font-size:36px;line-height:1.1;padding-top:12px;margin-bottom:6px}.graf--h3{font-size:26px;margin-bottom:4px}.graf--h3,.graf--h4{line-height:1.2;margin-top:18px}.graf--h4{font-size:24px;margin-bottom:2px}}.aspectRatioPlaceholder{margin:0 auto;position:relative;width:100%}.is-postEditMode .graf-image:before,.is-postEditMode .iframeContainer:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:500}.aspectRatioPlaceholder.is-locked .graf-image,.aspectRatioPlaceholder.is-locked .graf-imageAnchor{height:100%;left:0;position:absolute;top:0;width:100%}.graf-image,.graf-imageAnchor,.iframeContainer,.iframeContainer>iframe{box-sizing:border-box;display:block;margin:auto;max-width:100%}.imageCaption{top:0;text-align:center;margin-top:0;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;letter-spacing:0;font-weight:400;font-size:13px;line-height:1.4;color:rgba(0,0,0,.6);outline:0;z-index:300;margin-top:10px;position:relative}.imageCaption .danteDefaultPlaceholder{margin-bottom:-18px!important;display:block}div[contenteditable=false] .danteDefaultPlaceholder{display:none}@media (max-width:1200px){.imageCaption,.postField--outsetCenterImage>.imageCaption{position:relative;width:100%;text-align:center;left:0;margin-top:10px}}figure.graf--layoutOutsetLeft .imageCaption,figure.graf--layoutOutsetLeft .postField--outsetCenterImage>.imageCaption{position:relative;width:100%;text-align:center;left:0;margin-top:10px}.graf--sectionCaption.is-defaultValue,figure.is-defaultValue .imageCaption{display:none}.graf--figure.is-defaultValue.is-selected .imageCaption,.graf--figure.is-mediaFocused .imageCaption,.graf--sectionCaption.is-defaultValue.is-selected,section.is-mediaFocused .graf--sectionCaption{display:block}.editable .graf--sectionCaption,.editable .markup--anchor{cursor:text}.is-postEditMode iframe{border:3px solid hsla(0,0%,100%,0)}.graf--mixtapeEmbed{border:1px solid rgba(0,0,0,.15);border-radius:5px;box-sizing:border-box;color:rgba(0,0,0,.6);font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:12px;font-style:normal;font-weight:300;letter-spacing:-.02em;margin-bottom:40px;margin-top:40px;max-height:310px;max-width:700px;overflow:hidden;padding:30px;position:relative}.mixtapeImage{background-position:50%;background-repeat:no-repeat;background-size:cover;float:right;height:310px;margin:-30px -30px 0 25px;width:310px}.mixtapeImage--empty{height:0;width:0}.graf--mixtapeEmbed{color:rgba(0,0,0,.6);font-size:12px}.graf--mixtapeEmbed,.markup--mixtapeEmbed-strong{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-style:normal;font-weight:300;letter-spacing:-.02em}.markup--mixtapeEmbed-strong{color:#000;display:block;font-size:30px;line-height:1.2;margin-bottom:0}.markup--mixtapeEmbed-em{display:block;font-size:16px;font-style:normal;margin-bottom:10px;max-height:120px;overflow:hidden}.editor a a{color:inherit;text-decoration:none}.defaultValue{color:rgba(0,0,0,.3)}section.is-backgrounded+section>.section-divider,section:first-child>.section-divider{display:none}.defaultValue--prompt{font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:18px;font-style:normal;font-weight:400;letter-spacing:-.02em}div[contenteditable=false] a.markup--anchor{cursor:pointer}figure figcaption .public-DraftStyleDefault-block{text-align:center}.aspectRatioPlaceholder .image-upoader-loader{position:absolute;bottom:0;left:0;background-color:#fff;width:100%;text-align:center;top:0;vertical-align:text-bottom;opacity:.7}.aspectRatioPlaceholder .image-upoader-loader p{line-height:5px;font-size:14px;margin-top:49%}.markup--query,a[rel=token]{color:#00ab6b;text-decoration:none;background-image:none!important}.typeahead--mention{padding-top:10px}.typeahead .popover-inner{padding:0;overflow:hidden;min-width:100px}.typeahead .typeahead-item:first-child{padding-top:7px}.typeahead--mention .typeahead-item{padding:6px 15px;font-size:13px}.typeahead-item.is-active,.typeahead-item:hover{background:#02b875;color:#fff}.typeahead .typeahead-item{cursor:pointer;padding:5px 10px;line-height:2;font-size:12px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.typeahead .dante-avatar{margin:0 6px 0 -2px}.avatar-image--icon,.typeahead-item .avatar-image{width:32px;height:32px}.typeahead--mention .popover-arrow{display:none}.markup--user{color:#00ab6b;text-decoration:none}.popover--card .popover-arrow{top:-14px}.popover--card .popover--bottom .popover-arrow:after{transform:rotate(45deg) translate(6px,6px);box-shadow:-1px -1px 1px -1px rgba(0,0,0,.44)}.popover--card .popover-arrow:after{content:'';display:block;width:14px;height:14px;background:#fff}.popover--animated.is-active{visibility:visible;opacity:1;transition:visibility 0s linear 0s,opacity .2s 0s}.popover.is-active{visibility:visible}.popover--animated{visibility:hidden;opacity:0;transition:visibility 0s linear .2s,opacity .2s 0s}.popoverCard{text-align:left}.popoverCard-meta{width:192px}.u-floatLeft{float:left!important}.u-floatRight{float:right!important}.popoverCard-title{font-size:18px;margin-bottom:5px;margin-top:0}.link{color:inherit;text-decoration:none;cursor:pointer}.popoverCard-description{overflow:hidden;color:rgba(0,0,0,.44)}.u-clearfix:after{clear:both}.u-clearfix:after,.u-clearfix:before{display:table;content:" "}.dante-avatar{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:normal}.avatar-image--small{width:60px;height:60px}.avatar-image{display:inline-block;vertical-align:middle;border-radius:100%}.popoverCard-actions{border-top:1px solid rgba(0,0,0,.15);margin-top:10px;padding-top:10px}.popoverCard-stats{font-size:14px;line-height:36px}.popoverCard-stat{margin-right:10px;color:rgba(0,0,0,.44)}.popoverCard-count{padding-left:5px;color:rgba(0,0,0,.6)}.graf--layoutOutsetLeft{margin-left:-160px}.graf--layoutFillWidth{margin-left:-200px;margin-right:-200px}.graf--layoutOutsetLeft{width:75%}.graf--layoutInsetLeft,.graf--layoutOutsetLeft{float:left;margin-right:30px;padding-top:10px;padding-bottom:10px}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-content{outline:none;white-space:pre-wrap}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}.debugControls{position:fixed;left:0;bottom:0;z-index:999999;background-color:#fff;width:100%;border-top:1px solid #000}.debugControls ul{margin:0 auto;margin-top:12px}.debugControls li{float:left;margin-left:20px;display:block;margin-bottom:10px;font-family:jaf-bernino-sans,Open Sans,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;font-size:12px}.debugControls a{color:#000}.debugControls a:active{color:#000;outline:0}.debugZone{background-color:#101010;color:#ccc;clear:both;padding-top:10px;position:fixed;right:0;left:0;padding:1rem;width:100%;z-index:9999;height:130px;bottom:0;height:100%;top:0}.debugZone.open{height:100%;top:-74px}.debugZone.collapsed{height:130px;bottom:0}.debugZone .dante-debug-close{position:absolute;width:20px;height:20px;right:43px;top:38px}.debugZone .dante-debug-close.close.hairline:before{height:1px}.debugZone .dante-debug-close.close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.debugZone .dante-debug-close.close:after,.debugZone .dante-debug-close.close:before{content:'';position:absolute;height:2px;width:100%;top:50%;left:0;margin-top:-1px;background:#fff;height:1px}.debugZone .dante-debug-close.close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.debugZone .debugOutput{float:right;width:67%;margin-right:12%}.debugZone .debugOutput pre{color:#fff;height:450px;overflow:auto;padding:10px;background-color:#353232;border:2px solid #c019dc}
2
+ /*# sourceMappingURL=dante.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dante.css","sources":[],"mappings":"","sourceRoot":""}
data/docs/dante.js ADDED
@@ -0,0 +1,4 @@
1
+ webpackJsonp([1],{0:function(t,e,o){"use strict";o(280),window.Dante=o(195)},25:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addNewBlockAt=e.updateTextOfBlock=e.updateDataOfBlock=e.resetBlockWithType=e.addNewBlock=e.getCurrentBlock=e.getNode=e.getDefaultBlockData=void 0;var i=o(36),n=o(9),r=e.getDefaultBlockData=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t){default:return e}},s=(e.getNode=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getCurrentBlock=function(t){var e=t.getSelection(),o=t.getCurrentContent(),i=o.getBlockForKey(e.getStartKey());return i});e.addNewBlock=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.getSelection();if(!i.isCollapsed())return t;var a=t.getCurrentContent(),l=i.getStartKey(),c=a.getBlockMap(),p=s(t);if(!p)return t;if(0===p.getLength()){if(p.getType()===e)return t;var h=p.merge({type:e,data:r(e,o)}),d=a.merge({blockMap:c.set(l,h),selectionAfter:i});return n.EditorState.push(t,d,"change-block-type")}return t},e.resetBlockWithType=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unstyled",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.getCurrentContent(),s=t.getSelection(),a=s.getStartKey(),l=i.getBlockMap(),c=l.get(a),p="";console.log("DATA FOR PLACEHOLDER!",o);var h=c.getText();c.getLength()>=2&&(p=h.substr(1));var d=c.merge({text:p,type:e,data:r(e,o)}),u=i.merge({blockMap:l.set(a,d),selectionAfter:s.merge({anchorOffset:0,focusOffset:0})});return n.EditorState.push(t,u,"change-block-type")},e.updateDataOfBlock=function(t,e,o){var i=t.getCurrentContent(),r=e.merge({data:o}),s=i.merge({blockMap:i.getBlockMap().set(e.getKey(),r)});return n.EditorState.push(t,s,"change-block-type")},e.updateTextOfBlock=function(t,e,o){var i=t.getCurrentContent(),r=e.merge({text:o}),s=i.merge({blockMap:i.getBlockMap().set(e.getKey(),r)});return n.EditorState.push(t,s,"change-block-type")},e.addNewBlockAt=function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unstyled",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=t.getCurrentContent(),l=a.getBlockMap(),c=l.get(e),p=l.toSeq().takeUntil(function(t){return t===c}),h=l.toSeq().skipUntil(function(t){return t===c}).rest(),d=(0,n.genKey)(),u=new n.ContentBlock({key:d,type:o,text:"",characterList:c.getCharacterList().slice(0,0),depth:0,data:(0,i.Map)(r(o,s))}),f=p.concat([[e,c],[d,u]],h).toOrderedMap(),g=t.getSelection(),m=a.merge({blockMap:f,selectionBefore:g,selectionAfter:g.merge({anchorKey:d,anchorOffset:0,focusKey:d,focusOffset:0,isBackward:!1})});return n.EditorState.push(t,m,"split-block")}},48:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectionRect=function(t){var e=t.getRangeAt(0).getBoundingClientRect(),o=e&&e.top?e:t.getRangeAt(0).getClientRects()[0];if(!o){if(!t.anchorNode||!t.anchorNode.getBoundingClientRect)return null;o=t.anchorNode.getBoundingClientRect(),o.isEmptyline=!0}return o},e.getSelection=function(t){var e=null;return t.getSelection?e=t.getSelection():t.document.getSelection?e=t.document.getSelection():t.document.selection&&(e=t.document.selection.createRange().text),e},e.getSelectedBlockNode=function(t){var e=t.getSelection();if(0===e.rangeCount)return null;var o=e.getRangeAt(0).startContainer;do{if(o.getAttribute&&"true"===o.getAttribute("data-block"))return o;o=o.parentNode}while(null!==o);return null}},144:function(t,e,o){t.exports=o.p+"fonts/dante.eot"},145:function(t,e,o){t.exports=o.p+"fonts/fontello.eot"},192:function(t,e,o){var i,n;i=o(9).Entity,n=function(t,e,o,n){return o.findEntityRanges(function(o){return function(o){var n,r,s;return n=o.getEntity(),s=null!==n&&i.get(n).getType()===t,s?(r={showPopLinkOver:e.showPopLinkOver,hidePopLinkOver:e.hidePopLinkOver},i.mergeData(n,r)):void 0,s}}(this),n)},t.exports=n},193:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u,f,g,m,y,k,_,v,b,S,E;v=o(9),r=v.ContentState,g=v.genKey,s=v.Entity,i=v.CharacterMetadata,n=v.ContentBlock,h=v.convertFromHTML,y=v.getSafeBodyFromHTML,b=o(36),a=b.List,l=b.OrderedSet,c=b.Repeat,f=b.fromJS,p=function(){var t,e;return t=arguments,e=t.length-1,function(){var o,i;for(o=e,i=t[e].apply(this,arguments);o--;)i=t[o].call(this,i);return i}},m=function(t){return function(t){return{contentType:"image",imgSrc:t.getAttribute("src")}}}(this),E=function(t){return function(t){var e;return null===t?null:(e=document.createElement("blockquote"),e.innerText=JSON.stringify(t),e)}}(this),S=function(t){return function(t,e){var o;if(e instanceof HTMLElement)return o=k(t),o.parentNode.insertBefore(e,o)}}(this),k=function(t){return function(t){var e;for(e=t;t.parentNode;)if("BODY"!==t.parentNode.tagName&&(t=t.parentNode),"BODY"===t.parentNode.tagName)return t}}(this),u=p(E,m),_=function(t){return function(t){return S(t,u(t))}}(this),d=function(t,e){var o,i,n;return n=(new DOMParser).parseFromString(t,"text/html"),o=n.querySelectorAll("img").forEach(function(t){return _(t)}),console.log(n.body.innerHTML),i=h(n.body.innerHTML,y,e),i=i.map(function(t){var e,o;if(console.log("CHECK BLOCK",t.getType()),"blockquote"!==t.getType())return t;e="";try{e=JSON.parse(t.getText())}catch(i){return t}return o=t.merge({type:"image",text:"",data:{url:e.imgSrc,forceUpload:!0}})}),n=null,r.createFromBlockArray(i)},t.exports=d},194:function(t,e,o){var i,n,r;r=o(47),i=o(36),n=function(){function t(t){this.getLocks=t.getLocks,this.config=t.config,this.editorContent=t.editorContent,this.editorState=t.editorState}return t.prototype.handleStore=function(t){return this.store()},t.prototype.store=function(t){if(this.config.data_storage.url&&!(this.getLocks()>0))return clearTimeout(this.timeout),this.timeout=setTimeout(function(e){return function(){return e.checkforStore(t)}}(this),this.config.data_storage.interval)},t.prototype.getTextFromEditor=function(t){return t.blocks.map(function(t){return function(t){return t.text}}(this)).join("\n")},t.prototype.getUrl=function(){var t;return t=this.config.data_storage.url,"function"==typeof t?t():t},t.prototype.getMethod=function(){var t;return t=this.config.data_storage.method,"function"==typeof t?t():t},t.prototype.checkforStore=function(t){var e;if(e=!i.is(i.fromJS(this.editorContent),i.fromJS(t)))return this.config.xhr.before_handler&&this.config.xhr.before_handler(),r({method:this.getMethod(),url:this.getUrl(),data:{editor_content:JSON.stringify(t),text_content:this.getTextFromEditor(t)}}).then(function(t){return function(e){if(t.config.data_storage.success_handler&&t.config.data_storage.success_handler(e),t.config.xhr.success_handler)return t.config.xhr.success_handler(e)}}(this))["catch"](function(t){return function(e){if(t.config.xhr.failure_handler)return t.config.xhr.failure_handler(e)}}(this))},t}(),t.exports=n},195:function(module,exports,__webpack_require__){var BlockMapBuilder,CompositeDecorator,ContentState,Dante,DanteAnchorPopover,DanteEditor,DanteImagePopover,DanteInlineTooltip,DanteTooltip,Debug,DefaultDraftBlockRenderMap,DraftPasteProcessor,Editor,EditorState,EmbedBlock,Entity,ImageBlock,Immutable,KeyBindingUtil,Link,Map,Modifier,PlaceholderBlock,React,ReactDOM,RichUtils,SaveBehavior,SelectionState,VideoBlock,addNewBlock,addNewBlockAt,convertFromHTML,convertFromRaw,convertToHTML,convertToRaw,customHTML2Content,findEntities,fromJS,getCurrentBlock,getDefaultKeyBinding,getSafeBodyFromHTML,getSelection,getSelectionOffsetKeyForNode,getSelectionRect,getVisibleSelectionRect,isSoftNewlineEvent,ref,ref1,ref2,ref3,ref4,resetBlockWithType,updateDataOfBlock,updateTextOfBlock,bind=function(t,e){return function(){return t.apply(e,arguments)}},extend=function(t,e){function o(){this.constructor=t}for(var i in e)hasProp.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},hasProp={}.hasOwnProperty;React=__webpack_require__(6),ReactDOM=__webpack_require__(13),Immutable=__webpack_require__(36),ref=__webpack_require__(36),Map=ref.Map,fromJS=ref.fromJS,ref1=__webpack_require__(9),convertToRaw=ref1.convertToRaw,convertFromRaw=ref1.convertFromRaw,CompositeDecorator=ref1.CompositeDecorator,getVisibleSelectionRect=ref1.getVisibleSelectionRect,getDefaultKeyBinding=ref1.getDefaultKeyBinding,getSelectionOffsetKeyForNode=ref1.getSelectionOffsetKeyForNode,KeyBindingUtil=ref1.KeyBindingUtil,ContentState=ref1.ContentState,Editor=ref1.Editor,EditorState=ref1.EditorState,Entity=ref1.Entity,RichUtils=ref1.RichUtils,DefaultDraftBlockRenderMap=ref1.DefaultDraftBlockRenderMap,SelectionState=ref1.SelectionState,Modifier=ref1.Modifier,BlockMapBuilder=ref1.BlockMapBuilder,getSafeBodyFromHTML=ref1.getSafeBodyFromHTML,DraftPasteProcessor=__webpack_require__(118),ref2=__webpack_require__(213),convertToHTML=ref2.convertToHTML,convertFromHTML=ref2.convertFromHTML,isSoftNewlineEvent=__webpack_require__(263),ref3=__webpack_require__(25),addNewBlock=ref3.addNewBlock,resetBlockWithType=ref3.resetBlockWithType,updateDataOfBlock=ref3.updateDataOfBlock,updateTextOfBlock=ref3.updateTextOfBlock,getCurrentBlock=ref3.getCurrentBlock,addNewBlockAt=ref3.addNewBlockAt,updateDataOfBlock=ref3.updateDataOfBlock,DanteImagePopover=__webpack_require__(203),DanteAnchorPopover=__webpack_require__(204),ref4=__webpack_require__(48),getSelectionRect=ref4.getSelectionRect,getSelection=ref4.getSelection,DanteInlineTooltip=__webpack_require__(202),DanteTooltip=__webpack_require__(205),Link=__webpack_require__(201),Debug=__webpack_require__(200),findEntities=__webpack_require__(192),ImageBlock=__webpack_require__(197),EmbedBlock=__webpack_require__(196),VideoBlock=__webpack_require__(199),PlaceholderBlock=__webpack_require__(198),SaveBehavior=__webpack_require__(194),customHTML2Content=__webpack_require__(193),Dante=function(){function t(t){var e;null==t&&(t={}),console.log("init editor Dante!"),e=Map(fromJS(this.defaultOptions(t))),this.options=e.mergeDeep(t).toJS(),console.log(this.options)}return t.prototype.defaultOptions=function(t){var e;return null==t&&(t={}),e={},e.el="app",e.content="",e.read_only=!1,e.spellcheck=!1,e.title_placeholder="Title",e.body_placeholder="Write your story",e.widgets=[{title:"add an image",icon:"image",type:"image",block:"ImageBlock",editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--figure",selected_class:"is-selected is-mediaFocused",selectedFn:function(t){return function(t){var e;switch(e=t.getData().toJS().direction){case"left":return"graf--layoutOutsetLeft";case"center":return"";case"wide":return"sectionLayout--fullWidth";case"fill":return"graf--layoutFillWidth"}}}(this),handleEnterWithoutText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))},handleEnterWithText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))},widget_options:{displayOnInlineTooltip:!0,insertion:"upload",insert_block:"image"},options:{upload_url:t.upload_url,upload_callback:t.image_upload_callback,image_delete_callback:t.image_delete_callback,image_caption_placeholder:t.image_caption_placeholder}},{icon:"embed",title:"insert embed",type:"embed",block:"EmbedBlock",editable:!0,renderable:!0,breakOnContinuous:!0,wrapper_class:"graf graf--mixtapeEmbed",selected_class:"is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"embed"},options:{endpoint:"//api.embed.ly/1/extract?key="+t.api_key+"&url=",placeholder:"Paste a link to embed content from another site (e.g. Twitter) and press Enter"},handleEnterWithoutText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))},handleEnterWithText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))}},{icon:"video",title:"insert video",editable:!0,type:"video",block:"VideoBlock",renderable:!0,breakOnContinuous:!0,wrapper_class:"graf--figure graf--iframe",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!0,insertion:"placeholder",insert_block:"video"},options:{endpoint:"//api.embed.ly/1/oembed?key="+t.api_key+"&url=",placeholder:"Paste a YouTube, Vine, Vimeo, or other video link, and press Enter",caption:"Type caption for embed (optional)"},handleEnterWithoutText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))},handleEnterWithText:function(t,e){var o;return o=t.state.editorState,t.onChange(addNewBlockAt(o,e.getKey()))}},{renderable:!0,editable:!0,block:"PlaceholderBlock",type:"placeholder",wrapper_class:"is-embedable",selected_class:" is-selected is-mediaFocused",widget_options:{displayOnInlineTooltip:!1},handleEnterWithText:function(t,e){var o,i;return i=t.state.editorState,o={provisory_text:e.getText(),endpoint:e.getData().get("endpoint"),type:e.getData().get("type")},t.onChange(resetBlockWithType(i,o.type,o))}}],e.tooltips=[{ref:"insert_tooltip",component:DanteTooltip,displayOnSelection:!0,selectionElements:["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block","header-one","header-two","header-three","header-four"],widget_options:{block_types:[{label:"h2",style:"header-one",type:"block"},{label:"h3",style:"header-two",type:"block"},{label:"h4",style:"header-three",type:"block"},{label:"blockquote",style:"blockquote",type:"block"},{label:"insertunorderedlist",style:"unordered-list-item",type:"block"},{label:"insertorderedlist",style:"ordered-list-item",type:"block"},{label:"code",style:"code-block",type:"block"},{label:"bold",style:"BOLD",type:"inline"},{label:"italic",style:"ITALIC",type:"inline"}]}},{ref:"add_tooltip",component:DanteInlineTooltip},{ref:"anchor_popover",component:DanteAnchorPopover},{ref:"image_popover",component:DanteImagePopover}],e.xhr={before_handler:null,success_handler:null,error_handler:null},e.data_storage={url:null,method:"POST",success_handler:null,failure_handler:null,interval:1500},e.default_wrappers=[{className:"graf--p",block:"unstyled"},{className:"graf--h2",block:"header-one"},{className:"graf--h3",block:"header-two"},{className:"graf--h4",block:"header-three"},{className:"graf--blockquote",block:"blockquote"},{className:"graf--insertunorderedlist",block:"unordered-list-item"},{className:"graf--insertorderedlist",block:"ordered-list-item"},{className:"graf--code",block:"code-block"},{className:"graf--bold",block:"BOLD"},{className:"graf--italic",block:"ITALIC"}],e.continuousBlocks=["unstyled","blockquote","ordered-list","unordered-list","unordered-list-item","ordered-list-item","code-block"],e.key_commands={"alt-shift":[{key:65,cmd:"add-new-block"}],"alt-cmd":[{key:49,cmd:"toggle_block:header-one"},{key:50,cmd:"toggle_block:header-two"},{key:53,cmd:"toggle_block:blockquote"}],cmd:[{key:66,cmd:"toggle_inline:BOLD"},{key:73,cmd:"toggle_inline:ITALIC"},{key:75,cmd:"insert:link"}]},e.character_convert_mapping={"> ":"blockquote","*.":"unordered-list-item","* ":"unordered-list-item","- ":"unordered-list-item","1.":"ordered-list-item","# ":"header-one","##":"header-two","==":"unstyled","` ":"code-block"},e},t.prototype.getContent=function(){return this.options.content},t.prototype.render=function(){return ReactDOM.render(React.createElement(DanteEditor,{content:this.getContent(),config:this.options}),document.getElementById(this.options.el))},t}(),DanteEditor=function(superClass){function DanteEditor(t){this.render=bind(this.render,this),this.hidePopLinkOver=bind(this.hidePopLinkOver,this),this.showPopLinkOver=bind(this.showPopLinkOver,this),this.handleHidePopLinkOver=bind(this.handleHidePopLinkOver,this),this.handleShowPopLinkOver=bind(this.handleShowPopLinkOver,this),this.tooltipHasSelectionElement=bind(this.tooltipHasSelectionElement,this),this.tooltipsWithProp=bind(this.tooltipsWithProp,this),this.relocateTooltips=bind(this.relocateTooltips,this),this.closePopOvers=bind(this.closePopOvers,this),this.toggleEditable=bind(this.toggleEditable,this),this.setDirection=bind(this.setDirection,this),this.updateBlockData=bind(this.updateBlockData,this),this.KeyBindingFn=bind(this.KeyBindingFn,this),this.findCommandKey=bind(this.findCommandKey,this),this.handleKeyCommand=bind(this.handleKeyCommand,this),this.handleBeforeInput=bind(this.handleBeforeInput,this),this.handleReturn=bind(this.handleReturn,this),this.handleDownArrow=bind(this.handleDownArrow,this),this.handleUpArrow=bind(this.handleUpArrow,this),this.handleDroppedFiles=bind(this.handleDroppedFiles,this),this.handlePasteImage=bind(this.handlePasteImage,this),this.handleHTMLPaste=bind(this.handleHTMLPaste,this),this.handleTXTPaste=bind(this.handleTXTPaste,this),this.handlePasteText=bind(this.handlePasteText,this),this.styleForBlock=bind(this.styleForBlock,this),this.getDataBlock=bind(this.getDataBlock,this),this.blockStyleFn=bind(this.blockStyleFn,this),this.handleBlockRenderer=bind(this.handleBlockRenderer,this),this.blockRenderer=bind(this.blockRenderer,this),this.defaultWrappers=bind(this.defaultWrappers,this),this.renderableBlocks=bind(this.renderableBlocks,this),this.removeLock=bind(this.removeLock,this),this.addLock=bind(this.addLock,this),this.getLocks=bind(this.getLocks,this),this.getTextFromEditor=bind(this.getTextFromEditor,this),this.decodeEditorContent=bind(this.decodeEditorContent,this),this.emitSerializedOutput=bind(this.emitSerializedOutput,this),this.getEditorState=bind(this.getEditorState,this),this.focus=bind(this.focus,this),this.setPreContent=bind(this.setPreContent,this),this.dispatchChangesToSave=bind(this.dispatchChangesToSave,this),this.onChange=bind(this.onChange,this),this.forceRender=bind(this.forceRender,this),this.refreshSelection=bind(this.refreshSelection,this),this.initializeState=bind(this.initializeState,this),DanteEditor.__super__.constructor.call(this,t),this.decorator=new CompositeDecorator([{strategy:findEntities.bind(null,"LINK",this),component:Link}]),this.blockRenderMap=Map({image:{element:"figure"},video:{element:"figure"},embed:{element:"div"},unstyled:{wrapper:null,element:"div"},paragraph:{wrapper:null,element:"div"},placeholder:{wrapper:null,element:"div"}}),this.extendedBlockRenderMap=DefaultDraftBlockRenderMap.merge(this.blockRenderMap),this.state={editorState:this.initializeState(),read_only:this.props.config.read_only,blockRenderMap:this.extendedBlockRenderMap,locks:0,debug:this.props.config.debug},this.widgets=this.props.config.widgets,this.tooltips=this.props.config.tooltips,this.key_commands=this.props.config.key_commands,this.continuousBlocks=this.props.config.continuousBlocks,this.block_types=this.props.config.block_types,this.default_wrappers=this.props.config.default_wrappers,this.character_convert_mapping=this.props.config.character_convert_mapping,this.save=new SaveBehavior({getLocks:this.getLocks,config:{xhr:this.props.config.xhr,data_storage:this.props.config.data_storage},editorState:this.state.editorState,editorContent:this.emitSerializedOutput()})}return extend(DanteEditor,superClass),DanteEditor.prototype.initializeState=function(){return this.props.content?this.decodeEditorContent(this.props.content):EditorState.createEmpty(this.decorator)},DanteEditor.prototype.refreshSelection=function(t){var e,o,i,n,r,s,a;return i=this.state.editorState,s=this.state.editorState.getSelection(),o=i.getCurrentContent(),a=SelectionState.createEmpty(s.getAnchorKey()),n=s.getFocusOffset(),e=s.getAnchorKey(),a=a.merge({anchorOffset:n,focusKey:e,focusOffset:n}),r=EditorState.forceSelection(t,a),this.onChange(r)},DanteEditor.prototype.forceRender=function(t){var e,o,i;return i=this.state.editorState.getSelection(),e=t.getCurrentContent(),o=EditorState.createWithContent(e,this.decorator),this.refreshSelection(o)},DanteEditor.prototype.onChange=function(t){var e,o,i;if(this.setPreContent(),this.setState({editorState:t}),o=getCurrentBlock(this.state.editorState),e=o.getType(),t.getSelection().isCollapsed())this.handleTooltipDisplayOn("displayOnSelection",!1);else{if(i=this.tooltipsWithProp("displayOnSelection")[0],!this.tooltipHasSelectionElement(i,e))return;this.handleTooltipDisplayOn("displayOnSelection")}return setTimeout(function(t){return function(){return t.relocateTooltips()}}(this),0),this.dispatchChangesToSave()},DanteEditor.prototype.dispatchChangesToSave=function(){return clearTimeout(this.saveTimeout),this.saveTimeout=setTimeout(function(t){return function(){return t.save.store(t.emitSerializedOutput())}}(this),100)},DanteEditor.prototype.setPreContent=function(){var t;return t=this.emitSerializedOutput(),this.save.editorContent=t},DanteEditor.prototype.focus=function(){},DanteEditor.prototype.getEditorState=function(){return this.state.editorState},DanteEditor.prototype.emitSerializedOutput=function(){var t;return t=convertToRaw(this.state.editorState.getCurrentContent())},DanteEditor.prototype.decodeEditorContent=function(t){var e,o;return o=convertFromRaw(t),e=EditorState.createWithContent(o,this.decorator)},DanteEditor.prototype.getTextFromEditor=function(){var t,e;return t=this.state.editorState.getCurrentContent(),e=t.getBlocksAsArray().map(function(t){return function(t){return t.getText()}}(this)).join("\n"),console.log(e),e},DanteEditor.prototype.emitHTML2=function(){var t;return t=convertToHTML({entityToHTML:function(t){return function(t,e){return"LINK"===t.type?'<a href="'+t.data.url+'">'+e+"</a>":e}}(this)})(this.state.editorState.getCurrentContent())},DanteEditor.prototype.getLocks=function(){return this.state.locks},DanteEditor.prototype.addLock=function(){return this.setState({locks:this.state.locks+=1})},DanteEditor.prototype.removeLock=function(){return this.setState({locks:this.state.locks-=1})},DanteEditor.prototype.renderableBlocks=function(){return this.widgets.filter(function(t){return t.renderable}).map(function(t){return t.type})},DanteEditor.prototype.defaultWrappers=function(t){return this.default_wrappers.filter(function(e){return function(e){return e.block===t}}(this)).map(function(t){return t.className})},DanteEditor.prototype.blockRenderer=function(t){var e,o;switch(t.getType()){case"atomic":e=t.getEntityAt(0),o=Entity.get(e).getType()}return this.renderableBlocks().includes(t.getType())?this.handleBlockRenderer(t):null},DanteEditor.prototype.handleBlockRenderer=function(block){var dataBlock,editable,read_only;return(dataBlock=this.getDataBlock(block))?(read_only=!this.state.read_only&&null,editable=null!==read_only?read_only:dataBlock.editable,{component:eval(dataBlock.block),editable:editable,props:{data:block.getData(),getEditorState:this.getEditorState,setEditorState:this.onChange,addLock:this.addLock,removeLock:this.removeLock,getLocks:this.getLocks,config:dataBlock.options}}):null},DanteEditor.prototype.blockStyleFn=function(t){var e,o,i;return e=getCurrentBlock(this.state.editorState),i=e.getKey()===t.getKey()?"is-selected":"",this.renderableBlocks().includes(t.getType())?this.styleForBlock(t,e,i):(o=this.defaultWrappers(t.getType()),o.length>0?"graf "+o[0]+" "+i:"graf nana "+i)},DanteEditor.prototype.getDataBlock=function(t){return this.widgets.find(function(e){return function(e){return e.type===t.getType()}}(this))},DanteEditor.prototype.styleForBlock=function(t,e,o){var i,n,r;return(i=this.getDataBlock(t))?(n=i.selectedFn?i.selectedFn(t):null,r=o?i.selected_class:"",i.wrapper_class+" "+r+" "+n):null},DanteEditor.prototype.handleTooltipDisplayOn=function(t,e){return null==e&&(e=!0),setTimeout(function(o){return function(){var i;return i=o.tooltipsWithProp(t),i.map(function(t){return o.refs[t.ref].display(e),o.refs[t.ref].relocate()})}}(this),20)},DanteEditor.prototype.handlePasteText=function(t,e){return e?e?this.handleHTMLPaste(t,e):void 0:this.handleTXTPaste(t,e)},DanteEditor.prototype.handleTXTPaste=function(t,e){var o,i,n;switch(o=getCurrentBlock(this.state.editorState),i=this.state.editorState,o.getType()){case"image":case"video":case"placeholder":return n=Modifier.replaceText(i.getCurrentContent(),new SelectionState({anchorKey:o.getKey(),anchorOffset:0,focusKey:o.getKey(),focusOffset:2}),t),i=EditorState.push(i,n,"replace-text"),this.onChange(i),!0;default:return!1}},DanteEditor.prototype.handleHTMLPaste=function(t,e){var o,i,n,r,s,a,l,c,p,h,d;switch(r=getCurrentBlock(this.state.editorState),r.getType()){case"image":case"video":case"placeholder":return this.handleTXTPaste(t,e)}return p=customHTML2Content(e,this.extendedBlockRenderMap),d=this.state.editorState.getSelection(),s=d.getEndKey(),n=this.state.editorState.getCurrentContent(),i=n.blockMap.toSeq().takeUntil(function(t){return function(t){return t.key===s}}(this)),o=n.blockMap.toSeq().skipUntil(function(t){return function(t){return t.key===s}}(this)).rest(),a=p.blockMap.first().getKey(),l=i.concat(p.blockMap,o).toOrderedMap(),c=n.merge({blockMap:l,selectionBefore:d,selectionAfter:d.merge({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1})}),h=EditorState.push(this.state.editorState,c,"insert-fragment"),this.onChange(h),!0},DanteEditor.prototype.handlePasteImage=function(t){return t.map(function(t){return function(e){var o;return o={url:URL.createObjectURL(e),file:e},t.onChange(addNewBlock(t.state.editorState,"image",o))}}(this))},DanteEditor.prototype.handleDroppedFiles=function(t,e){return e.map(function(t){return function(e){var o;return o={url:URL.createObjectURL(e),file:e},t.onChange(addNewBlock(t.state.editorState,"image",o))}}(this))},DanteEditor.prototype.handleUpArrow=function(t){return setTimeout(function(t){return function(){return t.forceRender(t.state.editorState)}}(this),10)},DanteEditor.prototype.handleDownArrow=function(t){return setTimeout(function(t){return function(){return t.forceRender(t.state.editorState)}}(this),10)},DanteEditor.prototype.handleReturn=function(t){var e,o,i,n,r,s,a;if(this.props.handleReturn&&this.props.handleReturn())return!0;if(n=this.state.editorState,!t.altKey&&!t.metaKey&&!t.ctrlKey){if(i=getCurrentBlock(n),e=i.getType(),a=n.getSelection(),o=this.getDataBlock(i),0===i.getText().length){if(o&&o.handleEnterWithoutText)return o.handleEnterWithText(this,i),this.closePopOvers(),!0;switch(e){case"header-one":return this.onChange(resetBlockWithType(n,"unstyled")),!0;default:return!1}}return i.getText().length>0?"unstyled"===e?(r=Modifier.splitBlock(this.state.editorState.getCurrentContent(),this.state.editorState.getSelection()),s=EditorState.push(this.state.editorState,r,"insert-characters"),this.onChange(s),setTimeout(function(t){return function(){var t,e;return t=document.getElementsByClassName("is-selected"),e=t[0].getBoundingClientRect(),window.scrollTo(0,e.top+window.scrollY-100)}}(this),0),!0):o&&o.handleEnterWithText?(o.handleEnterWithText(this,i),this.closePopOvers(),!0):i.getLength()===a.getStartOffset()&&this.continuousBlocks.indexOf(e)<0&&(this.onChange(addNewBlockAt(n,i.getKey())),!0):i.getLength()===a.getStartOffset()&&this.continuousBlocks.indexOf(e)<0&&(this.onChange(addNewBlockAt(n,i.getKey())),!0)}},DanteEditor.prototype.handleBeforeInput=function(t){var e,o,i,n,r,s,a,l,c,p,h,d,u;return s=getCurrentBlock(this.state.editorState),r=s.getType(),u=this.state.editorState.getSelection(),a=this.state.editorState,0!==s.getText().length&&this.closePopOvers(),p=u.getEndOffset(),c=s.getEntityAt(p-1),l=c&&Entity.get(c).getType(),o=s.getEntityAt(p),e=o&&Entity.get(o).getType()," "===t&&"LINK"===l&&"LINK"!==e?(h=Modifier.insertText(a.getCurrentContent(),u," "),d=EditorState.push(a,h,"insert-characters"),this.onChange(d),!0):0!==r.indexOf("atomic")&&(i=s.getLength(),!(u.getAnchorOffset()>1||i>1||(n=this.character_convert_mapping[s.getText()+t],console.log("BLOCK TO SHOW: "+n),!n||(this.onChange(resetBlockWithType(a,n)),0))))},DanteEditor.prototype.handleKeyCommand=function(t){var e,o,i,n,r;return i=this.state.editorState,!((!this.props.handleKeyCommand||!this.props.handleKeyCommand(t))&&("add-new-block"===t?(this.onChange(addNewBlock(i,"blockquote")),0):(e=getCurrentBlock(i),0===t.indexOf("toggle_inline:")?(n=t.split(":")[1],o=e.getType(),this.onChange(RichUtils.toggleInlineStyle(i,n)),0):0===t.indexOf("toggle_block:")?(n=t.split(":")[1],o=e.getType(),this.onChange(RichUtils.toggleBlockType(i,n)),0):(r=RichUtils.handleKeyCommand(this.state.editorState,t),!r||(this.onChange(r),0)))))},DanteEditor.prototype.findCommandKey=function(t,e){return this.key_commands[t].find(function(t){return t.key===e})},DanteEditor.prototype.KeyBindingFn=function(t){var e;if(t.altKey){if(t.shiftKey)return e=this.findCommandKey("alt-shift",t.which),e?e.cmd:getDefaultKeyBinding(t);if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("alt-cmd",t.which),e?e.cmd:getDefaultKeyBinding(t)}else if(t.ctrlKey||t.metaKey)return e=this.findCommandKey("cmd",t.which),e?e.cmd:getDefaultKeyBinding(t);return getDefaultKeyBinding(t)},DanteEditor.prototype.updateBlockData=function(t,e){var o,i,n;return o=t.getData(),i=o.merge(e),n=updateDataOfBlock(this.state.editorState,t,i),this.forceRender(n)},DanteEditor.prototype.setDirection=function(t){var e,o,i;return o=this.state.editorState.getCurrentContent(),i=this.state.editorState.getSelection(),e=o.getBlockForKey(i.anchorKey),this.updateBlockData(e,{direction:t})},DanteEditor.prototype.toggleEditable=function(){return this.closePopOvers(),this.setState({read_only:!this.state.read_only},this.testEmitAndDecode)},DanteEditor.prototype.closePopOvers=function(){return this.tooltips.map(function(t){return function(e){return t.refs[e.ref].hide()}}(this))},DanteEditor.prototype.relocateTooltips=function(){return this.tooltips.map(function(t){return function(e){return t.refs[e.ref].relocate()}}(this))},DanteEditor.prototype.tooltipsWithProp=function(t){return this.tooltips.filter(function(e){return function(e){return e[t]}}(this))},DanteEditor.prototype.tooltipHasSelectionElement=function(t,e){return t.selectionElements.includes(e)},DanteEditor.prototype.handleShowPopLinkOver=function(t){return this.showPopLinkOver()},DanteEditor.prototype.handleHidePopLinkOver=function(t){return this.hidePopLinkOver()},DanteEditor.prototype.showPopLinkOver=function(t){var e,o;return this.refs.anchor_popover.setState({url:t?t.href:this.refs.anchor_popover.state.url}),o=ReactDOM.findDOMNode(this),t&&(e=this.refs.anchor_popover.relocate(t)),e&&this.refs.anchor_popover.setPosition(e),this.refs.anchor_popover.setState({show:!0}),this.isHover=!0,this.cancelHide()},DanteEditor.prototype.hidePopLinkOver=function(){return this.hideTimeout=setTimeout(function(t){return function(){return t.refs.anchor_popover.hide()}}(this),300)},DanteEditor.prototype.cancelHide=function(){return clearTimeout(this.hideTimeout)},DanteEditor.prototype.render=function(){return React.createElement("div",{id:"content",suppressContentEditableWarning:!0},React.createElement("article",{className:"postArticle"},React.createElement("div",{className:"postContent"},React.createElement("div",{className:"notesSource"},React.createElement("div",{id:"editor",className:"postField postField--body"},React.createElement("section",{className:"section--first section--last"},React.createElement("div",{className:"section-divider layoutSingleColumn"},React.createElement("hr",{className:"section-divider"})),React.createElement("div",{className:"section-content"},React.createElement("div",{ref:"richEditor",className:"section-inner layoutSingleColumn",onClick:this.focus},React.createElement(Editor,{blockRendererFn:this.blockRenderer,editorState:this.state.editorState,onChange:this.onChange,onUpArrow:this.handleUpArrow,onDownArrow:this.handleDownArrow,handleReturn:this.handleReturn,blockRenderMap:this.state.blockRenderMap,blockStyleFn:this.blockStyleFn,handlePastedText:this.handlePasteText,handlePastedFiles:this.handlePasteImage,handleDroppedFiles:this.handleDroppedFiles,handleKeyCommand:this.handleKeyCommand,keyBindingFn:this.KeyBindingFn,handleBeforeInput:this.handleBeforeInput,
2
+ readOnly:this.state.read_only,placeholder:this.props.config.body_placeholder,ref:"editor"})))))))),this.tooltips.map(function(t){return function(e,o){return React.createElement(e.component,{ref:e.ref,key:o,editor:t,editorState:t.state.editorState,onChange:t.onChange,configTooltip:e,widget_options:e.widget_options,showPopLinkOver:t.showPopLinkOver,hidePopLinkOver:t.hidePopLinkOver,handleOnMouseOver:t.handleShowPopLinkOver,handleOnMouseOut:t.handleHidePopLinkOver})}}(this)),this.state.debug?React.createElement(Debug,{locks:this.state.locks,editor:this}):void 0)},DanteEditor}(React.Component),module.exports=Dante},196:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u=function(t,e){return function(){return t.apply(e,arguments)}},f=function(t,e){function o(){this.constructor=t}for(var i in e)g.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},g={}.hasOwnProperty;a=o(6),l=o(13),h=o(9),s=h.Entity,c=h.RichUtils,i=h.AtomicBlockUtils,n=h.EditorBlock,p=o(47),d=o(25).updateDataOfBlock,r=function(t){function e(t){this.componentDidMount=u(this.componentDidMount,this),this.dataForUpdate=u(this.dataForUpdate,this),this.updateData=u(this.updateData,this),e.__super__.constructor.call(this,t),this.state={embed_data:this.defaultData(),error:""}}return f(e,t),e.prototype.defaultData=function(){var t;return t=this.props.block.getData().toJS(),t.embed_data||{}},e.prototype.updateData=function(){var t,e,o,i,n,r;return e=this.props.blockProps,t=this.props.block,i=this.props.blockProps.getEditorState,r=this.props.blockProps.setEditorState,o=t.getData(),n=o.merge(this.state),r(d(i(),t,n))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return p({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(t){return function(e){return t.setState({embed_data:e.data},t.updateData)}}(this))["catch"](function(t){return function(e){return t.setState({error:e.response.data.error_message}),console.log("TODO: error")}}(this))},e.prototype.classForImage=function(){return this.state.embed_data.images?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.picture=function(){return this.state.embed_data.images&&this.state.embed_data.images.length>0?this.state.embed_data.images[0].url:""},e.prototype.render=function(){return console.log("ERROR",this.state.error),a.createElement("span",null,this.picture()?a.createElement("a",{target:"_blank",className:"js-mixtapeImage mixtapeImage "+this.classForImage(),href:this.state.embed_data.url,style:{backgroundImage:"url('"+this.picture()+"')"}}):void 0,this.state.error?a.createElement("h2",null,this.state.error):void 0,a.createElement("a",{className:"markup--anchor markup--mixtapeEmbed-anchor",target:"_blank",href:this.state.embed_data.url},a.createElement("strong",{className:"markup--strong markup--mixtapeEmbed-strong"},this.state.embed_data.title),a.createElement("em",{className:"markup--em markup--mixtapeEmbed-em"},this.state.embed_data.description)),this.state.embed_data.provider_url)},e}(a.Component),t.exports=r},197:function(t,e,o){var i,r,s,a,l,c,p,h,d,u,f,g,m=function(t,e){return function(){return t.apply(e,arguments)}},y=function(t,e){function o(){this.constructor=t}for(var i in e)k.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},k={}.hasOwnProperty;p=o(6),h=o(13),f=o(9),a=f.Entity,d=f.RichUtils,i=f.AtomicBlockUtils,r=f.EditorBlock,s=f.EditorState,u=o(47),g=o(25).updateDataOfBlock,l=function(t){function e(t){this.render=m(this.render,this),this.handleFocus=m(this.handleFocus,this),this.placeholderText=m(this.placeholderText,this),this.placeHolderEnabled=m(this.placeHolderEnabled,this),this.updateProgressBar=m(this.updateProgressBar,this),this.uploadCompleted=m(this.uploadCompleted,this),this.uploadFile=m(this.uploadFile,this),this.getUploadUrl=m(this.getUploadUrl,this),this.handleGrafFigureSelectImg=m(this.handleGrafFigureSelectImg,this),this.updateDataSelection=m(this.updateDataSelection,this),this.aspectRatio=m(this.aspectRatio,this),this.handleUpload=m(this.handleUpload,this),this.stopLoader=m(this.stopLoader,this),this.startLoader=m(this.startLoader,this),this.replaceImg=m(this.replaceImg,this),this.updateData=m(this.updateData,this),this.defaultAspectRatio=m(this.defaultAspectRatio,this),this.defaultUrl=m(this.defaultUrl,this),this.blockPropsSrc=m(this.blockPropsSrc,this);var o;e.__super__.constructor.call(this,t),o=this.props.block.getData().toJS(),this.config=this.props.blockProps.config,this.file=this.props.blockProps.data.get("file"),this.state={loading:!1,selected:!1,loading_progress:0,enabled:!1,caption:this.defaultPlaceholder(),direction:o.direction||"center",width:0,height:0,file:null,url:this.blockPropsSrc()||this.defaultUrl(o),aspect_ratio:this.defaultAspectRatio(o)}}return y(e,t),e.prototype.blockPropsSrc=function(){return this.props.blockProps.data.src},e.prototype.defaultUrl=function(t){return t.url?t.url:t.url?t.file?URL.createObjectURL(t.file):t.url:this.props.blockProps.data.src},e.prototype.defaultPlaceholder=function(){return this.props.blockProps.config.image_caption_placeholder},e.prototype.defaultAspectRatio=function(t){return t.aspect_ratio?{width:t.aspect_ratio.width,height:t.aspect_ratio.height,ratio:t.aspect_ratio.ratio}:{width:0,height:0,ratio:100}},e.prototype.getAspectRatio=function(t,e){var o,i,n,r,s,a,l;return r=1e3,n=1e3,s=0,l=t,i=e,l>r?(s=r/l,i*=s,l*=s):i>n&&(s=n/i,l*=s,i*=s),o=i/l*100,a={width:l,height:i,ratio:o}},e.prototype.updateData=function(){var t,e,o,i,n,r;return e=this.props.blockProps,t=this.props.block,i=this.props.blockProps.getEditorState,r=this.props.blockProps.setEditorState,o=t.getData(),n=o.merge(this.state).merge({forceUpload:!1}),r(g(i(),t,n))},e.prototype.replaceImg=function(){var t;if(this.img=new Image,this.img.src=this.refs.image_tag.src,this.setState({url:this.img.src}),t=this,this.img.src.includes("blob:")||this.props.block.data.get("forceUpload"))return this.img.onload=function(e){return function(){return e.setState({width:e.img.width,height:e.img.height,aspect_ratio:t.getAspectRatio(e.img.width,e.img.height)}),e.handleUpload()}}(this)},e.prototype.startLoader=function(){return this.setState({loading:!0})},e.prototype.stopLoader=function(){return this.setState({loading:!1})},e.prototype.handleUpload=function(){return this.startLoader(),this.props.blockProps.addLock(),this.updateData(),this.uploadFile()},e.prototype.componentDidMount=function(){return this.replaceImg()},e.prototype.aspectRatio=function(){return{maxWidth:""+this.state.aspect_ratio.width,maxHeight:""+this.state.aspect_ratio.height,ratio:""+this.state.aspect_ratio.height}},e.prototype.updateDataSelection=function(){var t,e,o;return t=this.props.blockProps.getEditorState,o=this.props.blockProps.setEditorState,e=t().getSelection().merge({anchorKey:this.props.block.getKey(),focusKey:this.props.block.getKey()}),o(s.forceSelection(t(),e))},e.prototype.handleGrafFigureSelectImg=function(t){return t.preventDefault(),this.setState({selected:!0},this.updateDataSelection)},e.prototype.coords=function(){return{maxWidth:this.state.aspect_ratio.width+"px",maxHeight:this.state.aspect_ratio.height+"px"}},e.prototype.getBase64Image=function(t){var e,o,i;return e=document.createElement("canvas"),e.width=t.width,e.height=t.height,o=e.getContext("2d"),o.drawImage(t,0,0),i=e.toDataURL("image/png")},e.prototype.formatData=function(){var t;return t=new FormData,this.file?(t.append("file",this.file),t):(t.append("url",this.props.blockProps.data.get("url")),t)},e.prototype.getUploadUrl=function(){var t;return t=this.config.upload_url,"function"==typeof t?t():t},e.prototype.uploadFile=function(){var t;return u({method:"post",url:this.getUploadUrl(),data:this.formatData(),onUploadProgress:function(t){return function(e){return t.updateProgressBar(e)}}(this)}).then(function(t){return function(e){if(t.uploadCompleted(e.data),t.props.blockProps.removeLock(),t.stopLoader(),t.file=null,t.config.upload_callback)return t.config.upload_callback(response,t)}}(this))["catch"](function(t){return function(e){if(t.props.blockProps.removeLock(),t.stopLoader(),console.log("ERROR: got error uploading file "+e),t.config.upload_error_callback)return t.config.upload_error_callback(e,t)}}(this)),t=function(t){return function(e){return t.uploadCompleted(e,n)}}(this)},e.prototype.uploadCompleted=function(t){return this.setState({url:t.url},this.updateData)},e.prototype.updateProgressBar=function(t){var e;if(e=this.state.loading_progress,t.lengthComputable)return e=t.loaded/t.total*100,e=null!=e?e:{complete:0},this.setState({loading_progress:e}),console.log("complete: "+e)},e.prototype.placeHolderEnabled=function(){return this.state.enabled||this.props.block.getText()},e.prototype.placeholderText=function(){return this.placeHolderEnabled()?"":"Write caption for image (optional)"},e.prototype.handleFocus=function(t){return setTimeout(function(t){return function(){return t.setState({enabled:!0})}}(this),0)},e.prototype.render=function(){return p.createElement("div",{ref:"image_tag2",suppressContentEditableWarning:!0},p.createElement("div",{className:"aspectRatioPlaceholder is-locked",style:this.coords(),onClick:this.handleGrafFigureSelectImg},p.createElement("div",{style:{paddingBottom:this.state.aspect_ratio.ratio+"%"},className:"aspect-ratio-fill"}),p.createElement("img",{src:this.state.url,ref:"image_tag",height:this.state.aspect_ratio.height,width:this.state.aspect_ratio.width,className:"graf-image"}),p.createElement(c,{toggle:this.state.loading,progress:this.state.loading_progress})),p.createElement("figcaption",{className:"imageCaption",onMouseDown:this.handleFocus},this.state.enabled?void 0:p.createElement("span",{className:"danteDefaultPlaceholder"},this.placeholderText()),p.createElement(r,Object.assign({},this.props,{editable:!0,className:"imageCaption"}))))},e}(p.Component),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return y(e,t),e.prototype.render=function(){return p.createElement("div",null,this.props.toggle?p.createElement("div",{className:"image-upoader-loader"},p.createElement("p",null,100===this.props.progress?"processing image...":p.createElement("span",null,p.createElement("span",null,"loading"),Math.round(this.props.progress)))):void 0)},e}(p.Component),t.exports=l},198:function(t,e,o){var i,n,r,s,a,l,c,p,h=function(t,e){return function(){return t.apply(e,arguments)}},d=function(t,e){function o(){this.constructor=t}for(var i in e)u.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=o(6),l=o(13),p=o(9),r=p.Entity,c=p.RichUtils,i=p.AtomicBlockUtils,n=p.EditorBlock,s=function(t){function e(t){this.classForDefault=h(this.classForDefault,this),this.handleFocus=h(this.handleFocus,this),this.defaultText=h(this.defaultText,this),this.placeholderFromProps=h(this.placeholderFromProps,this),this.placeholderText=h(this.placeholderText,this),e.__super__.constructor.call(this,t),this.state={enabled:!1,data:this.props.blockProps.data.toJS()}}return d(e,t),e.prototype.placeholderText=function(){return this.state.enabled?"":this.props.blockProps.data.toJS().placeholder||this.placeholderFromProps()||this.defaultText()},e.prototype.placeholderFromProps=function(){return this.props.block.toJS().placeholder},e.prototype.defaultText=function(){return"write something "},e.prototype.componentDidMount=function(){},e.prototype.handleFocus=function(t){return setTimeout(function(t){return function(){return t.setState({enabled:!0})}}(this),0)},e.prototype.classForDefault=function(){return this.state.enabled?"":"defaultValue defaultValue--root"},e.prototype.render=function(){return a.createElement("span",{className:this.classForDefault(),onMouseDown:this.handleFocus},this.placeholderText(),a.createElement(n,Object.assign({},this.props,{className:"imageCaption",placeholder:"escrive alalal"})))},e}(a.Component),t.exports=s},199:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u=function(t,e){return function(){return t.apply(e,arguments)}},f=function(t,e){function o(){this.constructor=t}for(var i in e)g.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},g={}.hasOwnProperty;s=o(6),a=o(13),h=o(9),r=h.Entity,l=h.RichUtils,i=h.AtomicBlockUtils,n=h.EditorBlock,d=o(25).updateDataOfBlock,p=o(47),c=function(t){function e(t){this.dataForUpdate=u(this.dataForUpdate,this),this.updateData=u(this.updateData,this),e.__super__.constructor.call(this,t),this.state={embed_data:this.defaultData()}}return f(e,t),e.prototype.defaultData=function(){var t;return t=this.props.block.getData().toJS(),t.embed_data||{}},e.prototype.updateData=function(){var t,e,o,i,n,r;return e=this.props.blockProps,t=this.props.block,i=this.props.blockProps.getEditorState,r=this.props.blockProps.setEditorState,o=t.getData(),n=o.merge(this.state),r(d(i(),t,n))},e.prototype.dataForUpdate=function(){return this.props.blockProps.data.toJS()},e.prototype.componentDidMount=function(){if(this.props.blockProps.data&&(this.dataForUpdate().endpoint||this.dataForUpdate().provisory_text))return p({method:"get",url:""+this.dataForUpdate().endpoint+this.dataForUpdate().provisory_text+"&scheme=https"}).then(function(t){return function(e){return t.setState({embed_data:e.data},t.updateData)}}(this))["catch"](function(t){return function(t){return console.log("TODO: error")}}(this))},e.prototype.classForImage=function(){return this.state.embed_data.thumbnail_url?"":"mixtapeImage--empty u-ignoreBlock"},e.prototype.render=function(){return s.createElement("figure",{className:"graf--figure graf--iframe graf--first",tabIndex:"0"},s.createElement("div",{className:"iframeContainer",dangerouslySetInnerHTML:{__html:this.state.embed_data.html}}),s.createElement("figcaption",{className:"imageCaption"},s.createElement(n,Object.assign({},this.props,{className:"imageCaption"}))))},e}(s.Component),t.exports=c},200:function(t,e,o){var i,n,r=function(t,e){return function(){return t.apply(e,arguments)}},s=function(t,e){function o(){this.constructor=t}for(var i in e)a.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},a={}.hasOwnProperty;n=o(6),i=function(t){function e(t){null==t&&(t={}),this.render=r(this.render,this),this.open=r(this.open,this),this.toggleDisplay=r(this.toggleDisplay,this),this.logState=r(this.logState,this),this.testEmitTEXT=r(this.testEmitTEXT,this),this.testEmitAndDecode=r(this.testEmitAndDecode,this),this.handleTestEmitTEXT=r(this.handleTestEmitTEXT,this),this.handleTestEmitAndDecode=r(this.handleTestEmitAndDecode,this),this.handleToggleReadOnly=r(this.handleToggleReadOnly,this),this.state={output:"",display:"none"}}return s(e,t),e.prototype.handleToggleReadOnly=function(t){return t.preventDefault(),this.props.editor.toggleEditable(),!1},e.prototype.handleTestEmitAndDecode=function(t){return t.preventDefault(),this.testEmitAndDecode()},e.prototype.handleTestEmitTEXT=function(t){return t.preventDefault(),this.testEmitTEXT()},e.prototype.testEmitAndDecode=function(t){var e;return e=this.props.editor.emitSerializedOutput(),this.props.editor.setState({editorState:this.props.editor.decodeEditorContent(e)},this.logState(JSON.stringify(e))),!1},e.prototype.testEmitTEXT=function(){var t;return t=this.props.editor.getTextFromEditor(),this.logState(t)},e.prototype.logState=function(t){return this.setState({output:t},this.open)},e.prototype.toggleDisplay=function(t){var e;return t.preventDefault(),e="block"===this.state.display?"none":this.state.display,this.setState({display:e})},e.prototype.open=function(){return this.setState({display:"block"})},e.prototype.render=function(){return n.createElement("div",null,n.createElement("div",{className:"debugControls"},n.createElement("ul",null,n.createElement("li",null,"LOCKS: ",this.props.editor.state.locks),n.createElement("li",null,n.createElement("a",{href:"#",onClick:this.handleToggleReadOnly},"EDITABLE: ",this.props.editor.state.read_only?"NO":"YES")),n.createElement("li",null,n.createElement("a",{href:"#",onClick:this.handleTestEmitTEXT},"EDITOR TEXT")),n.createElement("li",null,n.createElement("a",{href:"#",onClick:this.handleTestEmitAndDecode},"EDITOR STATE")))),n.createElement("div",{className:"debugZone",style:{display:this.state.display}},n.createElement("a",{href:"#",className:"dante-debug-close close",onClick:this.toggleDisplay}),n.createElement("div",{className:"debugOutput"},n.createElement("h2",null,"EDITOR OUTPUT"),this.state.output.length>0?n.createElement("pre",null,this.state.output):void 0)))},e}(n.Component),t.exports=i},201:function(t,e,o){var i,n,r,s=function(t,e){return function(){return t.apply(e,arguments)}},a=function(t,e){function o(){this.constructor=t}for(var i in e)l.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},l={}.hasOwnProperty;r=o(6),i=o(9).Entity,n=function(t){function e(t){this._hidePopLinkOver=s(this._hidePopLinkOver,this),this._showPopLinkOver=s(this._showPopLinkOver,this),this._checkProtocol=s(this._checkProtocol,this),this._validateLink=s(this._validateLink,this),e.__super__.constructor.call(this,t),this.isHover=!1}return a(e,t),e.prototype._validateLink=function(){var t;return t=new RegExp("^(https?://)?((([a-zd]([a-zd-]*[a-zd])*).)+[a-z]{2,}|((d{1,3}.){3}d{1,3}))(:d+)?(/[-a-zd%_.~+]*)*(?[;&a-zd%_.~+=-]*)?(#[-a-zd_]*)?$","i"),!!t.test(str)||(alert("Please enter a valid URL."),!1)},e.prototype._checkProtocol=function(){return console.log("xcvd")},e.prototype._showPopLinkOver=function(t){if(this.data.showPopLinkOver)return this.data.showPopLinkOver(this.refs.link)},e.prototype._hidePopLinkOver=function(t){if(this.data.hidePopLinkOver)return this.data.hidePopLinkOver()},e.prototype.render=function(){return this.data=i.get(this.props.entityKey).getData(),r.createElement("a",{ref:"link",href:this.data.url,className:"markup--anchor",onMouseOver:this._showPopLinkOver,onMouseOut:this._hidePopLinkOver},this.props.children)},e}(r.Component),t.exports=n},202:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u,f,g,m,y,k,_,v,b=function(t,e){return function(){return t.apply(e,arguments)}},S=function(t,e){function o(){this.constructor=t}for(var i in e)E.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},E={}.hasOwnProperty;l=o(6),c=o(13),m=o(9),s=m.Entity,p=m.RichUtils,i=m.AtomicBlockUtils,r=m.EditorState,y=o(25),h=y.addNewBlock,_=y.resetBlockWithType,v=y.updateDataOfBlock,d=y.getCurrentBlock,u=y.getNode,k=o(48),g=k.getSelectionRect,f=k.getSelection,n=function(t){function e(t){this.relocate=b(this.relocate,this),this.clickHandler=b(this.clickHandler,this),this.widgets=b(this.widgets,this),this.handleFileInput=b(this.handleFileInput,this),this.insertImage=b(this.insertImage,this),this.handlePlaceholder=b(this.handlePlaceholder,this),this.clickOnFileUpload=b(this.clickOnFileUpload,this),this.componentWillReceiveProps=b(this.componentWillReceiveProps,this),this.collapse=b(this.collapse,this),this.scale=b(this.scale,this),this._toggleScaled=b(this._toggleScaled,this),this.hide=b(this.hide,this),this.show=b(this.show,this),this.display=b(this.display,this),e.__super__.constructor.call(this,t),this.state={position:{top:0,left:0},show:!1,scaled:!1}}return S(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.activeClass=function(){return this.isActive()?"is-active":""},e.prototype.isActive=function(){return this.state.show},e.prototype.scaledClass=function(){return this.state.scaled?"is-scaled":""},e.prototype.scaledWidth=function(){return this.state.scaled?"124":"0"},e.prototype.clickOnFileUpload=function(){return this.refs.fileInput.click(),this.collapse(),this.hide()},e.prototype.handlePlaceholder=function(t){var e;return e={type:t.widget_options.insert_block,placeholder:t.options.placeholder,endpoint:t.options.endpoint},this.props.onChange(_(this.props.editorState,"placeholder",e))},e.prototype.insertImage=function(t){var e;return e={url:URL.createObjectURL(t),file:t},this.props.onChange(h(this.props.editorState,"image",e))},e.prototype.handleFileInput=function(t){var e;return e=t.target.files,this.insertImage(e[0])},e.prototype.widgets=function(){return this.props.editor.widgets},e.prototype.clickHandler=function(t,e){var o;switch(o=this.widgets().find(function(t){return t.icon===e}),o.widget_options.insertion){case"upload":return this.clickOnFileUpload(t,o);case"placeholder":return this.handlePlaceholder(o);default:return console.log("WRONG TYPE FOR "+o.widget_options.insertion)}},e.prototype.getItems=function(){return this.widgets().filter(function(t){return function(t){return t.widget_options.displayOnInlineTooltip}}(this))},e.prototype.isDescendant=function(t,e){var o;for(o=e.parentNode;null!==o;){if(o===t)return!0;o=o.parentNode}return!1},e.prototype.relocate=function(){var t,e,o,i,n,r,s,a,l,p,h,m;if(r=this.props.editorState,r.getSelection().isCollapsed()){if(n=d(r),e=n.getType(),o=r.getCurrentContent(),m=r.getSelection(),t=o.getBlockForKey(m.anchorKey),s=f(window),!s.rangeCount)return;return a=u(),h=g(s),i=h,l=c.findDOMNode(this.props.editor),p=l.getBoundingClientRect(),this.isDescendant(l,s.anchorNode)?(this.display(0===t.getText().length&&"unstyled"===e),this.setPosition({top:i.top+window.scrollY,left:i.left+window.scrollX-60})):void this.hide()}return this.hide()},e.prototype.render=function(){return l.createElement("div",{className:"inlineTooltip "+this.activeClass()+" "+this.scaledClass(),style:this.state.position},l.createElement("button",{className:"inlineTooltip-button control",title:"Close Menu","data-action":"inline-menu",onClick:this._toggleScaled},l.createElement("span",{className:"tooltip-icon dante-icon-plus"})),l.createElement("div",{className:"inlineTooltip-menu",style:{width:this.scaledWidth()+"px"}},this.getItems().map(function(t){return function(e,o){return l.createElement(a,{item:e,key:o,clickHandler:t.clickHandler})}}(this)),l.createElement("input",{type:"file",style:{display:"none"},ref:"fileInput",multiple:"multiple",onChange:this.handleFileInput})))},e}(l.Component),a=function(t){function e(){return this.clickHandler=b(this.clickHandler,this),e.__super__.constructor.apply(this,arguments)}return S(e,t),e.prototype.clickHandler=function(t){return t.preventDefault(),this.props.clickHandler(t,this.props.item.icon)},e.prototype.render=function(){return l.createElement("button",{className:"inlineTooltip-button scale",title:this.props.title,onMouseDown:this.clickHandler},l.createElement("span",{className:"tooltip-icon dante-icon-"+this.props.item.icon}))},e}(l.Component),t.exports=n},203:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u,f,g,m,y,k=function(t,e){return function(){return t.apply(e,arguments)}},_=function(t,e){function o(){this.constructor=t}for(var i in e)v.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},v={}.hasOwnProperty;l=o(6),c=o(13),g=o(9),a=g.Entity,p=g.RichUtils,i=g.AtomicBlockUtils,s=g.EditorState,m=o(48),f=m.getSelectionRect,u=m.getSelection,y=o(25),h=y.getCurrentBlock,d=y.getNode,n=function(t){function e(t){this.handleClick=k(this.handleClick,this),this.componentWillReceiveProps=k(this.componentWillReceiveProps,this),this.relocate=k(this.relocate,this),this.collapse=k(this.collapse,this),this.scale=k(this.scale,this),this._toggleScaled=k(this._toggleScaled,this),this.hide=k(this.hide,this),this.show=k(this.show,this),this.display=k(this.display,this),e.__super__.constructor.call(this,t),this.state={position:{top:0,left:0},show:!1,scaled:!1,buttons:[{type:"left"},{type:"center"},{type:"fill"},{type:"wide"}]}}return _(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype._toggleScaled=function(t){return this.state.scaled?this.collapse():this.scale()},e.prototype.scale=function(){return this.setState({scaled:!0})},e.prototype.collapse=function(){return this.setState({scaled:!1})},e.prototype.relocate=function(){var t,e,o,i,n,r,s,a,l,p,g,m,y,k;return r=this.props.editorState,r.getSelection().isCollapsed()?(n=h(r),e=n.getType(),o=r.getCurrentContent(),k=r.getSelection(),t=o.getBlockForKey(k.anchorKey),a=u(window),a.rangeCount?(l=d(),y=f(a),i=y,g=c.findDOMNode(this.props.editor),m=g.getBoundingClientRect(),this.display("image"===e),"image"===e?(y=l.anchorNode.parentNode.parentNode.parentNode.getBoundingClientRect(),s=this.refs.image_popover,p=s.offsetWidth/2,this.setPosition({top:y.top-m.top+60,left:y.left+y.width/2-p})):void 0):void 0):this.hide()},e.prototype.componentWillReceiveProps=function(t){return this.collapse()},e.prototype.getStyle=function(){if(!this.state.position)return{}},e.prototype.handleClick=function(t){return this.props.editor.setDirection(t.type)},e.prototype.render=function(){return l.createElement("div",{ref:"image_popover",className:"dante-popover popover--Aligntooltip popover--top popover--animated "+(this.state.show?"is-active":void 0),style:{top:this.state.position.top,left:this.state.position.left}},l.createElement("div",{className:"popover-inner"},l.createElement("ul",{className:"dante-menu-buttons"},this.state.buttons.map(function(t){return function(e,o){return l.createElement(r,{item:e,handleClick:t.handleClick,key:o})}}(this)))),l.createElement("div",{className:"popover-arrow"}))},e}(l.Component),r=function(t){function e(){return this.render=k(this.render,this),this.handleClick=k(this.handleClick,this),e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.handleClick=function(t){return t.preventDefault(),this.props.handleClick(this.props.item)},e.prototype.render=function(){return l.createElement("li",{className:"dante-menu-button align-"+this.props.item.type,onMouseDown:this.handleClick},l.createElement("span",{className:"tooltip-icon dante-icon-image-"+this.props.item.type}))},e}(l.Component),t.exports=n},204:function(t,e,o){var i,n,r,s,a=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function o(){this.constructor=t}for(var i in e)c.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},c={}.hasOwnProperty;n=o(6),r=o(13),s=o(25).getCurrentBlock,i=function(t){function e(t){this.render=a(this.render,this),this.relocate=a(this.relocate,this),this.hide=a(this.hide,this),this.show=a(this.show,this),this.display=a(this.display,this),e.__super__.constructor.call(this,t),this.state={position:{top:0,left:0},show:!1,url:""}}return l(e,t),e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.relocate=function(t){var e,o,i,n,a,l,c,p,h,d,u;if(null==t&&(t=null),t)return a=this.props.editorState,n=s(a),e=n.getType(),o=a.getCurrentContent(),u=a.getSelection(),d=t.getBoundingClientRect(),i=d,l=this.refs.dante_popover,c=l.offsetWidth/2,p=r.findDOMNode(this.props.editor),h=p.getBoundingClientRect(),{top:d.top-h.top+160,left:d.left+d.width/2-c}},e.prototype.render=function(){var t,e;return t=this.state.position,e={left:t.left,top:t.top,visibility:""+(this.state.show?"visible":"hidden")},n.createElement("div",{ref:"dante_popover",className:"dante-popover popover--tooltip popover--Linktooltip popover--bottom is-active",style:e,onMouseOver:this.props.handleOnMouseOver,onMouseOut:this.props.handleOnMouseOut},n.createElement("div",{className:"popover-inner"},n.createElement("a",{href:this.props.url,target:"_blank"},this.state.url)),n.createElement("div",{className:"popover-arrow"}))},e}(n.Component),t.exports=i},205:function(t,e,o){var i,n,r,s,a,l,c,p,h,d,u,f,g,m,y,k,_,v,b,S,E,w=function(t,e){return function(){return t.apply(e,arguments)}},C=function(t,e){function o(){this.constructor=t}for(var i in e)D.call(e,i)&&(t[i]=e[i]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},D={}.hasOwnProperty;d=o(6),u=o(13),S=o(9),g=S.convertToRaw,i=S.CompositeDecorator,b=S.getVisibleSelectionRect,y=S.getDefaultKeyBinding,_=S.getSelectionOffsetKeyForNode,h=S.KeyBindingUtil,n=S.ContentState,l=S.Editor,c=S.EditorState,p=S.Entity,f=S.RichUtils,E=o(48),v=E.getSelectionRect,k=E.getSelection,m=o(25).getCurrentBlock,r=function(t){function e(t){this.getDefaultValue=w(this.getDefaultValue,this),this.blockItems=w(this.blockItems,this),this.inlineItems=w(this.inlineItems,this),this.confirmLink=w(this.confirmLink,this),this.handleInputEnter=w(this.handleInputEnter,this),this._disableLinkMode=w(this._disableLinkMode,this),this._enableLinkMode=w(this._enableLinkMode,this),this.displayActiveMenu=w(this.displayActiveMenu,this),this.displayLinkMode=w(this.displayLinkMode,this),this._clickBlockHandler=w(this._clickBlockHandler,this),this.relocate=w(this.relocate,this),this.hide=w(this.hide,this),this.show=w(this.show,this),this.display=w(this.display,this),this._clickInlineHandler=w(this._clickInlineHandler,this),e.__super__.constructor.call(this,t),this.getVisibleSelectionRect=b,this.state={link_mode:!1,show:!1,position:{}}}return C(e,t),e.prototype._clickInlineHandler=function(t,e){return t.preventDefault(),this.props.onChange(f.toggleInlineStyle(this.props.editorState,e)),setTimeout(function(t){return function(){return t.relocate()}}(this),0)},e.prototype.display=function(t){return t?this.show():this.hide()},e.prototype.show=function(){return this.setState({show:!0})},e.prototype.hide=function(){return this.setState({link_mode:!1,show:!1})},e.prototype.setPosition=function(t){return this.setState({position:t})},e.prototype.isDescendant=function(t,e){var o;for(o=e.parentNode;null!==o;){if(o===t)return!0;o=o.parentNode}return!1},e.prototype.relocate=function(){var t,e,o,i,n,r,s,a,l,c;if(e=m(this.props.editorState),t=e.getType(),this.props.configTooltip.selectionElements.indexOf(t)<0)return void this.hide();if(!this.state.link_mode&&this.state.show&&(o=this.refs.dante_menu,r=o.offsetWidth/2,n=k(window),n.rangeCount)){if(l=v(n),s=u.findDOMNode(this.props.editor),a=s.getBoundingClientRect(),!this.isDescendant(s,n.anchorNode))return void this.hide();if(c=l.top-a.top- -90-5,i=l.left+l.width/2-r,c&&i)return this.setState({show:!0,position:{left:i,top:c}})}},e.prototype._clickBlockHandler=function(t,e){return t.preventDefault(),this.props.onChange(f.toggleBlockType(this.props.editorState,e)),setTimeout(function(t){return function(){return t.relocate()}}(this),0)},e.prototype.displayLinkMode=function(){return this.state.link_mode?"dante-menu--linkmode":""},e.prototype.displayActiveMenu=function(){return this.state.show?"dante-menu--active":""},e.prototype._enableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!0})},e.prototype._disableLinkMode=function(t){return t.preventDefault(),this.setState({link_mode:!1,url:""})},e.prototype.hideMenu=function(){return this.hide()},e.prototype.handleInputEnter=function(t){if(13===t.which)return this.confirmLink(t)},e.prototype.confirmLink=function(t){var e,o,i,n,r,s;return t.preventDefault(),o=this.props.editorState,s=t.currentTarget.value,
3
+ e=o.getCurrentContent(),r=o.getSelection(),n={url:s,showPopLinkOver:this.props.showPopLinkOver,hidePopLinkOver:this.props.hidePopLinkOver},i=p.create("LINK","MUTABLE",n),r.isCollapsed()?void console.log("COLLAPSED SKIPPING LINK"):(this.props.onChange(f.toggleLink(o,r,i)),this._disableLinkMode(t))},e.prototype.getPosition=function(){var t;return t=this.state.position},e.prototype.inlineItems=function(){return this.props.widget_options.block_types.filter(function(t){return function(t){return"inline"===t.type}}(this))},e.prototype.blockItems=function(){return this.props.widget_options.block_types.filter(function(t){return function(t){return"block"===t.type}}(this))},e.prototype.getDefaultValue=function(){var t,e,o,i,n;return this.refs.dante_menu_input&&(this.refs.dante_menu_input.value=""),e=m(this.props.editorState),t=e.getType(),n=this.props.editor.state.editorState.getSelection(),i=null,o=null,e.findEntityRanges(function(t){return function(t){var e;return e=t.getEntity(),i=e,null!==e&&"LINK"===p.get(e).getType()}}(this),function(t){return function(e,r){var s,a;if(a=n.getAnchorOffset(),s=n.getFocusOffset(),n.getIsBackward()&&(a=n.getFocusOffset(),s=n.getAnchorOffset()),e===a&&r===s)return o=p.get(i).getData().url,t.refs.dante_menu_input.value=o}}(this))},e.prototype.render=function(){return d.createElement("div",{id:"dante-menu",ref:"dante_menu",className:"dante-menu "+this.displayActiveMenu()+" "+this.displayLinkMode(),style:this.getPosition()},d.createElement("div",{className:"dante-menu-linkinput"},d.createElement("input",{className:"dante-menu-input",ref:"dante_menu_input",placeholder:"Paste or type a link",onKeyPress:this.handleInputEnter,defaultValue:this.getDefaultValue()}),d.createElement("div",{className:"dante-menu-button",onMouseDown:this._disableLinkMode},"x")),d.createElement("ul",{className:"dante-menu-buttons"},this.blockItems().map(function(t){return function(e,o){return d.createElement(s,{key:o,item:e,handleClick:t._clickBlockHandler,editorState:t.props.editorState,type:"block",currentStyle:t.props.editorState.getCurrentInlineStyle})}}(this)),d.createElement(a,{editorState:this.props.editorState,enableLinkMode:this._enableLinkMode}),this.inlineItems().map(function(t){return function(e,o){return d.createElement(s,{key:o,item:e,type:"inline",editorState:t.props.editorState,handleClick:t._clickInlineHandler})}}(this))))},e}(d.Component),s=function(t){function e(){return this.render=w(this.render,this),this.activeClassBlock=w(this.activeClassBlock,this),this.activeClassInline=w(this.activeClassInline,this),this.isActive=w(this.isActive,this),this.activeClass=w(this.activeClass,this),this.handleClick=w(this.handleClick,this),e.__super__.constructor.apply(this,arguments)}return C(e,t),e.prototype.handleClick=function(t){return this.props.handleClick(t,this.props.item.style)},e.prototype.activeClass=function(){return this.isActive()?"active":""},e.prototype.isActive=function(){return"block"===this.props.type?this.activeClassBlock():this.activeClassInline()},e.prototype.activeClassInline=function(){if(this.props.editorState)return this.props.editorState.getCurrentInlineStyle().has(this.props.item.style)},e.prototype.activeClassBlock=function(){var t,e;if(this.props.editorState)return e=this.props.editorState.getSelection(),t=this.props.editorState.getCurrentContent().getBlockForKey(e.getStartKey()).getType(),this.props.item.style===t},e.prototype.render=function(){return d.createElement("li",{className:"dante-menu-button "+this.activeClass(),onMouseDown:this.handleClick},d.createElement("i",{className:"dante-icon dante-icon-"+this.props.item.label,"data-action":"bold"}))},e}(d.Component),a=function(t){function e(){return this.promptForLink=w(this.promptForLink,this),e.__super__.constructor.apply(this,arguments)}return C(e,t),e.prototype.promptForLink=function(t){var e;if(e=this.props.editorState.getSelection(),!e.isCollapsed())return this.props.enableLinkMode(t)},e.prototype.render=function(){return d.createElement("li",{className:"dante-menu-button",onMouseDown:this.promptForLink},d.createElement("i",{className:"dante-icon icon-createlink","data-action":"createlink"},"link"))},e}(d.Component),t.exports=r},280:function(t,e){},302:function(t,e,o){t.exports=o.p+"fonts/dante.svg"},303:function(t,e,o){t.exports=o.p+"fonts/dante.ttf"},304:function(t,e,o){t.exports=o.p+"fonts/dante.woff"},305:function(t,e,o){t.exports=o.p+"fonts/fontello.svg"},306:function(t,e,o){t.exports=o.p+"fonts/fontello.ttf"},307:function(t,e,o){t.exports=o.p+"fonts/fontello.woff"}});
4
+ //# sourceMappingURL=dante.js.map
data/docs/dante.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dante.js","sources":["webpack:///dante.js","webpack:///?d41d"],"mappings":"AAAA;ACCA;AACA","sourceRoot":""}
data/docs/doc.html ADDED
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
6
+ <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
7
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
8
+ <title>Dante2</title>
9
+ <link rel="stylesheet" type="text/css" href="/application.css">
10
+ <script src="/vendor.js"></script>
11
+ <script src="/application.js"></script>
12
+ <script>require('initialize');</script>
13
+ <link href="app.css" rel="stylesheet"><link href="dante.css" rel="stylesheet"></head>
14
+ <body>
15
+
16
+ <div id="header">
17
+ <div class="logo">
18
+ <div class="menu-buttons">
19
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/doc.html">
20
+ Documentation
21
+ </a>
22
+
23
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/license.html">
24
+ License
25
+ </a>
26
+ </div>
27
+
28
+
29
+ <img src='https://michelson.github.io/dante2/images/dante-editor-logo.png' alt="dante editor" height="21">
30
+ <span>Dante Editor - 0.2.0 </span>
31
+
32
+ </div>
33
+
34
+ <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante2">
35
+ <img src='https://michelson.github.io/dante2/images/github-logo.png' alt="Fork me on github" height="28">
36
+ </a>
37
+ </div>
38
+
39
+ <div id="app"></div>
40
+
41
+ <script type="text/javascript">
42
+ document.addEventListener('DOMContentLoaded', function(){
43
+ editor = new Dante(
44
+ {
45
+ upload_url: "http://localhost:9292/uploads/new",
46
+ el: "app",
47
+ content: window.Doc,
48
+ read_only: true
49
+ }
50
+ )
51
+ editor.render()
52
+ window.dante_editor = editor
53
+ })
54
+ </script>
55
+
56
+ <script type="text/javascript" src="dante-vendors.js"></script><script type="text/javascript" src="app.js"></script><script type="text/javascript" src="dante.js"></script></body>
57
+ </html>
Binary file
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe600;" glyph-name="video" d="M256 759.559v-623.174c0-70.118 47.316-95.291 105.683-55.222l428.634 294.258c58.622 40.244 58.367 105.034 0 145.103l-428.634 294.258c-58.622 40.244-105.683 15.345-105.683-55.222zM320 766.664l426.195-293.488c30.527-20.25 29.832-31 0-51.070l-426.195-295.039v639.598z" />
11
+ <glyph unicode="&#xe601;" glyph-name="image" d="M294.4 768l0.489 2.446c13.868 69.342 82.599 125.554 152.977 125.554h128.267c70.619 0 139.014-55.74 152.977-125.554l0.489-2.446h166.78c70.483 0 127.62-57.611 127.62-127.489v-449.022c0-70.41-57.249-127.489-127.62-127.489h-768.76c-70.483 0-127.62 57.611-127.62 127.489v449.022c0 70.41 57.249 127.489 127.62 127.489h166.78zM347.123 704h-218.685c-35.641 0-64.438-28.583-64.438-63.843v-448.314c0-35.279 28.85-63.843 64.438-63.843h767.124c35.641 0 64.438 28.583 64.438 63.843v448.314c0 35.279-28.85 63.843-64.438 63.843h-218.816l-13.864 65.375c-7.263 34.25-41.874 62.625-77.145 62.625h-147.627c-35.433 0-69.805-28.038-77.134-62.625l-13.853-65.375zM320 448c0-105.823 85.961-192 192-192 105.823 0 192 85.961 192 192 0 105.823-85.961 192-192 192-105.823 0-192-85.961-192-192zM384 448c0 70.692 56.815 128 128 128 70.692 0 128-56.815 128-128 0-70.692-56.815-128-128-128-70.692 0-128 56.815-128 128z" />
12
+ <glyph unicode="&#xe602;" glyph-name="plus" d="M544 416v-375.294c0-17.673-14.327-32-32-32s-32 14.327-32 32v375.294h-375.294c-17.673 0-32 14.327-32 32s14.327 32 32 32h375.294v375.294c0 17.673 14.327 32 32 32s32-14.327 32-32v-375.294h375.294c17.673 0 32-14.327 32-32s-14.327-32-32-32h-375.294z" />
13
+ <glyph unicode="&#xe603;" glyph-name="embed" d="M882.24 449.498l-235.855 234.241c-12.497 12.411-12.497 32.534 0 44.945s32.758 12.411 45.255 0l253.704-251.968c1.872-1.201 3.645-2.616 5.284-4.244 12.497-12.411 12.497-32.534 0-44.945l-257.992-256.226c-12.497-12.411-32.758-12.411-45.255 0s-12.497 32.534 0 44.945l234.859 233.252zM67.842 461.229c-6.562-12.128-4.719-27.599 5.53-37.848 2.863-2.863 6.133-5.070 9.624-6.621l249.364-249.364c12.497-12.497 32.758-12.497 45.255 0s12.497 32.758 0 45.255l-234.859 234.859 233.863 233.863c12.497 12.497 12.497 32.758 0 45.255s-32.758 12.497-45.255 0l-251.712-251.712c-1.872-1.209-3.645-2.634-5.284-4.273-2.805-2.805-4.981-6.002-6.527-9.414v0 0z" />
14
+ <glyph unicode="&#xe900;" glyph-name="image-center" horiz-adv-x="1152" d="M128 128h896v-96h-896v96zM128 704h896v-480h-896v480zM128 896h896v-96h-896v96z" />
15
+ <glyph unicode="&#xe901;" glyph-name="image-fill" horiz-adv-x="1152" d="M128 128h896v-96h-896v96zM0 896h1152v-672h-1152v672z" />
16
+ <glyph unicode="&#xe902;" glyph-name="image-left" horiz-adv-x="1152" d="M256 128h896v-96h-896v96zM768 320h384v-96h-384v96zM0 704h672v-480h-672v480zM768 512h384v-96h-384v96zM768 704h384v-96h-384v96zM256 896h896v-96h-896v96z" />
17
+ <glyph unicode="&#xe903;" glyph-name="image-wide" horiz-adv-x="1152" d="M128 128h896v-96h-896v96zM0 704h1152v-480h-1152v480zM128 896h896v-96h-896v96z" />
18
+ </font></defs></svg>
Binary file
Binary file
Binary file
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Copyright (C) 2012 by original authors @ fontello.com</metadata>
5
+ <defs>
6
+ <font id="fontello" horiz-adv-x="1000" >
7
+ <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
+ <missing-glyph horiz-adv-x="1000" />
9
+ <glyph glyph-name="location" unicode="&#xe815;" d="M429 493q0 59-42 101t-101 42-101-42-42-101 42-101 101-42 101 42 42 101z m143 0q0-61-18-100l-203-432q-9-18-27-29t-38-11-38 11-26 29l-204 432q-18 39-18 100 0 118 84 202t202 84 202-84 84-202z" horiz-adv-x="571.429" />
10
+ <glyph glyph-name="fit" unicode="&#xe80f;" d="M429 314l0-250q0-15-11-25t-25-11-25 11l-80 80-185-185q-6-6-13-6t-13 6l-64 64q-6 6-6 13t6 13l185 185-80 80q-11 11-11 25t11 25 25 11l250 0q15 0 25-11t11-25z m421 375q0-7-6-13l-185-185 80-80q11-11 11-25t-11-25-25-11l-250 0q-15 0-25 11t-11 25l0 250q0 15 11 25t25 11 25-11l80-80 185 185q6 6 13 6t13-6l64-64q6-6 6-13z" horiz-adv-x="857.143" />
11
+ <glyph glyph-name="bold" unicode="&#xe805;" d="M310 1q42-18 78-18 73 0 121 23t68 63q21 39 21 101 0 64-23 100-32 52-79 70-45 18-138 18-41 0-56-6l0-80-1-97 2-151q0-8 7-25z m-8 416q24-4 61-4 98 0 147 36t50 125q0 62-47 104t-142 42q-29 0-73-7 0-25 1-43 4-68 3-156l-1-55q0-24 1-43z m-302-496l1 52q25 5 38 7 43 7 69 17 9 15 12 28 5 37 5 108l-1 277q-3 143-5 225-1 49-6 61-1 2-7 7-10 7-39 8-17 1-64 7l-2 46 145 3 212 7 25 1q3 0 8 0t8 0q1 0 12 0t23 0l41 0q49 0 107-15 24-7 54-22 32-16 57-42t36-58 12-68q0-39-18-71t-53-59q-15-11-84-43 99-23 149-81 51-59 51-132 0-42-16-90-12-35-40-65-37-40-78-60t-113-33q-46-8-110-6l-110 2q-47 1-166-6-18-2-152-6z" horiz-adv-x="785.714" />
12
+ <glyph glyph-name="italic" unicode="&#xe806;" d="M0-77l9 47q2 1 43 11 42 11 65 22 16 21 23 56l15 78 31 150 7 36q4 25 9 47t9 37 7 26 5 17 2 6l16 88 9 35 12 75 4 28 0 21q-23 12-80 16-16 1-21 2l11 57 177-8q22-1 41-1 37 0 119 5 18 1 38 3t20 1q-1-11-3-21-4-16-7-28-31-11-61-17-36-9-56-17-7-17-13-49-5-25-7-46-25-111-37-171l-34-174-21-88-24-131-7-25q-1-4 1-15 36-8 66-12 20-3 37-6-1-16-4-32-4-17-5-23-10 0-13-1-13-1-23-1-5 0-16 2t-81 9l-110 1q-23 1-97-6-41-4-55-5z" horiz-adv-x="571.429" />
13
+ <glyph glyph-name="justifyleft" unicode="&#xe80a;" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-714 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l714 0q15 0 25-11t11-25z m143 214l0-71q0-15-11-25t-25-11l-857 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l857 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-643 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l643 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
14
+ <glyph glyph-name="justifycenter" unicode="&#xe80b;" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-500 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l500 0q15 0 25-11t11-25z m143 214l0-71q0-15-11-25t-25-11l-786 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l786 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-357 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l357 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
15
+ <glyph glyph-name="justifyright" unicode="&#xe80c;" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-714 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l714 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-857 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l857 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-643 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l643 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
16
+ <glyph glyph-name="justifyfull" unicode="&#xe80d;" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
17
+ <glyph glyph-name="outdent" unicode="&#xe800;" d="M214 546l0-321q0-7-5-13t-13-5q-8 0-13 5l-161 161q-5 5-5 13t5 13l161 161q5 5 13 5 7 0 13-5t5-13z m786-429l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
18
+ <glyph glyph-name="indent" unicode="&#xe801;" d="M196 386q0-8-5-13l-161-161q-5-5-13-5-7 0-13 5t-5 13l0 321q0 7 5 13t13 5q8 0 13-5l161-161q5-5 5-13z m804-268l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
19
+ <glyph glyph-name="mode" unicode="&#xe813;" d="M429 46l0 607q-83 0-152-41t-110-110-41-152 41-152 110-110 152-41z m429 304q0-117-57-215t-156-156-215-57-215 57-156 156-57 215 57 215 156 156 215 57 215-57 156-156 57-215z" horiz-adv-x="857.143" />
20
+ <glyph glyph-name="fullscreen" unicode="&#xe80e;" d="M716 548l-198-198 198-198 80 80q16 17 39 8 22-9 22-33l0-250q0-15-11-25t-25-11l-250 0q-23 0-33 22-9 22 8 39l80 80-198 198-198-198 80-80q17-17 8-39t-33-22l-250 0q-15 0-25 11t-11 25l0 250q0 23 22 33 22 9 39-8l80-80 198 198-198 198-80-80q-11-11-25-11-7 0-13 3-22 9-22 33l0 250q0 15 11 25t25 11l250 0q23 0 33-22 9-22-8-39l-80-80 198-198 198 198-80 80q-17 17-8 39t33 22l250 0q15 0 25-11t11-25l0-250q0-23-22-33-7-3-14-3-15 0-25 11z" horiz-adv-x="857.143" />
21
+ <glyph glyph-name="insertunorderedlist" unicode="&#xe802;" d="M214 64q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m0 286q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z m-786 518q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z m0 286l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
22
+ <glyph glyph-name="insertorderedlist" unicode="&#xe803;" d="M213-54q0-45-30-70t-76-26q-59 0-96 37l32 49q27-25 59-25 16 0 28 8t12 24q0 36-59 31l-15 31q4 6 18 24t24 30 21 21l0 1q-9 0-27-1t-27-1l0-30-59 0 0 85 186 0 0-49-53-64q28-7 45-27t17-49z m1 350l0-89-202 0q-3 20-3 30 0 28 13 52t32 38 37 27 32 24 13 25q0 14-8 21t-22 8q-26 0-45-32l-47 33q13 28 40 44t59 16q41 0 69-23t28-63q0-28-19-51t-42-36-42-28-20-29l71 0 0 33 59 0z m786-178l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 8 5 13t13 5l679 0q7 0 13-5t5-13z m-786 502l0-55-187 0 0 55 60 0q0 23 0 68t0 68l0 7-1 0q-4-9-28-30l-40 42 76 71 59 0 0-225 60 0z m786-216l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 8 5 13t13 5l679 0q7 0 13-5t5-13z m0 286l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
23
+ <glyph glyph-name="strikethrough" unicode="&#xe807;" d="M982 350q8 0 13-5t5-13l0-36q0-8-5-13t-13-5l-964 0q-8 0-13 5t-5 13l0 36q0 8 5 13t13 5l964 0z m-713 36q-16 20-28 45-27 54-27 105 0 101 75 172 74 71 219 71 28 0 93-11 37-7 99-27 6-21 12-66 8-69 8-102 0-10-3-25l-7-2-47 3-8 1q-28 83-57 114-49 51-117 51-64 0-102-33-37-32-37-81 0-41 37-78t156-72q39-11 97-37 32-16 53-29l-415 0z m283-143l229 0q4-22 4-51 0-62-23-118-13-31-40-58-21-20-61-45-45-27-85-37-45-12-113-12-64 0-109 13l-78 22q-32 9-40 16-4 4-4 12l0 7q0 60-1 87-1 17 0 38l1 21 0 25 57 1q8-19 17-40t13-31 7-15q20-32 45-52 24-20 59-32 33-12 74-12 36 0 78 15 43 15 68 48 26 34 26 72 0 47-45 88-19 16-76 40z" horiz-adv-x="1000" />
24
+ <glyph glyph-name="underline" unicode="&#xe804;" d="M27 726q-21 1-25 2l-2 49q7 1 22 1 33 0 62-2 74-4 93-4 48 0 94 2 65 2 81 3 31 0 48 1l-1-8 1-36 0-5q-33-5-69-5-33 0-44-14-7-8-7-74 0-7 0-18t0-14l1-128 8-156q3-69 28-113 20-33 54-51 49-26 99-26 58 0 107 16 31 10 55 28 27 20 36 36 20 31 30 64 12 41 12 128 0 44-2 71t-6 68-8 89l-2 33q-3 37-13 49-19 20-43 19l-56-1-8 2 1 48 47 0 114-6q42-2 109 6l10-1q3-21 3-28 0-4-2-17-25-7-47-7-41-6-44-9-8-8-8-23 0-4 1-15t1-17q4-11 12-221 3-109-8-170-8-42-23-68-21-36-62-69-42-32-102-50-61-18-142-18-93 0-158 26-66 26-100 68t-46 109q-9 45-9 132l0 186q0 105-9 119-14 20-82 22z m830-786l0 36q0 8-5 13t-13 5l-821 0q-8 0-13-5t-5-13l0-36q0-8 5-13t13-5l821 0q8 0 13 5t5 13z" horiz-adv-x="857.143" />
25
+ <glyph glyph-name="blockquote" unicode="&#xe814;" d="M429 671l0-393q0-58-23-111t-61-91-91-61-111-23l-36 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l36 0q59 0 101 42t42 101l0 18q0 22-16 38t-38 16l-125 0q-45 0-76 31t-31 76l0 214q0 45 31 76t76 31l214 0q45 0 76-31t31-76z m500 0l0-393q0-58-23-111t-61-91-91-61-111-23l-36 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l36 0q59 0 101 42t42 101l0 18q0 22-16 38t-38 16l-125 0q-45 0-76 31t-31 76l0 214q0 45 31 76t76 31l214 0q45 0 76-31t31-76z" horiz-adv-x="928.571" />
26
+ <glyph glyph-name="undo" unicode="&#xe817;" d="M1000 225q0-93-71-252-2-4-6-13t-8-17-7-12q-7-9-16-9-8 0-13 6t-5 14q0 5 1 15t1 13q3 38 3 69 0 56-10 101t-27 77-45 56-59 39-74 24-86 12-98 3l-125 0 0-143q0-15-11-25t-25-11-25 11l-286 286q-11 11-11 25t11 25l286 286q11 11 25 11t25-11 11-25l0-143 125 0q398 0 488-225 30-75 30-186z" horiz-adv-x="1000" />
27
+ <glyph glyph-name="code" unicode="&#xe816;" d="M344 69l-28-28q-6-6-13-6t-13 6l-260 260q-6 6-6 13t6 13l260 260q6 6 13 6t13-6l28-28q6-6 6-13t-6-13l-219-219 219-219q6-6 6-13t-6-13z m330 595l-208-720q-2-7-9-11t-13-1l-35 9q-7 2-11 9t-1 14l208 720q2 7 9 11t13 1l35-9q7-2 11-9t1-14z m367-363l-260-260q-6-6-13-6t-13 6l-28 28q-6 6-6 13t6 13l219 219-219 219q-6 6-6 13t6 13l28 28q6 6 13 6t13-6l260-260q6-6 6-13t-6-13z" horiz-adv-x="1071.429" />
28
+ <glyph glyph-name="unlink" unicode="&#xe811;" d="M245 141l-143-143q-6-5-13-5t-13 5q-5 6-5 13t5 13l143 143q6 5 13 5t13-5q5-6 5-13t-5-13z m94-23l0-179q0-8-5-13t-13-5-13 5-5 13l0 179q0 8 5 13t13 5 13-5 5-13z m-125 125q0-8-5-13t-13-5l-179 0q-8 0-13 5t-5 13 5 13 13 5l179 0q8 0 13-5t5-13z m705-71q0-67-47-113l-82-81q-46-46-113-46-68 0-114 47l-186 187q-12 12-23 31l133 10 152-153q15-15 38-15t38 15l82 81q16 16 16 37 0 22-16 38l-153 153 10 133q20-12 31-23l187-187q47-48 47-114z m-344 404l-133-10-152 153q-16 16-38 16t-38-15l-82-81q-16-16-16-37 0-22 16-38l153-153-10-134q-20 12-31 23l-187 187q-47 48-47 114 0 67 47 113l82 81q46 46 113 46 68 0 114-47l186-187q12-12 23-31z m353-47q0-8-5-13t-13-5l-179 0q-8 0-13 5t-5 13 5 13 13 5l179 0q8 0 13-5t5-13z m-304 304l0-179q0-8-5-13t-13-5-13 5-5 13l0 179q0 8 5 13t13 5 13-5 5-13z m227-84l-143-143q-6-5-13-5t-13 5q-5 6-5 13t5 13l143 143q6 5 13 5t13-5q5-6 5-13t-5-13z" horiz-adv-x="928.571" />
29
+ <glyph glyph-name="superscript" unicode="&#xe808;" d="M501 86l0-93-138 0-89 141-13 23q-4 5-6 12l-2 0-5-12q-6-11-14-25l-86-140-144 0 0 93 71 0 110 162-103 152-76 0 0 94 154 0 78-127q1-2 13-23 4-5 6-12l2 0q2 5 6 12l14 23 78 127 143 0 0-94-70 0-103-149 114-165 61 0z m355 379l0-115-287 0-2 15q-2 16-2 26 0 36 15 65t36 48 47 36 47 30 36 30 15 36q0 21-16 35t-39 14q-28 0-54-22-8-6-20-21l-59 51q15 21 35 37 46 36 105 36 61 0 99-33t38-88q0-31-14-57t-35-43-45-33-46-28-37-29-17-35l129 0 0 45 70 0z" horiz-adv-x="857.143" />
30
+ <glyph glyph-name="subscript" unicode="&#xe809;" d="M501 86l0-93-138 0-89 141-13 23q-4 5-6 12l-2 0-5-12q-6-11-14-25l-86-140-144 0 0 93 71 0 110 162-103 152-76 0 0 94 154 0 78-127q1-2 13-23 4-5 6-12l2 0q2 5 6 12l14 23 78 127 143 0 0-94-70 0-103-149 114-165 61 0z m357-121l0-115-287 0-2 15q-2 25-2 26 0 36 15 65t36 48 47 36 47 30 36 30 15 36q0 21-16 35t-39 14q-28 0-54-22-8-6-20-21l-59 51q15 21 35 37 45 36 105 36 61 0 99-33t38-88q0-37-19-66t-47-48-56-35-49-35-23-41l129 0 0 45 70 0z" horiz-adv-x="857.143" />
31
+ <glyph glyph-name="inserthorizontalrule" unicode="&#xe818;" d="M214 439l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z m286 0l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z m286 0l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z" horiz-adv-x="785.714" />
32
+ <glyph glyph-name="pin" unicode="&#xe812;" d="M268 368l0 250q0 8-5 13t-13 5-13-5-5-13l0-250q0-8 5-13t13-5 13 5 5 13z m375-196q0-15-11-25t-25-11l-239 0-28-270q-1-7-6-11t-11-5l-1 0q-15 0-18 15l-42 271-225 0q-15 0-25 11t-11 25q0 69 44 124t99 55l0 286q-29 0-50 21t-21 50 21 50 50 21l357 0q29 0 50-21t21-50-21-50-50-21l0-286q55 0 99-55t44-124z" horiz-adv-x="642.857" />
33
+ <glyph glyph-name="createlink" unicode="&#xe810;" d="M812 171q0 22-16 38l-116 116q-16 16-38 16-23 0-40-18 2-2 11-10t12-12 8-11 7-14 2-15q0-22-16-38t-38-16q-8 0-15 2t-14 7-11 8-12 12-10 11q-18-17-18-41 0-22 16-38l115-116q15-15 38-15 22 0 38 15l82 81q16 16 16 37z m-392 393q0 22-16 38l-115 116q-16 16-38 16t-38-15l-82-81q-16-16-16-37 0-22 16-38l116-116q15-15 38-15t40 17q-2 2-11 10t-12 12-8 11-7 14-2 15q0 22 16 38t38 16q8 0 15-2t14-7 11-8 12-12 10-11q18 17 18 41z m499-393q0-67-47-113l-82-81q-46-46-113-46-68 0-114 47l-115 116q-46 46-46 113 0 69 49 117l-49 49q-48-49-116-49-67 0-114 47l-116 116q-47 47-47 114t47 113l82 81q46 46 113 46 68 0 114-47l115-116q46-46 46-113 0-69-49-117l49-49q48 49 116 49 67 0 114-47l116-116q47-47 47-114z" horiz-adv-x="928.571" />
34
+ </font>
35
+ </defs>
36
+ </svg>
Binary file
Binary file
Binary file
Binary file
data/docs/index.html ADDED
@@ -0,0 +1,55 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
6
+ <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
7
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
8
+ <title>Dante2</title>
9
+ <link href="app.css" rel="stylesheet"><link href="dante.css" rel="stylesheet"></head>
10
+ <body>
11
+
12
+ <div id="header">
13
+ <div class="logo">
14
+ <div class="menu-buttons">
15
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/doc.html">
16
+ Documentation
17
+ </a>
18
+
19
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/license.html">
20
+ License
21
+ </a>
22
+ </div>
23
+
24
+
25
+ <img src=images/dante-editor-logo.png alt="dante editor" height="21">
26
+ <span>Dante Editor - 0.2.0 </span>
27
+
28
+ </div>
29
+
30
+ <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante2">
31
+ <img src=images/github-logo.png alt="Fork me on github" height="28">
32
+ </a>
33
+ </div>
34
+
35
+ <div class="danteArticle"></div>
36
+ <div id="app"></div>
37
+
38
+ <script type="text/javascript">
39
+ document.addEventListener('DOMContentLoaded', function(){
40
+ editor = new Dante(
41
+ {
42
+ api_key: "86c28a410a104c8bb58848733c82f840",
43
+ el: "app",
44
+ content: window.PocData,
45
+ debug: true,
46
+ data_storage: {
47
+ url: "http://localhost:3333/store.json"
48
+ }
49
+ }
50
+ )
51
+ editor.render()
52
+ })
53
+ </script>
54
+ <script type="text/javascript" src="dante-vendors.js"></script><script type="text/javascript" src="app.js"></script><script type="text/javascript" src="dante.js"></script></body>
55
+ </html>
data/docs/license.html ADDED
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
6
+ <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
7
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
8
+ <title>Dante2</title>
9
+ <link href="app.css" rel="stylesheet"><link href="dante.css" rel="stylesheet"></head>
10
+ <body>
11
+
12
+
13
+ <div id="header">
14
+ <div class="logo">
15
+ <div class="menu-buttons">
16
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/doc.html">
17
+ Documentation
18
+ </a>
19
+
20
+ <a class="menu-button" target="_blank" href="https://michelson.github.io/dante2/license.html">
21
+ License
22
+ </a>
23
+ </div>
24
+
25
+ <img src='https://michelson.github.io/dante2/images/dante-editor-logo.png' alt="dante editor" height="21">
26
+ <span>Dante Editor - 0.2.0 </span>
27
+
28
+ </div>
29
+
30
+ <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante2">
31
+ <img src='https://michelson.github.io/dante2/images/github-logo.png' alt="Fork me on github" height="28">
32
+ </a>
33
+ </div>
34
+
35
+ <div class="danteArticle"></div>
36
+ <div id="app"></div>
37
+
38
+ <script type="text/javascript">
39
+ document.addEventListener('DOMContentLoaded', function(){
40
+ editor = new Dante(
41
+ {
42
+ el: "app",
43
+ content: window.PocDataLicense,
44
+ debug: false,
45
+ read_only: true
46
+ }
47
+ )
48
+ editor.render()
49
+ })
50
+ </script>
51
+ <script type="text/javascript" src="dante-vendors.js"></script><script type="text/javascript" src="app.js"></script><script type="text/javascript" src="dante.js"></script></body>
52
+ </html>
@@ -0,0 +1,5 @@
1
+ require "dante2-editor/version"
2
+ require 'dante2-editor/rails' if defined?(Rails)
3
+
4
+ module Dante2Editor
5
+ end
@@ -0,0 +1,16 @@
1
+ module Dante2Editor
2
+ class Engine < ::Rails::Engine
3
+
4
+ config.generators do |g|
5
+
6
+ config.assets.paths << Dante2Editor::Engine.root.join("docs", "fonts")
7
+ config.assets.paths << Dante2Editor::Engine.root.join("docs", "images")
8
+ config.assets.paths << Dante2Editor::Engine.root.join("docs")
9
+
10
+ config.assets.paths << Dante2Editor::Engine.root.join("app", "styles")
11
+
12
+
13
+ end
14
+
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ require "dante2-editor/version"
2
+
3
+ module Dante2Editor
4
+ VERSION = "0.2.0"
5
+ end
data/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "Dante2",
3
+ "version": "0.2.0",
4
+ "description": "Dante wysiwyg rewritten in draft-js",
5
+ "author": "Miguel Michelson",
6
+ "main": "app/components/App.cjsx",
7
+ "scripts": {
8
+ "build": "node_modules/.bin/webpack --mode=build --progress -p",
9
+ "dev": "node_modules/.bin/webpack --progress --colors --watch --mode=dev",
10
+ "test": "node_modules/.bin/mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js",
11
+ "start": "node_modules/.bin/webpack-dev-server --hot --inline"
12
+ },
13
+ "dependencies": {
14
+ "axios": "^0.15.2",
15
+ "draft-convert": "^1.2.3",
16
+ "draft-js": "0.9.1",
17
+ "react": "~15.3.0",
18
+ "react-dom": "~15.3.0"
19
+ },
20
+ "devDependencies": {
21
+ "babel": "6.3.13",
22
+ "babel-core": "6.1.18",
23
+ "babel-eslint": "5.0.0",
24
+ "babel-loader": "6.1.0",
25
+ "babel-plugin-add-module-exports": "0.1.2",
26
+ "babel-preset-es2015": "6.3.13",
27
+ "chai": "3.4.1",
28
+ "cjsx-loader": "^3.0.0",
29
+ "coffee-loader": "^0.7.2",
30
+ "coffee-script": "^1.11.1",
31
+ "css-loader": "^0.25.0",
32
+ "eslint": "1.7.2",
33
+ "eslint-loader": "1.1.0",
34
+ "extract-text-webpack-plugin": "^1.0.1",
35
+ "file-loader": "^0.9.0",
36
+ "html-webpack-plugin": "^2.24.1",
37
+ "mocha": "2.3.4",
38
+ "node-sass": "^3.10.1",
39
+ "sass-loader": "^4.0.2",
40
+ "style-loader": "^0.13.1",
41
+ "webpack": "1.12.9",
42
+ "webpack-dev-server": "^1.16.2",
43
+ "yargs": "3.32.0"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/michelson/Dante2.git"
48
+ },
49
+ "keywords": [
50
+ "dante",
51
+ "dante2",
52
+ "react",
53
+ "wysiwyg",
54
+ "draft-js"
55
+ ],
56
+ "license": "GPLv3",
57
+ "bugs": {
58
+ "url": "https://github.com/Michelson/Dante2/issues"
59
+ },
60
+ "homepage": "https://github.com/michelson/Dante2"
61
+ }