[{"data":1,"prerenderedAt":10548},["ShallowReactive",2],{"article_list_xmlhttprequest_":3},[4],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"publishDate":11,"tags":12,"image":15,"excerpt":10,"body":16,"_type":10539,"_id":10540,"_source":10541,"_file":10542,"_stem":10543,"_extension":10544,"author":10545},"/ckeefer/2014-2/ajax-upload-2","2014-2",false,"","Ajax Upload Part II: XHR2 (and FileReader)","So, the client has told you their users should be able to upload their drunken party pictures for all the internet to see. \"We want the very best experience possible,\" they tell you. \"Simple, seamless - maybe using that new html5 thing I've heard so much about.\"","2013-04-09",[13,14],"js","xmlhttprequest","/ckeefer/2014-2/img/html5.jpg",{"type":17,"children":18,"toc":10533},"root",[19,26,31,47,54,76,175,180,225,230,243,596,601,607,620,1924,1936,1941,1947,1970,1975,1980,1985,3088,3093,3106,3111,3117,3122,3135,3150,3155,10527],{"type":20,"tag":21,"props":22,"children":23},"element","p",{},[24],{"type":25,"value":10},"text",{"type":20,"tag":21,"props":27,"children":28},{},[29],{"type":25,"value":30},"You choke back a little bit of hope. You've been disappointed so often. Trying hard to sound non-chalant, you say \"only modern browsers, right?\" You hold your breath. They nod, and on the outside, you nod back. On the inside, you giggle. No flash, no iframe hacks - just ajax, as God (well, the W3C) intended. Ah, beautiful.",{"type":20,"tag":21,"props":32,"children":33},{},[34,36,45],{"type":25,"value":35},"As promised in ",{"type":20,"tag":37,"props":38,"children":42},"a",{"href":39,"rel":40},"http://blog.artlogic.com/2013/03/20/ajax-upload-part-i-framed-and-jquery-deferred/",[41],"nofollow",[43],{"type":25,"value":44},"part I",{"type":25,"value":46},", we're going take a quick walk through what it takes to upload a file with ajax. We're also going to take a look at reading a file into memory to play with in your app.",{"type":20,"tag":48,"props":49,"children":51},"h2",{"id":50},"inputs-and-drop-targets",[52],{"type":25,"value":53},"Inputs and Drop Targets",{"type":20,"tag":21,"props":55,"children":56},{},[57,59,66,68,74],{"type":25,"value":58},"So, let's say we have two images of some hip twenty-somethings having a good time, ",{"type":20,"tag":60,"props":61,"children":63},"code",{"className":62},[],[64],{"type":25,"value":65},"drunk1.png",{"type":25,"value":67}," and ",{"type":20,"tag":60,"props":69,"children":71},{"className":70},[],[72],{"type":25,"value":73},"drunk2.jpg",{"type":25,"value":75},". Our job is to get these files from the user's computer to our server as simply as possible. The standard input is a familiar way of doing this, but we might also want to take advantage of the new drag and drop capabilities in modern browsers. So, we could have something like:",{"type":20,"tag":77,"props":78,"children":82},"pre",{"className":79,"code":80,"language":81,"meta":8,"style":8},"language-html shiki shiki-themes github-light github-dark","\u003Cform>\n\u003Cinput id=\"hupinput\" type=\"file\" />\n\u003C/form>\n","html",[83],{"type":20,"tag":60,"props":84,"children":85},{"__ignoreMap":8},[86,109,158],{"type":20,"tag":87,"props":88,"children":91},"span",{"class":89,"line":90},"line",1,[92,98,104],{"type":20,"tag":87,"props":93,"children":95},{"style":94},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[96],{"type":25,"value":97},"\u003C",{"type":20,"tag":87,"props":99,"children":101},{"style":100},"--shiki-default:#22863A;--shiki-dark:#85E89D",[102],{"type":25,"value":103},"form",{"type":20,"tag":87,"props":105,"children":106},{"style":94},[107],{"type":25,"value":108},">\n",{"type":20,"tag":87,"props":110,"children":112},{"class":89,"line":111},2,[113,117,122,128,133,139,144,148,153],{"type":20,"tag":87,"props":114,"children":115},{"style":94},[116],{"type":25,"value":97},{"type":20,"tag":87,"props":118,"children":119},{"style":100},[120],{"type":25,"value":121},"input",{"type":20,"tag":87,"props":123,"children":125},{"style":124},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[126],{"type":25,"value":127}," id",{"type":20,"tag":87,"props":129,"children":130},{"style":94},[131],{"type":25,"value":132},"=",{"type":20,"tag":87,"props":134,"children":136},{"style":135},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[137],{"type":25,"value":138},"\"hupinput\"",{"type":20,"tag":87,"props":140,"children":141},{"style":124},[142],{"type":25,"value":143}," type",{"type":20,"tag":87,"props":145,"children":146},{"style":94},[147],{"type":25,"value":132},{"type":20,"tag":87,"props":149,"children":150},{"style":135},[151],{"type":25,"value":152},"\"file\"",{"type":20,"tag":87,"props":154,"children":155},{"style":94},[156],{"type":25,"value":157}," />\n",{"type":20,"tag":87,"props":159,"children":161},{"class":89,"line":160},3,[162,167,171],{"type":20,"tag":87,"props":163,"children":164},{"style":94},[165],{"type":25,"value":166},"\u003C/",{"type":20,"tag":87,"props":168,"children":169},{"style":100},[170],{"type":25,"value":103},{"type":20,"tag":87,"props":172,"children":173},{"style":94},[174],{"type":25,"value":108},{"type":20,"tag":21,"props":176,"children":177},{},[178],{"type":25,"value":179},"or:",{"type":20,"tag":77,"props":181,"children":183},{"className":79,"code":182,"language":81,"meta":8,"style":8},"\u003Cdiv id=\"hupdiv\">\u003C/div>\n",[184],{"type":20,"tag":60,"props":185,"children":186},{"__ignoreMap":8},[187],{"type":20,"tag":87,"props":188,"children":189},{"class":89,"line":90},[190,194,199,203,207,212,217,221],{"type":20,"tag":87,"props":191,"children":192},{"style":94},[193],{"type":25,"value":97},{"type":20,"tag":87,"props":195,"children":196},{"style":100},[197],{"type":25,"value":198},"div",{"type":20,"tag":87,"props":200,"children":201},{"style":124},[202],{"type":25,"value":127},{"type":20,"tag":87,"props":204,"children":205},{"style":94},[206],{"type":25,"value":132},{"type":20,"tag":87,"props":208,"children":209},{"style":135},[210],{"type":25,"value":211},"\"hupdiv\"",{"type":20,"tag":87,"props":213,"children":214},{"style":94},[215],{"type":25,"value":216},">\u003C/",{"type":20,"tag":87,"props":218,"children":219},{"style":100},[220],{"type":25,"value":198},{"type":20,"tag":87,"props":222,"children":223},{"style":94},[224],{"type":25,"value":108},{"type":20,"tag":21,"props":226,"children":227},{},[228],{"type":25,"value":229},"and then just define some styles that will give us a properly sized drop target.",{"type":20,"tag":21,"props":231,"children":232},{},[233,235,241],{"type":25,"value":234},"Now, the drag and drop api in html5 is a little strange. We need to ",{"type":20,"tag":236,"props":237,"children":238},"strong",{},[239],{"type":25,"value":240},"cancel",{"type":25,"value":242}," the default action and stop propagation for dragover and drop in order to allow something to be drag and dropped. The idea seems to be that the default action is to not allow anything to be dragged and dropped. You'll just have to swing with it.",{"type":20,"tag":77,"props":244,"children":248},{"className":245,"code":246,"language":247,"meta":8,"style":8},"language-javascript shiki shiki-themes github-light github-dark","$('inputname').off('dragover').on('dragover', function(event){\n    event = event.originalEvent;\n    event.preventDefault();\n    event.stopPropagation();\n});\n\nvar files;\n$('inputname').off('drop change').on('drop change', function(event){\n    event = event.originalEvent;\n    event.preventDefault();\n    event.stopPropagation();\n    // if drop and drag target\n    files = event.dataTransfer.files;\n    // or if an input\n    files = event.target.files;\n});\n\n","javascript",[249],{"type":20,"tag":60,"props":250,"children":251},{"__ignoreMap":8},[252,332,349,367,384,393,403,417,486,502,518,534,544,562,571,588],{"type":20,"tag":87,"props":253,"children":254},{"class":89,"line":90},[255,260,265,270,275,280,284,289,293,298,302,306,311,317,321,327],{"type":20,"tag":87,"props":256,"children":257},{"style":124},[258],{"type":25,"value":259},"$",{"type":20,"tag":87,"props":261,"children":262},{"style":94},[263],{"type":25,"value":264},"(",{"type":20,"tag":87,"props":266,"children":267},{"style":135},[268],{"type":25,"value":269},"'inputname'",{"type":20,"tag":87,"props":271,"children":272},{"style":94},[273],{"type":25,"value":274},").",{"type":20,"tag":87,"props":276,"children":277},{"style":124},[278],{"type":25,"value":279},"off",{"type":20,"tag":87,"props":281,"children":282},{"style":94},[283],{"type":25,"value":264},{"type":20,"tag":87,"props":285,"children":286},{"style":135},[287],{"type":25,"value":288},"'dragover'",{"type":20,"tag":87,"props":290,"children":291},{"style":94},[292],{"type":25,"value":274},{"type":20,"tag":87,"props":294,"children":295},{"style":124},[296],{"type":25,"value":297},"on",{"type":20,"tag":87,"props":299,"children":300},{"style":94},[301],{"type":25,"value":264},{"type":20,"tag":87,"props":303,"children":304},{"style":135},[305],{"type":25,"value":288},{"type":20,"tag":87,"props":307,"children":308},{"style":94},[309],{"type":25,"value":310},", ",{"type":20,"tag":87,"props":312,"children":314},{"style":313},"--shiki-default:#D73A49;--shiki-dark:#F97583",[315],{"type":25,"value":316},"function",{"type":20,"tag":87,"props":318,"children":319},{"style":94},[320],{"type":25,"value":264},{"type":20,"tag":87,"props":322,"children":324},{"style":323},"--shiki-default:#E36209;--shiki-dark:#FFAB70",[325],{"type":25,"value":326},"event",{"type":20,"tag":87,"props":328,"children":329},{"style":94},[330],{"type":25,"value":331},"){\n",{"type":20,"tag":87,"props":333,"children":334},{"class":89,"line":111},[335,340,344],{"type":20,"tag":87,"props":336,"children":337},{"style":94},[338],{"type":25,"value":339},"    event ",{"type":20,"tag":87,"props":341,"children":342},{"style":313},[343],{"type":25,"value":132},{"type":20,"tag":87,"props":345,"children":346},{"style":94},[347],{"type":25,"value":348}," event.originalEvent;\n",{"type":20,"tag":87,"props":350,"children":351},{"class":89,"line":160},[352,357,362],{"type":20,"tag":87,"props":353,"children":354},{"style":94},[355],{"type":25,"value":356},"    event.",{"type":20,"tag":87,"props":358,"children":359},{"style":124},[360],{"type":25,"value":361},"preventDefault",{"type":20,"tag":87,"props":363,"children":364},{"style":94},[365],{"type":25,"value":366},"();\n",{"type":20,"tag":87,"props":368,"children":370},{"class":89,"line":369},4,[371,375,380],{"type":20,"tag":87,"props":372,"children":373},{"style":94},[374],{"type":25,"value":356},{"type":20,"tag":87,"props":376,"children":377},{"style":124},[378],{"type":25,"value":379},"stopPropagation",{"type":20,"tag":87,"props":381,"children":382},{"style":94},[383],{"type":25,"value":366},{"type":20,"tag":87,"props":385,"children":387},{"class":89,"line":386},5,[388],{"type":20,"tag":87,"props":389,"children":390},{"style":94},[391],{"type":25,"value":392},"});\n",{"type":20,"tag":87,"props":394,"children":396},{"class":89,"line":395},6,[397],{"type":20,"tag":87,"props":398,"children":400},{"emptyLinePlaceholder":399},true,[401],{"type":25,"value":402},"\n",{"type":20,"tag":87,"props":404,"children":406},{"class":89,"line":405},7,[407,412],{"type":20,"tag":87,"props":408,"children":409},{"style":313},[410],{"type":25,"value":411},"var",{"type":20,"tag":87,"props":413,"children":414},{"style":94},[415],{"type":25,"value":416}," files;\n",{"type":20,"tag":87,"props":418,"children":420},{"class":89,"line":419},8,[421,425,429,433,437,441,445,450,454,458,462,466,470,474,478,482],{"type":20,"tag":87,"props":422,"children":423},{"style":124},[424],{"type":25,"value":259},{"type":20,"tag":87,"props":426,"children":427},{"style":94},[428],{"type":25,"value":264},{"type":20,"tag":87,"props":430,"children":431},{"style":135},[432],{"type":25,"value":269},{"type":20,"tag":87,"props":434,"children":435},{"style":94},[436],{"type":25,"value":274},{"type":20,"tag":87,"props":438,"children":439},{"style":124},[440],{"type":25,"value":279},{"type":20,"tag":87,"props":442,"children":443},{"style":94},[444],{"type":25,"value":264},{"type":20,"tag":87,"props":446,"children":447},{"style":135},[448],{"type":25,"value":449},"'drop change'",{"type":20,"tag":87,"props":451,"children":452},{"style":94},[453],{"type":25,"value":274},{"type":20,"tag":87,"props":455,"children":456},{"style":124},[457],{"type":25,"value":297},{"type":20,"tag":87,"props":459,"children":460},{"style":94},[461],{"type":25,"value":264},{"type":20,"tag":87,"props":463,"children":464},{"style":135},[465],{"type":25,"value":449},{"type":20,"tag":87,"props":467,"children":468},{"style":94},[469],{"type":25,"value":310},{"type":20,"tag":87,"props":471,"children":472},{"style":313},[473],{"type":25,"value":316},{"type":20,"tag":87,"props":475,"children":476},{"style":94},[477],{"type":25,"value":264},{"type":20,"tag":87,"props":479,"children":480},{"style":323},[481],{"type":25,"value":326},{"type":20,"tag":87,"props":483,"children":484},{"style":94},[485],{"type":25,"value":331},{"type":20,"tag":87,"props":487,"children":489},{"class":89,"line":488},9,[490,494,498],{"type":20,"tag":87,"props":491,"children":492},{"style":94},[493],{"type":25,"value":339},{"type":20,"tag":87,"props":495,"children":496},{"style":313},[497],{"type":25,"value":132},{"type":20,"tag":87,"props":499,"children":500},{"style":94},[501],{"type":25,"value":348},{"type":20,"tag":87,"props":503,"children":505},{"class":89,"line":504},10,[506,510,514],{"type":20,"tag":87,"props":507,"children":508},{"style":94},[509],{"type":25,"value":356},{"type":20,"tag":87,"props":511,"children":512},{"style":124},[513],{"type":25,"value":361},{"type":20,"tag":87,"props":515,"children":516},{"style":94},[517],{"type":25,"value":366},{"type":20,"tag":87,"props":519,"children":521},{"class":89,"line":520},11,[522,526,530],{"type":20,"tag":87,"props":523,"children":524},{"style":94},[525],{"type":25,"value":356},{"type":20,"tag":87,"props":527,"children":528},{"style":124},[529],{"type":25,"value":379},{"type":20,"tag":87,"props":531,"children":532},{"style":94},[533],{"type":25,"value":366},{"type":20,"tag":87,"props":535,"children":537},{"class":89,"line":536},12,[538],{"type":20,"tag":87,"props":539,"children":541},{"style":540},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[542],{"type":25,"value":543},"    // if drop and drag target\n",{"type":20,"tag":87,"props":545,"children":547},{"class":89,"line":546},13,[548,553,557],{"type":20,"tag":87,"props":549,"children":550},{"style":94},[551],{"type":25,"value":552},"    files ",{"type":20,"tag":87,"props":554,"children":555},{"style":313},[556],{"type":25,"value":132},{"type":20,"tag":87,"props":558,"children":559},{"style":94},[560],{"type":25,"value":561}," event.dataTransfer.files;\n",{"type":20,"tag":87,"props":563,"children":565},{"class":89,"line":564},14,[566],{"type":20,"tag":87,"props":567,"children":568},{"style":540},[569],{"type":25,"value":570},"    // or if an input\n",{"type":20,"tag":87,"props":572,"children":574},{"class":89,"line":573},15,[575,579,583],{"type":20,"tag":87,"props":576,"children":577},{"style":94},[578],{"type":25,"value":552},{"type":20,"tag":87,"props":580,"children":581},{"style":313},[582],{"type":25,"value":132},{"type":20,"tag":87,"props":584,"children":585},{"style":94},[586],{"type":25,"value":587}," event.target.files;\n",{"type":20,"tag":87,"props":589,"children":591},{"class":89,"line":590},16,[592],{"type":20,"tag":87,"props":593,"children":594},{"style":94},[595],{"type":25,"value":392},{"type":20,"tag":21,"props":597,"children":598},{},[599],{"type":25,"value":600},"End result of this is that we'll end up with a FileList object that acts like an array, with each element being a reference to a file. We can then iterate through it to upload or read our files.",{"type":20,"tag":48,"props":602,"children":604},{"id":603},"uploading",[605],{"type":25,"value":606},"Uploading",{"type":20,"tag":21,"props":608,"children":609},{},[610,612,618],{"type":25,"value":611},"XHR2 introduces some new features, with the ones of interest being the new ",{"type":20,"tag":37,"props":613,"children":615},{"href":614},"www.w3.org/TR/XMLHttpRequest/",[616],{"type":25,"value":617},"upload attribute on xhr",{"type":25,"value":619},", which returns an XMLHttpRequestUpload object. This exposes the progress of an upload to us. Otherwise, we'll be using the standard send() call with an ArrayBuffer of the file to upload it. Here's what part of the setup and upload looks like in the plugin we'll be discussing shortly:",{"type":20,"tag":77,"props":621,"children":623},{"className":245,"code":622,"language":247,"meta":8,"style":8},"    /**\n     * Deferred wrapper for xhr upload.\n     * @param options\n     * @param file\n     * @returns {Object} promise The deferred promise object.\n     * @constructor\n     */\n    function DeferXhr(options, file){\n        var that = this;\n\n    this.defer = $.Deferred();\n    this.file = file;\n    this.options = options;\n    this.paused = false;\n    this.progress = 0;\n    this.xhr = new XMLHttpRequest();\n\n    if (this.options.chunked)\n    {\n        this.start = 0;\n        this.end = Math.min(this.start+this.options.chunk_size, this.file.size);\n    }\n\n    this.xhr.addEventListener('load', function(){that.complete();}, false);\n    this.xhr.upload.addEventListener('progress', function(event){that.uploadProgress(event);}, false);\n    this.xhr.upload.addEventListener('error', function(event){that.uploadError(event);}, false);\n\n    this.upload();\n\n    return this.defer.promise();\n}\n\n/**\n * Carry out the xhr upload, optionally chunked.\n */\nDeferXhr.prototype.upload = function(){\n\n    this.xhr.open(this.options.type, this.options.url, this.options.async);\n    this.xhr.setRequestHeader('Accept', 'application/json');\n    this.xhr.setRequestHeader('X-File-Name', this.file.name);\n    this.xhr.setRequestHeader('X-File-Type', this.file.type);\n\n    if (this.options.chunked)\n    {\n        this.xhr.overrideMimeType('application/octet-stream');\n        this.xhr.setRequestHeader('Content-Range', 'bytes '+this.start+\"-\"+this.end+'/'+this.file.size);\n        this.xhr.send(this.file.slice(this.start, this.end));\n    }\n    else\n    {\n        this.xhr.overrideMimeType((this.file.type || 'application/octet-stream'));\n        this.xhr.send(this.file);\n    }\n}\n",[624],{"type":20,"tag":60,"props":625,"children":626},{"__ignoreMap":8},[627,635,643,661,677,699,711,719,754,782,789,820,841,862,887,912,942,950,974,983,1009,1072,1081,1089,1149,1214,1276,1284,1306,1314,1341,1350,1358,1367,1376,1385,1426,1434,1482,1521,1559,1597,1605,1625,1633,1663,1752,1809,1817,1826,1834,1879,1908,1916],{"type":20,"tag":87,"props":628,"children":629},{"class":89,"line":90},[630],{"type":20,"tag":87,"props":631,"children":632},{"style":540},[633],{"type":25,"value":634},"    /**\n",{"type":20,"tag":87,"props":636,"children":637},{"class":89,"line":111},[638],{"type":20,"tag":87,"props":639,"children":640},{"style":540},[641],{"type":25,"value":642},"     * Deferred wrapper for xhr upload.\n",{"type":20,"tag":87,"props":644,"children":645},{"class":89,"line":160},[646,651,656],{"type":20,"tag":87,"props":647,"children":648},{"style":540},[649],{"type":25,"value":650},"     * ",{"type":20,"tag":87,"props":652,"children":653},{"style":313},[654],{"type":25,"value":655},"@param",{"type":20,"tag":87,"props":657,"children":658},{"style":94},[659],{"type":25,"value":660}," options\n",{"type":20,"tag":87,"props":662,"children":663},{"class":89,"line":369},[664,668,672],{"type":20,"tag":87,"props":665,"children":666},{"style":540},[667],{"type":25,"value":650},{"type":20,"tag":87,"props":669,"children":670},{"style":313},[671],{"type":25,"value":655},{"type":20,"tag":87,"props":673,"children":674},{"style":94},[675],{"type":25,"value":676}," file\n",{"type":20,"tag":87,"props":678,"children":679},{"class":89,"line":386},[680,684,689,694],{"type":20,"tag":87,"props":681,"children":682},{"style":540},[683],{"type":25,"value":650},{"type":20,"tag":87,"props":685,"children":686},{"style":313},[687],{"type":25,"value":688},"@returns",{"type":20,"tag":87,"props":690,"children":691},{"style":124},[692],{"type":25,"value":693}," {Object}",{"type":20,"tag":87,"props":695,"children":696},{"style":540},[697],{"type":25,"value":698}," promise The deferred promise object.\n",{"type":20,"tag":87,"props":700,"children":701},{"class":89,"line":395},[702,706],{"type":20,"tag":87,"props":703,"children":704},{"style":540},[705],{"type":25,"value":650},{"type":20,"tag":87,"props":707,"children":708},{"style":313},[709],{"type":25,"value":710},"@constructor\n",{"type":20,"tag":87,"props":712,"children":713},{"class":89,"line":405},[714],{"type":20,"tag":87,"props":715,"children":716},{"style":540},[717],{"type":25,"value":718},"     */\n",{"type":20,"tag":87,"props":720,"children":721},{"class":89,"line":419},[722,727,732,736,741,745,750],{"type":20,"tag":87,"props":723,"children":724},{"style":313},[725],{"type":25,"value":726},"    function",{"type":20,"tag":87,"props":728,"children":729},{"style":124},[730],{"type":25,"value":731}," DeferXhr",{"type":20,"tag":87,"props":733,"children":734},{"style":94},[735],{"type":25,"value":264},{"type":20,"tag":87,"props":737,"children":738},{"style":323},[739],{"type":25,"value":740},"options",{"type":20,"tag":87,"props":742,"children":743},{"style":94},[744],{"type":25,"value":310},{"type":20,"tag":87,"props":746,"children":747},{"style":323},[748],{"type":25,"value":749},"file",{"type":20,"tag":87,"props":751,"children":752},{"style":94},[753],{"type":25,"value":331},{"type":20,"tag":87,"props":755,"children":756},{"class":89,"line":488},[757,762,767,771,777],{"type":20,"tag":87,"props":758,"children":759},{"style":313},[760],{"type":25,"value":761},"        var",{"type":20,"tag":87,"props":763,"children":764},{"style":94},[765],{"type":25,"value":766}," that ",{"type":20,"tag":87,"props":768,"children":769},{"style":313},[770],{"type":25,"value":132},{"type":20,"tag":87,"props":772,"children":774},{"style":773},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[775],{"type":25,"value":776}," this",{"type":20,"tag":87,"props":778,"children":779},{"style":94},[780],{"type":25,"value":781},";\n",{"type":20,"tag":87,"props":783,"children":784},{"class":89,"line":504},[785],{"type":20,"tag":87,"props":786,"children":787},{"emptyLinePlaceholder":399},[788],{"type":25,"value":402},{"type":20,"tag":87,"props":790,"children":791},{"class":89,"line":520},[792,797,802,806,811,816],{"type":20,"tag":87,"props":793,"children":794},{"style":773},[795],{"type":25,"value":796},"    this",{"type":20,"tag":87,"props":798,"children":799},{"style":94},[800],{"type":25,"value":801},".defer ",{"type":20,"tag":87,"props":803,"children":804},{"style":313},[805],{"type":25,"value":132},{"type":20,"tag":87,"props":807,"children":808},{"style":94},[809],{"type":25,"value":810}," $.",{"type":20,"tag":87,"props":812,"children":813},{"style":124},[814],{"type":25,"value":815},"Deferred",{"type":20,"tag":87,"props":817,"children":818},{"style":94},[819],{"type":25,"value":366},{"type":20,"tag":87,"props":821,"children":822},{"class":89,"line":536},[823,827,832,836],{"type":20,"tag":87,"props":824,"children":825},{"style":773},[826],{"type":25,"value":796},{"type":20,"tag":87,"props":828,"children":829},{"style":94},[830],{"type":25,"value":831},".file ",{"type":20,"tag":87,"props":833,"children":834},{"style":313},[835],{"type":25,"value":132},{"type":20,"tag":87,"props":837,"children":838},{"style":94},[839],{"type":25,"value":840}," file;\n",{"type":20,"tag":87,"props":842,"children":843},{"class":89,"line":546},[844,848,853,857],{"type":20,"tag":87,"props":845,"children":846},{"style":773},[847],{"type":25,"value":796},{"type":20,"tag":87,"props":849,"children":850},{"style":94},[851],{"type":25,"value":852},".options ",{"type":20,"tag":87,"props":854,"children":855},{"style":313},[856],{"type":25,"value":132},{"type":20,"tag":87,"props":858,"children":859},{"style":94},[860],{"type":25,"value":861}," options;\n",{"type":20,"tag":87,"props":863,"children":864},{"class":89,"line":564},[865,869,874,878,883],{"type":20,"tag":87,"props":866,"children":867},{"style":773},[868],{"type":25,"value":796},{"type":20,"tag":87,"props":870,"children":871},{"style":94},[872],{"type":25,"value":873},".paused ",{"type":20,"tag":87,"props":875,"children":876},{"style":313},[877],{"type":25,"value":132},{"type":20,"tag":87,"props":879,"children":880},{"style":773},[881],{"type":25,"value":882}," false",{"type":20,"tag":87,"props":884,"children":885},{"style":94},[886],{"type":25,"value":781},{"type":20,"tag":87,"props":888,"children":889},{"class":89,"line":573},[890,894,899,903,908],{"type":20,"tag":87,"props":891,"children":892},{"style":773},[893],{"type":25,"value":796},{"type":20,"tag":87,"props":895,"children":896},{"style":94},[897],{"type":25,"value":898},".progress ",{"type":20,"tag":87,"props":900,"children":901},{"style":313},[902],{"type":25,"value":132},{"type":20,"tag":87,"props":904,"children":905},{"style":773},[906],{"type":25,"value":907}," 0",{"type":20,"tag":87,"props":909,"children":910},{"style":94},[911],{"type":25,"value":781},{"type":20,"tag":87,"props":913,"children":914},{"class":89,"line":590},[915,919,924,928,933,938],{"type":20,"tag":87,"props":916,"children":917},{"style":773},[918],{"type":25,"value":796},{"type":20,"tag":87,"props":920,"children":921},{"style":94},[922],{"type":25,"value":923},".xhr ",{"type":20,"tag":87,"props":925,"children":926},{"style":313},[927],{"type":25,"value":132},{"type":20,"tag":87,"props":929,"children":930},{"style":313},[931],{"type":25,"value":932}," new",{"type":20,"tag":87,"props":934,"children":935},{"style":124},[936],{"type":25,"value":937}," XMLHttpRequest",{"type":20,"tag":87,"props":939,"children":940},{"style":94},[941],{"type":25,"value":366},{"type":20,"tag":87,"props":943,"children":945},{"class":89,"line":944},17,[946],{"type":20,"tag":87,"props":947,"children":948},{"emptyLinePlaceholder":399},[949],{"type":25,"value":402},{"type":20,"tag":87,"props":951,"children":953},{"class":89,"line":952},18,[954,959,964,969],{"type":20,"tag":87,"props":955,"children":956},{"style":313},[957],{"type":25,"value":958},"    if",{"type":20,"tag":87,"props":960,"children":961},{"style":94},[962],{"type":25,"value":963}," (",{"type":20,"tag":87,"props":965,"children":966},{"style":773},[967],{"type":25,"value":968},"this",{"type":20,"tag":87,"props":970,"children":971},{"style":94},[972],{"type":25,"value":973},".options.chunked)\n",{"type":20,"tag":87,"props":975,"children":977},{"class":89,"line":976},19,[978],{"type":20,"tag":87,"props":979,"children":980},{"style":94},[981],{"type":25,"value":982},"    {\n",{"type":20,"tag":87,"props":984,"children":986},{"class":89,"line":985},20,[987,992,997,1001,1005],{"type":20,"tag":87,"props":988,"children":989},{"style":773},[990],{"type":25,"value":991},"        this",{"type":20,"tag":87,"props":993,"children":994},{"style":94},[995],{"type":25,"value":996},".start ",{"type":20,"tag":87,"props":998,"children":999},{"style":313},[1000],{"type":25,"value":132},{"type":20,"tag":87,"props":1002,"children":1003},{"style":773},[1004],{"type":25,"value":907},{"type":20,"tag":87,"props":1006,"children":1007},{"style":94},[1008],{"type":25,"value":781},{"type":20,"tag":87,"props":1010,"children":1012},{"class":89,"line":1011},21,[1013,1017,1022,1026,1031,1036,1040,1044,1049,1054,1058,1063,1067],{"type":20,"tag":87,"props":1014,"children":1015},{"style":773},[1016],{"type":25,"value":991},{"type":20,"tag":87,"props":1018,"children":1019},{"style":94},[1020],{"type":25,"value":1021},".end ",{"type":20,"tag":87,"props":1023,"children":1024},{"style":313},[1025],{"type":25,"value":132},{"type":20,"tag":87,"props":1027,"children":1028},{"style":94},[1029],{"type":25,"value":1030}," Math.",{"type":20,"tag":87,"props":1032,"children":1033},{"style":124},[1034],{"type":25,"value":1035},"min",{"type":20,"tag":87,"props":1037,"children":1038},{"style":94},[1039],{"type":25,"value":264},{"type":20,"tag":87,"props":1041,"children":1042},{"style":773},[1043],{"type":25,"value":968},{"type":20,"tag":87,"props":1045,"children":1046},{"style":94},[1047],{"type":25,"value":1048},".start",{"type":20,"tag":87,"props":1050,"children":1051},{"style":313},[1052],{"type":25,"value":1053},"+",{"type":20,"tag":87,"props":1055,"children":1056},{"style":773},[1057],{"type":25,"value":968},{"type":20,"tag":87,"props":1059,"children":1060},{"style":94},[1061],{"type":25,"value":1062},".options.chunk_size, ",{"type":20,"tag":87,"props":1064,"children":1065},{"style":773},[1066],{"type":25,"value":968},{"type":20,"tag":87,"props":1068,"children":1069},{"style":94},[1070],{"type":25,"value":1071},".file.size);\n",{"type":20,"tag":87,"props":1073,"children":1075},{"class":89,"line":1074},22,[1076],{"type":20,"tag":87,"props":1077,"children":1078},{"style":94},[1079],{"type":25,"value":1080},"    }\n",{"type":20,"tag":87,"props":1082,"children":1084},{"class":89,"line":1083},23,[1085],{"type":20,"tag":87,"props":1086,"children":1087},{"emptyLinePlaceholder":399},[1088],{"type":25,"value":402},{"type":20,"tag":87,"props":1090,"children":1092},{"class":89,"line":1091},24,[1093,1097,1102,1107,1111,1116,1120,1124,1129,1134,1139,1144],{"type":20,"tag":87,"props":1094,"children":1095},{"style":773},[1096],{"type":25,"value":796},{"type":20,"tag":87,"props":1098,"children":1099},{"style":94},[1100],{"type":25,"value":1101},".xhr.",{"type":20,"tag":87,"props":1103,"children":1104},{"style":124},[1105],{"type":25,"value":1106},"addEventListener",{"type":20,"tag":87,"props":1108,"children":1109},{"style":94},[1110],{"type":25,"value":264},{"type":20,"tag":87,"props":1112,"children":1113},{"style":135},[1114],{"type":25,"value":1115},"'load'",{"type":20,"tag":87,"props":1117,"children":1118},{"style":94},[1119],{"type":25,"value":310},{"type":20,"tag":87,"props":1121,"children":1122},{"style":313},[1123],{"type":25,"value":316},{"type":20,"tag":87,"props":1125,"children":1126},{"style":94},[1127],{"type":25,"value":1128},"(){that.",{"type":20,"tag":87,"props":1130,"children":1131},{"style":124},[1132],{"type":25,"value":1133},"complete",{"type":20,"tag":87,"props":1135,"children":1136},{"style":94},[1137],{"type":25,"value":1138},"();}, ",{"type":20,"tag":87,"props":1140,"children":1141},{"style":773},[1142],{"type":25,"value":1143},"false",{"type":20,"tag":87,"props":1145,"children":1146},{"style":94},[1147],{"type":25,"value":1148},");\n",{"type":20,"tag":87,"props":1150,"children":1152},{"class":89,"line":1151},25,[1153,1157,1162,1166,1170,1175,1179,1183,1187,1191,1196,1201,1206,1210],{"type":20,"tag":87,"props":1154,"children":1155},{"style":773},[1156],{"type":25,"value":796},{"type":20,"tag":87,"props":1158,"children":1159},{"style":94},[1160],{"type":25,"value":1161},".xhr.upload.",{"type":20,"tag":87,"props":1163,"children":1164},{"style":124},[1165],{"type":25,"value":1106},{"type":20,"tag":87,"props":1167,"children":1168},{"style":94},[1169],{"type":25,"value":264},{"type":20,"tag":87,"props":1171,"children":1172},{"style":135},[1173],{"type":25,"value":1174},"'progress'",{"type":20,"tag":87,"props":1176,"children":1177},{"style":94},[1178],{"type":25,"value":310},{"type":20,"tag":87,"props":1180,"children":1181},{"style":313},[1182],{"type":25,"value":316},{"type":20,"tag":87,"props":1184,"children":1185},{"style":94},[1186],{"type":25,"value":264},{"type":20,"tag":87,"props":1188,"children":1189},{"style":323},[1190],{"type":25,"value":326},{"type":20,"tag":87,"props":1192,"children":1193},{"style":94},[1194],{"type":25,"value":1195},"){that.",{"type":20,"tag":87,"props":1197,"children":1198},{"style":124},[1199],{"type":25,"value":1200},"uploadProgress",{"type":20,"tag":87,"props":1202,"children":1203},{"style":94},[1204],{"type":25,"value":1205},"(event);}, ",{"type":20,"tag":87,"props":1207,"children":1208},{"style":773},[1209],{"type":25,"value":1143},{"type":20,"tag":87,"props":1211,"children":1212},{"style":94},[1213],{"type":25,"value":1148},{"type":20,"tag":87,"props":1215,"children":1217},{"class":89,"line":1216},26,[1218,1222,1226,1230,1234,1239,1243,1247,1251,1255,1259,1264,1268,1272],{"type":20,"tag":87,"props":1219,"children":1220},{"style":773},[1221],{"type":25,"value":796},{"type":20,"tag":87,"props":1223,"children":1224},{"style":94},[1225],{"type":25,"value":1161},{"type":20,"tag":87,"props":1227,"children":1228},{"style":124},[1229],{"type":25,"value":1106},{"type":20,"tag":87,"props":1231,"children":1232},{"style":94},[1233],{"type":25,"value":264},{"type":20,"tag":87,"props":1235,"children":1236},{"style":135},[1237],{"type":25,"value":1238},"'error'",{"type":20,"tag":87,"props":1240,"children":1241},{"style":94},[1242],{"type":25,"value":310},{"type":20,"tag":87,"props":1244,"children":1245},{"style":313},[1246],{"type":25,"value":316},{"type":20,"tag":87,"props":1248,"children":1249},{"style":94},[1250],{"type":25,"value":264},{"type":20,"tag":87,"props":1252,"children":1253},{"style":323},[1254],{"type":25,"value":326},{"type":20,"tag":87,"props":1256,"children":1257},{"style":94},[1258],{"type":25,"value":1195},{"type":20,"tag":87,"props":1260,"children":1261},{"style":124},[1262],{"type":25,"value":1263},"uploadError",{"type":20,"tag":87,"props":1265,"children":1266},{"style":94},[1267],{"type":25,"value":1205},{"type":20,"tag":87,"props":1269,"children":1270},{"style":773},[1271],{"type":25,"value":1143},{"type":20,"tag":87,"props":1273,"children":1274},{"style":94},[1275],{"type":25,"value":1148},{"type":20,"tag":87,"props":1277,"children":1279},{"class":89,"line":1278},27,[1280],{"type":20,"tag":87,"props":1281,"children":1282},{"emptyLinePlaceholder":399},[1283],{"type":25,"value":402},{"type":20,"tag":87,"props":1285,"children":1287},{"class":89,"line":1286},28,[1288,1292,1297,1302],{"type":20,"tag":87,"props":1289,"children":1290},{"style":773},[1291],{"type":25,"value":796},{"type":20,"tag":87,"props":1293,"children":1294},{"style":94},[1295],{"type":25,"value":1296},".",{"type":20,"tag":87,"props":1298,"children":1299},{"style":124},[1300],{"type":25,"value":1301},"upload",{"type":20,"tag":87,"props":1303,"children":1304},{"style":94},[1305],{"type":25,"value":366},{"type":20,"tag":87,"props":1307,"children":1309},{"class":89,"line":1308},29,[1310],{"type":20,"tag":87,"props":1311,"children":1312},{"emptyLinePlaceholder":399},[1313],{"type":25,"value":402},{"type":20,"tag":87,"props":1315,"children":1317},{"class":89,"line":1316},30,[1318,1323,1327,1332,1337],{"type":20,"tag":87,"props":1319,"children":1320},{"style":313},[1321],{"type":25,"value":1322},"    return",{"type":20,"tag":87,"props":1324,"children":1325},{"style":773},[1326],{"type":25,"value":776},{"type":20,"tag":87,"props":1328,"children":1329},{"style":94},[1330],{"type":25,"value":1331},".defer.",{"type":20,"tag":87,"props":1333,"children":1334},{"style":124},[1335],{"type":25,"value":1336},"promise",{"type":20,"tag":87,"props":1338,"children":1339},{"style":94},[1340],{"type":25,"value":366},{"type":20,"tag":87,"props":1342,"children":1344},{"class":89,"line":1343},31,[1345],{"type":20,"tag":87,"props":1346,"children":1347},{"style":94},[1348],{"type":25,"value":1349},"}\n",{"type":20,"tag":87,"props":1351,"children":1353},{"class":89,"line":1352},32,[1354],{"type":20,"tag":87,"props":1355,"children":1356},{"emptyLinePlaceholder":399},[1357],{"type":25,"value":402},{"type":20,"tag":87,"props":1359,"children":1361},{"class":89,"line":1360},33,[1362],{"type":20,"tag":87,"props":1363,"children":1364},{"style":540},[1365],{"type":25,"value":1366},"/**\n",{"type":20,"tag":87,"props":1368,"children":1370},{"class":89,"line":1369},34,[1371],{"type":20,"tag":87,"props":1372,"children":1373},{"style":540},[1374],{"type":25,"value":1375}," * Carry out the xhr upload, optionally chunked.\n",{"type":20,"tag":87,"props":1377,"children":1379},{"class":89,"line":1378},35,[1380],{"type":20,"tag":87,"props":1381,"children":1382},{"style":540},[1383],{"type":25,"value":1384}," */\n",{"type":20,"tag":87,"props":1386,"children":1388},{"class":89,"line":1387},36,[1389,1394,1398,1403,1407,1411,1416,1421],{"type":20,"tag":87,"props":1390,"children":1391},{"style":773},[1392],{"type":25,"value":1393},"DeferXhr",{"type":20,"tag":87,"props":1395,"children":1396},{"style":94},[1397],{"type":25,"value":1296},{"type":20,"tag":87,"props":1399,"children":1400},{"style":773},[1401],{"type":25,"value":1402},"prototype",{"type":20,"tag":87,"props":1404,"children":1405},{"style":94},[1406],{"type":25,"value":1296},{"type":20,"tag":87,"props":1408,"children":1409},{"style":124},[1410],{"type":25,"value":1301},{"type":20,"tag":87,"props":1412,"children":1413},{"style":313},[1414],{"type":25,"value":1415}," =",{"type":20,"tag":87,"props":1417,"children":1418},{"style":313},[1419],{"type":25,"value":1420}," function",{"type":20,"tag":87,"props":1422,"children":1423},{"style":94},[1424],{"type":25,"value":1425},"(){\n",{"type":20,"tag":87,"props":1427,"children":1429},{"class":89,"line":1428},37,[1430],{"type":20,"tag":87,"props":1431,"children":1432},{"emptyLinePlaceholder":399},[1433],{"type":25,"value":402},{"type":20,"tag":87,"props":1435,"children":1437},{"class":89,"line":1436},38,[1438,1442,1446,1451,1455,1459,1464,1468,1473,1477],{"type":20,"tag":87,"props":1439,"children":1440},{"style":773},[1441],{"type":25,"value":796},{"type":20,"tag":87,"props":1443,"children":1444},{"style":94},[1445],{"type":25,"value":1101},{"type":20,"tag":87,"props":1447,"children":1448},{"style":124},[1449],{"type":25,"value":1450},"open",{"type":20,"tag":87,"props":1452,"children":1453},{"style":94},[1454],{"type":25,"value":264},{"type":20,"tag":87,"props":1456,"children":1457},{"style":773},[1458],{"type":25,"value":968},{"type":20,"tag":87,"props":1460,"children":1461},{"style":94},[1462],{"type":25,"value":1463},".options.type, ",{"type":20,"tag":87,"props":1465,"children":1466},{"style":773},[1467],{"type":25,"value":968},{"type":20,"tag":87,"props":1469,"children":1470},{"style":94},[1471],{"type":25,"value":1472},".options.url, ",{"type":20,"tag":87,"props":1474,"children":1475},{"style":773},[1476],{"type":25,"value":968},{"type":20,"tag":87,"props":1478,"children":1479},{"style":94},[1480],{"type":25,"value":1481},".options.async);\n",{"type":20,"tag":87,"props":1483,"children":1485},{"class":89,"line":1484},39,[1486,1490,1494,1499,1503,1508,1512,1517],{"type":20,"tag":87,"props":1487,"children":1488},{"style":773},[1489],{"type":25,"value":796},{"type":20,"tag":87,"props":1491,"children":1492},{"style":94},[1493],{"type":25,"value":1101},{"type":20,"tag":87,"props":1495,"children":1496},{"style":124},[1497],{"type":25,"value":1498},"setRequestHeader",{"type":20,"tag":87,"props":1500,"children":1501},{"style":94},[1502],{"type":25,"value":264},{"type":20,"tag":87,"props":1504,"children":1505},{"style":135},[1506],{"type":25,"value":1507},"'Accept'",{"type":20,"tag":87,"props":1509,"children":1510},{"style":94},[1511],{"type":25,"value":310},{"type":20,"tag":87,"props":1513,"children":1514},{"style":135},[1515],{"type":25,"value":1516},"'application/json'",{"type":20,"tag":87,"props":1518,"children":1519},{"style":94},[1520],{"type":25,"value":1148},{"type":20,"tag":87,"props":1522,"children":1524},{"class":89,"line":1523},40,[1525,1529,1533,1537,1541,1546,1550,1554],{"type":20,"tag":87,"props":1526,"children":1527},{"style":773},[1528],{"type":25,"value":796},{"type":20,"tag":87,"props":1530,"children":1531},{"style":94},[1532],{"type":25,"value":1101},{"type":20,"tag":87,"props":1534,"children":1535},{"style":124},[1536],{"type":25,"value":1498},{"type":20,"tag":87,"props":1538,"children":1539},{"style":94},[1540],{"type":25,"value":264},{"type":20,"tag":87,"props":1542,"children":1543},{"style":135},[1544],{"type":25,"value":1545},"'X-File-Name'",{"type":20,"tag":87,"props":1547,"children":1548},{"style":94},[1549],{"type":25,"value":310},{"type":20,"tag":87,"props":1551,"children":1552},{"style":773},[1553],{"type":25,"value":968},{"type":20,"tag":87,"props":1555,"children":1556},{"style":94},[1557],{"type":25,"value":1558},".file.name);\n",{"type":20,"tag":87,"props":1560,"children":1562},{"class":89,"line":1561},41,[1563,1567,1571,1575,1579,1584,1588,1592],{"type":20,"tag":87,"props":1564,"children":1565},{"style":773},[1566],{"type":25,"value":796},{"type":20,"tag":87,"props":1568,"children":1569},{"style":94},[1570],{"type":25,"value":1101},{"type":20,"tag":87,"props":1572,"children":1573},{"style":124},[1574],{"type":25,"value":1498},{"type":20,"tag":87,"props":1576,"children":1577},{"style":94},[1578],{"type":25,"value":264},{"type":20,"tag":87,"props":1580,"children":1581},{"style":135},[1582],{"type":25,"value":1583},"'X-File-Type'",{"type":20,"tag":87,"props":1585,"children":1586},{"style":94},[1587],{"type":25,"value":310},{"type":20,"tag":87,"props":1589,"children":1590},{"style":773},[1591],{"type":25,"value":968},{"type":20,"tag":87,"props":1593,"children":1594},{"style":94},[1595],{"type":25,"value":1596},".file.type);\n",{"type":20,"tag":87,"props":1598,"children":1600},{"class":89,"line":1599},42,[1601],{"type":20,"tag":87,"props":1602,"children":1603},{"emptyLinePlaceholder":399},[1604],{"type":25,"value":402},{"type":20,"tag":87,"props":1606,"children":1608},{"class":89,"line":1607},43,[1609,1613,1617,1621],{"type":20,"tag":87,"props":1610,"children":1611},{"style":313},[1612],{"type":25,"value":958},{"type":20,"tag":87,"props":1614,"children":1615},{"style":94},[1616],{"type":25,"value":963},{"type":20,"tag":87,"props":1618,"children":1619},{"style":773},[1620],{"type":25,"value":968},{"type":20,"tag":87,"props":1622,"children":1623},{"style":94},[1624],{"type":25,"value":973},{"type":20,"tag":87,"props":1626,"children":1628},{"class":89,"line":1627},44,[1629],{"type":20,"tag":87,"props":1630,"children":1631},{"style":94},[1632],{"type":25,"value":982},{"type":20,"tag":87,"props":1634,"children":1636},{"class":89,"line":1635},45,[1637,1641,1645,1650,1654,1659],{"type":20,"tag":87,"props":1638,"children":1639},{"style":773},[1640],{"type":25,"value":991},{"type":20,"tag":87,"props":1642,"children":1643},{"style":94},[1644],{"type":25,"value":1101},{"type":20,"tag":87,"props":1646,"children":1647},{"style":124},[1648],{"type":25,"value":1649},"overrideMimeType",{"type":20,"tag":87,"props":1651,"children":1652},{"style":94},[1653],{"type":25,"value":264},{"type":20,"tag":87,"props":1655,"children":1656},{"style":135},[1657],{"type":25,"value":1658},"'application/octet-stream'",{"type":20,"tag":87,"props":1660,"children":1661},{"style":94},[1662],{"type":25,"value":1148},{"type":20,"tag":87,"props":1664,"children":1666},{"class":89,"line":1665},46,[1667,1671,1675,1679,1683,1688,1692,1697,1701,1705,1709,1713,1718,1722,1726,1731,1735,1740,1744,1748],{"type":20,"tag":87,"props":1668,"children":1669},{"style":773},[1670],{"type":25,"value":991},{"type":20,"tag":87,"props":1672,"children":1673},{"style":94},[1674],{"type":25,"value":1101},{"type":20,"tag":87,"props":1676,"children":1677},{"style":124},[1678],{"type":25,"value":1498},{"type":20,"tag":87,"props":1680,"children":1681},{"style":94},[1682],{"type":25,"value":264},{"type":20,"tag":87,"props":1684,"children":1685},{"style":135},[1686],{"type":25,"value":1687},"'Content-Range'",{"type":20,"tag":87,"props":1689,"children":1690},{"style":94},[1691],{"type":25,"value":310},{"type":20,"tag":87,"props":1693,"children":1694},{"style":135},[1695],{"type":25,"value":1696},"'bytes '",{"type":20,"tag":87,"props":1698,"children":1699},{"style":313},[1700],{"type":25,"value":1053},{"type":20,"tag":87,"props":1702,"children":1703},{"style":773},[1704],{"type":25,"value":968},{"type":20,"tag":87,"props":1706,"children":1707},{"style":94},[1708],{"type":25,"value":1048},{"type":20,"tag":87,"props":1710,"children":1711},{"style":313},[1712],{"type":25,"value":1053},{"type":20,"tag":87,"props":1714,"children":1715},{"style":135},[1716],{"type":25,"value":1717},"\"-\"",{"type":20,"tag":87,"props":1719,"children":1720},{"style":313},[1721],{"type":25,"value":1053},{"type":20,"tag":87,"props":1723,"children":1724},{"style":773},[1725],{"type":25,"value":968},{"type":20,"tag":87,"props":1727,"children":1728},{"style":94},[1729],{"type":25,"value":1730},".end",{"type":20,"tag":87,"props":1732,"children":1733},{"style":313},[1734],{"type":25,"value":1053},{"type":20,"tag":87,"props":1736,"children":1737},{"style":135},[1738],{"type":25,"value":1739},"'/'",{"type":20,"tag":87,"props":1741,"children":1742},{"style":313},[1743],{"type":25,"value":1053},{"type":20,"tag":87,"props":1745,"children":1746},{"style":773},[1747],{"type":25,"value":968},{"type":20,"tag":87,"props":1749,"children":1750},{"style":94},[1751],{"type":25,"value":1071},{"type":20,"tag":87,"props":1753,"children":1755},{"class":89,"line":1754},47,[1756,1760,1764,1769,1773,1777,1782,1787,1791,1795,1800,1804],{"type":20,"tag":87,"props":1757,"children":1758},{"style":773},[1759],{"type":25,"value":991},{"type":20,"tag":87,"props":1761,"children":1762},{"style":94},[1763],{"type":25,"value":1101},{"type":20,"tag":87,"props":1765,"children":1766},{"style":124},[1767],{"type":25,"value":1768},"send",{"type":20,"tag":87,"props":1770,"children":1771},{"style":94},[1772],{"type":25,"value":264},{"type":20,"tag":87,"props":1774,"children":1775},{"style":773},[1776],{"type":25,"value":968},{"type":20,"tag":87,"props":1778,"children":1779},{"style":94},[1780],{"type":25,"value":1781},".file.",{"type":20,"tag":87,"props":1783,"children":1784},{"style":124},[1785],{"type":25,"value":1786},"slice",{"type":20,"tag":87,"props":1788,"children":1789},{"style":94},[1790],{"type":25,"value":264},{"type":20,"tag":87,"props":1792,"children":1793},{"style":773},[1794],{"type":25,"value":968},{"type":20,"tag":87,"props":1796,"children":1797},{"style":94},[1798],{"type":25,"value":1799},".start, ",{"type":20,"tag":87,"props":1801,"children":1802},{"style":773},[1803],{"type":25,"value":968},{"type":20,"tag":87,"props":1805,"children":1806},{"style":94},[1807],{"type":25,"value":1808},".end));\n",{"type":20,"tag":87,"props":1810,"children":1812},{"class":89,"line":1811},48,[1813],{"type":20,"tag":87,"props":1814,"children":1815},{"style":94},[1816],{"type":25,"value":1080},{"type":20,"tag":87,"props":1818,"children":1820},{"class":89,"line":1819},49,[1821],{"type":20,"tag":87,"props":1822,"children":1823},{"style":313},[1824],{"type":25,"value":1825},"    else\n",{"type":20,"tag":87,"props":1827,"children":1829},{"class":89,"line":1828},50,[1830],{"type":20,"tag":87,"props":1831,"children":1832},{"style":94},[1833],{"type":25,"value":982},{"type":20,"tag":87,"props":1835,"children":1837},{"class":89,"line":1836},51,[1838,1842,1846,1850,1855,1859,1864,1869,1874],{"type":20,"tag":87,"props":1839,"children":1840},{"style":773},[1841],{"type":25,"value":991},{"type":20,"tag":87,"props":1843,"children":1844},{"style":94},[1845],{"type":25,"value":1101},{"type":20,"tag":87,"props":1847,"children":1848},{"style":124},[1849],{"type":25,"value":1649},{"type":20,"tag":87,"props":1851,"children":1852},{"style":94},[1853],{"type":25,"value":1854},"((",{"type":20,"tag":87,"props":1856,"children":1857},{"style":773},[1858],{"type":25,"value":968},{"type":20,"tag":87,"props":1860,"children":1861},{"style":94},[1862],{"type":25,"value":1863},".file.type ",{"type":20,"tag":87,"props":1865,"children":1866},{"style":313},[1867],{"type":25,"value":1868},"||",{"type":20,"tag":87,"props":1870,"children":1871},{"style":135},[1872],{"type":25,"value":1873}," 'application/octet-stream'",{"type":20,"tag":87,"props":1875,"children":1876},{"style":94},[1877],{"type":25,"value":1878},"));\n",{"type":20,"tag":87,"props":1880,"children":1882},{"class":89,"line":1881},52,[1883,1887,1891,1895,1899,1903],{"type":20,"tag":87,"props":1884,"children":1885},{"style":773},[1886],{"type":25,"value":991},{"type":20,"tag":87,"props":1888,"children":1889},{"style":94},[1890],{"type":25,"value":1101},{"type":20,"tag":87,"props":1892,"children":1893},{"style":124},[1894],{"type":25,"value":1768},{"type":20,"tag":87,"props":1896,"children":1897},{"style":94},[1898],{"type":25,"value":264},{"type":20,"tag":87,"props":1900,"children":1901},{"style":773},[1902],{"type":25,"value":968},{"type":20,"tag":87,"props":1904,"children":1905},{"style":94},[1906],{"type":25,"value":1907},".file);\n",{"type":20,"tag":87,"props":1909,"children":1911},{"class":89,"line":1910},53,[1912],{"type":20,"tag":87,"props":1913,"children":1914},{"style":94},[1915],{"type":25,"value":1080},{"type":20,"tag":87,"props":1917,"children":1919},{"class":89,"line":1918},54,[1920],{"type":20,"tag":87,"props":1921,"children":1922},{"style":94},[1923],{"type":25,"value":1349},{"type":20,"tag":21,"props":1925,"children":1926},{},[1927,1929,1934],{"type":25,"value":1928},"The main things to notice are that if we're sending a file 'chunked' (that is, in pieces of a pre-determined size - this is a good way to get around, say, php upload file size limits or allow for pausing and resuming a file upload, by the way) we're using the ",{"type":20,"tag":236,"props":1930,"children":1931},{},[1932],{"type":25,"value":1933},"slice()",{"type":25,"value":1935}," method on our file to get an ArrayBuffer of the appropriate size out of the buffer representing the whole file. This also saves us from needing to read in the whole file before sending it.",{"type":20,"tag":21,"props":1937,"children":1938},{},[1939],{"type":25,"value":1940},"In order to know what's happening with our file upload, we just need to listen (as noted above) on the load, progress and errors events of xhr and xhr.upload.",{"type":20,"tag":48,"props":1942,"children":1944},{"id":1943},"reading",[1945],{"type":25,"value":1946},"Reading",{"type":20,"tag":21,"props":1948,"children":1949},{},[1950,1952,1959,1961,1968],{"type":25,"value":1951},"This is probably one of my favourite new things to play with in javascript - the ",{"type":20,"tag":37,"props":1953,"children":1956},{"href":1954,"rel":1955},"http://www.w3.org/TR/FileAPI/#FileReader-interface",[41],[1957],{"type":25,"value":1958},"FileReader api",{"type":25,"value":1960}," (which is a subset of the ",{"type":20,"tag":37,"props":1962,"children":1965},{"href":1963,"rel":1964},"http://www.w3.org/TR/FileAPI/",[41],[1966],{"type":25,"value":1967},"File api",{"type":25,"value":1969},"). Get a file from the local user filesystem and work with it in the browser. Yay!",{"type":20,"tag":21,"props":1971,"children":1972},{},[1973],{"type":25,"value":1974},"Its exciting, because coming from a C and Java background, getting a file from the local system wasn't ever a problem, and there's been numerous times in my web dev endeavours when it has been. Ever needed to use that ugly hack where you upload a file to a server and bounce it immediately back to the client, just so you can have access to some image or text file from the user? Yeah, good riddance to that.",{"type":20,"tag":21,"props":1976,"children":1977},{},[1978],{"type":25,"value":1979},"Anyways, our plugin is going to do that to, because the two concepts are fairly closely related - we might want the user to drag and drop those drunken party photos into the browser for manipulation in a photo booth type app (airbrush me out of there... or maybe just add some clothes) before uploading, for instance.",{"type":20,"tag":21,"props":1981,"children":1982},{},[1983],{"type":25,"value":1984},"Here's what that looks like:",{"type":20,"tag":77,"props":1986,"children":1988},{"className":245,"code":1987,"language":247,"meta":8,"style":8},"    /**\n     * Deferred wrapper for file reader.\n     * @param read_method\n     * @param file\n     * @returns {Object} promise The Deferred promise object\n     * @constructor\n     */\n    function DeferReader(read_method, file){\n        this.defer = $.Deferred();\n        this.reader = new FileReader();\n        this.file = file;\n        this.read_method = read_method;\n\n    this.listen();\n    this.reader[read_method](file);\n\n    return this.defer.promise();\n}\n\n/**\n * Listen for the various events of interest on the file reader, and return notification or resolution\n * to deferred as appropriate.\n */\nDeferReader.prototype.listen = function(){\n    var that = this;\n\n    this.reader.addEventListener('error', function(event){\n        var err = event.target.error,\n            errCode = event.target.error.code,\n            errMsg = 'Error attempting to read file \"'+this.file.name+'\": ';\n        switch(errCode)\n        {\n            case err.NOT_FOUND_ERR:\n                errMsg += \"File could not be found.\";\n                break;\n            case err.NOT_READABLE_ERR:\n                errMsg += \"File is not readable.\";\n                break;\n            case err.ABORT_ERR:\n                errMsg += \"File read was aborted.\";\n                break;\n            default:\n                errMsg += \"An unexpected error occurred.\";\n                break;\n        }\n        that.defer.reject({state:Hup.state.FILE_READ_ERROR, error:errMsg});\n    }, false);\n\n    this.reader.addEventListener('progress', function(event){\n        if (event.lengthComputable)\n        {\n            that.defer.notify({state:Hup.state.FILE_READ_PROGRESS, file_name:that.file.name,\n                progress:(event.loaded/event.total)});\n        }\n    });\n\n    this.reader.addEventListener('loadend', function(event){\n        if (event.target.readyState == FileReader.DONE)\n        {\n            that.defer.resolve({state:Hup.state.FILE_READ_FINISHED,\n                file_name:that.file.name, file_size:that.file.size, file_type:that.file.type,\n                read_method:that.read_method, read_result:event.target.result});\n        }\n    }, false);\n};\n",[1989],{"type":20,"tag":60,"props":1990,"children":1991},{"__ignoreMap":8},[1992,1999,2007,2023,2038,2058,2069,2076,2109,2136,2165,2184,2205,2212,2232,2244,2251,2274,2281,2288,2295,2303,2311,2318,2354,2378,2385,2429,2450,2467,2510,2523,2531,2554,2576,2588,2608,2628,2639,2659,2679,2690,2702,2722,2733,2741,2769,2785,2792,2835,2848,2855,2882,2900,2907,2916,2924,2969,3002,3010,3037,3046,3055,3063,3079],{"type":20,"tag":87,"props":1993,"children":1994},{"class":89,"line":90},[1995],{"type":20,"tag":87,"props":1996,"children":1997},{"style":540},[1998],{"type":25,"value":634},{"type":20,"tag":87,"props":2000,"children":2001},{"class":89,"line":111},[2002],{"type":20,"tag":87,"props":2003,"children":2004},{"style":540},[2005],{"type":25,"value":2006},"     * Deferred wrapper for file reader.\n",{"type":20,"tag":87,"props":2008,"children":2009},{"class":89,"line":160},[2010,2014,2018],{"type":20,"tag":87,"props":2011,"children":2012},{"style":540},[2013],{"type":25,"value":650},{"type":20,"tag":87,"props":2015,"children":2016},{"style":313},[2017],{"type":25,"value":655},{"type":20,"tag":87,"props":2019,"children":2020},{"style":94},[2021],{"type":25,"value":2022}," read_method\n",{"type":20,"tag":87,"props":2024,"children":2025},{"class":89,"line":369},[2026,2030,2034],{"type":20,"tag":87,"props":2027,"children":2028},{"style":540},[2029],{"type":25,"value":650},{"type":20,"tag":87,"props":2031,"children":2032},{"style":313},[2033],{"type":25,"value":655},{"type":20,"tag":87,"props":2035,"children":2036},{"style":94},[2037],{"type":25,"value":676},{"type":20,"tag":87,"props":2039,"children":2040},{"class":89,"line":386},[2041,2045,2049,2053],{"type":20,"tag":87,"props":2042,"children":2043},{"style":540},[2044],{"type":25,"value":650},{"type":20,"tag":87,"props":2046,"children":2047},{"style":313},[2048],{"type":25,"value":688},{"type":20,"tag":87,"props":2050,"children":2051},{"style":124},[2052],{"type":25,"value":693},{"type":20,"tag":87,"props":2054,"children":2055},{"style":540},[2056],{"type":25,"value":2057}," promise The Deferred promise object\n",{"type":20,"tag":87,"props":2059,"children":2060},{"class":89,"line":395},[2061,2065],{"type":20,"tag":87,"props":2062,"children":2063},{"style":540},[2064],{"type":25,"value":650},{"type":20,"tag":87,"props":2066,"children":2067},{"style":313},[2068],{"type":25,"value":710},{"type":20,"tag":87,"props":2070,"children":2071},{"class":89,"line":405},[2072],{"type":20,"tag":87,"props":2073,"children":2074},{"style":540},[2075],{"type":25,"value":718},{"type":20,"tag":87,"props":2077,"children":2078},{"class":89,"line":419},[2079,2083,2088,2092,2097,2101,2105],{"type":20,"tag":87,"props":2080,"children":2081},{"style":313},[2082],{"type":25,"value":726},{"type":20,"tag":87,"props":2084,"children":2085},{"style":124},[2086],{"type":25,"value":2087}," DeferReader",{"type":20,"tag":87,"props":2089,"children":2090},{"style":94},[2091],{"type":25,"value":264},{"type":20,"tag":87,"props":2093,"children":2094},{"style":323},[2095],{"type":25,"value":2096},"read_method",{"type":20,"tag":87,"props":2098,"children":2099},{"style":94},[2100],{"type":25,"value":310},{"type":20,"tag":87,"props":2102,"children":2103},{"style":323},[2104],{"type":25,"value":749},{"type":20,"tag":87,"props":2106,"children":2107},{"style":94},[2108],{"type":25,"value":331},{"type":20,"tag":87,"props":2110,"children":2111},{"class":89,"line":488},[2112,2116,2120,2124,2128,2132],{"type":20,"tag":87,"props":2113,"children":2114},{"style":773},[2115],{"type":25,"value":991},{"type":20,"tag":87,"props":2117,"children":2118},{"style":94},[2119],{"type":25,"value":801},{"type":20,"tag":87,"props":2121,"children":2122},{"style":313},[2123],{"type":25,"value":132},{"type":20,"tag":87,"props":2125,"children":2126},{"style":94},[2127],{"type":25,"value":810},{"type":20,"tag":87,"props":2129,"children":2130},{"style":124},[2131],{"type":25,"value":815},{"type":20,"tag":87,"props":2133,"children":2134},{"style":94},[2135],{"type":25,"value":366},{"type":20,"tag":87,"props":2137,"children":2138},{"class":89,"line":504},[2139,2143,2148,2152,2156,2161],{"type":20,"tag":87,"props":2140,"children":2141},{"style":773},[2142],{"type":25,"value":991},{"type":20,"tag":87,"props":2144,"children":2145},{"style":94},[2146],{"type":25,"value":2147},".reader ",{"type":20,"tag":87,"props":2149,"children":2150},{"style":313},[2151],{"type":25,"value":132},{"type":20,"tag":87,"props":2153,"children":2154},{"style":313},[2155],{"type":25,"value":932},{"type":20,"tag":87,"props":2157,"children":2158},{"style":124},[2159],{"type":25,"value":2160}," FileReader",{"type":20,"tag":87,"props":2162,"children":2163},{"style":94},[2164],{"type":25,"value":366},{"type":20,"tag":87,"props":2166,"children":2167},{"class":89,"line":520},[2168,2172,2176,2180],{"type":20,"tag":87,"props":2169,"children":2170},{"style":773},[2171],{"type":25,"value":991},{"type":20,"tag":87,"props":2173,"children":2174},{"style":94},[2175],{"type":25,"value":831},{"type":20,"tag":87,"props":2177,"children":2178},{"style":313},[2179],{"type":25,"value":132},{"type":20,"tag":87,"props":2181,"children":2182},{"style":94},[2183],{"type":25,"value":840},{"type":20,"tag":87,"props":2185,"children":2186},{"class":89,"line":536},[2187,2191,2196,2200],{"type":20,"tag":87,"props":2188,"children":2189},{"style":773},[2190],{"type":25,"value":991},{"type":20,"tag":87,"props":2192,"children":2193},{"style":94},[2194],{"type":25,"value":2195},".read_method ",{"type":20,"tag":87,"props":2197,"children":2198},{"style":313},[2199],{"type":25,"value":132},{"type":20,"tag":87,"props":2201,"children":2202},{"style":94},[2203],{"type":25,"value":2204}," read_method;\n",{"type":20,"tag":87,"props":2206,"children":2207},{"class":89,"line":546},[2208],{"type":20,"tag":87,"props":2209,"children":2210},{"emptyLinePlaceholder":399},[2211],{"type":25,"value":402},{"type":20,"tag":87,"props":2213,"children":2214},{"class":89,"line":564},[2215,2219,2223,2228],{"type":20,"tag":87,"props":2216,"children":2217},{"style":773},[2218],{"type":25,"value":796},{"type":20,"tag":87,"props":2220,"children":2221},{"style":94},[2222],{"type":25,"value":1296},{"type":20,"tag":87,"props":2224,"children":2225},{"style":124},[2226],{"type":25,"value":2227},"listen",{"type":20,"tag":87,"props":2229,"children":2230},{"style":94},[2231],{"type":25,"value":366},{"type":20,"tag":87,"props":2233,"children":2234},{"class":89,"line":573},[2235,2239],{"type":20,"tag":87,"props":2236,"children":2237},{"style":773},[2238],{"type":25,"value":796},{"type":20,"tag":87,"props":2240,"children":2241},{"style":94},[2242],{"type":25,"value":2243},".reader[read_method](file);\n",{"type":20,"tag":87,"props":2245,"children":2246},{"class":89,"line":590},[2247],{"type":20,"tag":87,"props":2248,"children":2249},{"emptyLinePlaceholder":399},[2250],{"type":25,"value":402},{"type":20,"tag":87,"props":2252,"children":2253},{"class":89,"line":944},[2254,2258,2262,2266,2270],{"type":20,"tag":87,"props":2255,"children":2256},{"style":313},[2257],{"type":25,"value":1322},{"type":20,"tag":87,"props":2259,"children":2260},{"style":773},[2261],{"type":25,"value":776},{"type":20,"tag":87,"props":2263,"children":2264},{"style":94},[2265],{"type":25,"value":1331},{"type":20,"tag":87,"props":2267,"children":2268},{"style":124},[2269],{"type":25,"value":1336},{"type":20,"tag":87,"props":2271,"children":2272},{"style":94},[2273],{"type":25,"value":366},{"type":20,"tag":87,"props":2275,"children":2276},{"class":89,"line":952},[2277],{"type":20,"tag":87,"props":2278,"children":2279},{"style":94},[2280],{"type":25,"value":1349},{"type":20,"tag":87,"props":2282,"children":2283},{"class":89,"line":976},[2284],{"type":20,"tag":87,"props":2285,"children":2286},{"emptyLinePlaceholder":399},[2287],{"type":25,"value":402},{"type":20,"tag":87,"props":2289,"children":2290},{"class":89,"line":985},[2291],{"type":20,"tag":87,"props":2292,"children":2293},{"style":540},[2294],{"type":25,"value":1366},{"type":20,"tag":87,"props":2296,"children":2297},{"class":89,"line":1011},[2298],{"type":20,"tag":87,"props":2299,"children":2300},{"style":540},[2301],{"type":25,"value":2302}," * Listen for the various events of interest on the file reader, and return notification or resolution\n",{"type":20,"tag":87,"props":2304,"children":2305},{"class":89,"line":1074},[2306],{"type":20,"tag":87,"props":2307,"children":2308},{"style":540},[2309],{"type":25,"value":2310}," * to deferred as appropriate.\n",{"type":20,"tag":87,"props":2312,"children":2313},{"class":89,"line":1083},[2314],{"type":20,"tag":87,"props":2315,"children":2316},{"style":540},[2317],{"type":25,"value":1384},{"type":20,"tag":87,"props":2319,"children":2320},{"class":89,"line":1091},[2321,2326,2330,2334,2338,2342,2346,2350],{"type":20,"tag":87,"props":2322,"children":2323},{"style":773},[2324],{"type":25,"value":2325},"DeferReader",{"type":20,"tag":87,"props":2327,"children":2328},{"style":94},[2329],{"type":25,"value":1296},{"type":20,"tag":87,"props":2331,"children":2332},{"style":773},[2333],{"type":25,"value":1402},{"type":20,"tag":87,"props":2335,"children":2336},{"style":94},[2337],{"type":25,"value":1296},{"type":20,"tag":87,"props":2339,"children":2340},{"style":124},[2341],{"type":25,"value":2227},{"type":20,"tag":87,"props":2343,"children":2344},{"style":313},[2345],{"type":25,"value":1415},{"type":20,"tag":87,"props":2347,"children":2348},{"style":313},[2349],{"type":25,"value":1420},{"type":20,"tag":87,"props":2351,"children":2352},{"style":94},[2353],{"type":25,"value":1425},{"type":20,"tag":87,"props":2355,"children":2356},{"class":89,"line":1151},[2357,2362,2366,2370,2374],{"type":20,"tag":87,"props":2358,"children":2359},{"style":313},[2360],{"type":25,"value":2361},"    var",{"type":20,"tag":87,"props":2363,"children":2364},{"style":94},[2365],{"type":25,"value":766},{"type":20,"tag":87,"props":2367,"children":2368},{"style":313},[2369],{"type":25,"value":132},{"type":20,"tag":87,"props":2371,"children":2372},{"style":773},[2373],{"type":25,"value":776},{"type":20,"tag":87,"props":2375,"children":2376},{"style":94},[2377],{"type":25,"value":781},{"type":20,"tag":87,"props":2379,"children":2380},{"class":89,"line":1216},[2381],{"type":20,"tag":87,"props":2382,"children":2383},{"emptyLinePlaceholder":399},[2384],{"type":25,"value":402},{"type":20,"tag":87,"props":2386,"children":2387},{"class":89,"line":1278},[2388,2392,2397,2401,2405,2409,2413,2417,2421,2425],{"type":20,"tag":87,"props":2389,"children":2390},{"style":773},[2391],{"type":25,"value":796},{"type":20,"tag":87,"props":2393,"children":2394},{"style":94},[2395],{"type":25,"value":2396},".reader.",{"type":20,"tag":87,"props":2398,"children":2399},{"style":124},[2400],{"type":25,"value":1106},{"type":20,"tag":87,"props":2402,"children":2403},{"style":94},[2404],{"type":25,"value":264},{"type":20,"tag":87,"props":2406,"children":2407},{"style":135},[2408],{"type":25,"value":1238},{"type":20,"tag":87,"props":2410,"children":2411},{"style":94},[2412],{"type":25,"value":310},{"type":20,"tag":87,"props":2414,"children":2415},{"style":313},[2416],{"type":25,"value":316},{"type":20,"tag":87,"props":2418,"children":2419},{"style":94},[2420],{"type":25,"value":264},{"type":20,"tag":87,"props":2422,"children":2423},{"style":323},[2424],{"type":25,"value":326},{"type":20,"tag":87,"props":2426,"children":2427},{"style":94},[2428],{"type":25,"value":331},{"type":20,"tag":87,"props":2430,"children":2431},{"class":89,"line":1286},[2432,2436,2441,2445],{"type":20,"tag":87,"props":2433,"children":2434},{"style":313},[2435],{"type":25,"value":761},{"type":20,"tag":87,"props":2437,"children":2438},{"style":94},[2439],{"type":25,"value":2440}," err ",{"type":20,"tag":87,"props":2442,"children":2443},{"style":313},[2444],{"type":25,"value":132},{"type":20,"tag":87,"props":2446,"children":2447},{"style":94},[2448],{"type":25,"value":2449}," event.target.error,\n",{"type":20,"tag":87,"props":2451,"children":2452},{"class":89,"line":1308},[2453,2458,2462],{"type":20,"tag":87,"props":2454,"children":2455},{"style":94},[2456],{"type":25,"value":2457},"            errCode ",{"type":20,"tag":87,"props":2459,"children":2460},{"style":313},[2461],{"type":25,"value":132},{"type":20,"tag":87,"props":2463,"children":2464},{"style":94},[2465],{"type":25,"value":2466}," event.target.error.code,\n",{"type":20,"tag":87,"props":2468,"children":2469},{"class":89,"line":1316},[2470,2475,2479,2484,2488,2492,2497,2501,2506],{"type":20,"tag":87,"props":2471,"children":2472},{"style":94},[2473],{"type":25,"value":2474},"            errMsg ",{"type":20,"tag":87,"props":2476,"children":2477},{"style":313},[2478],{"type":25,"value":132},{"type":20,"tag":87,"props":2480,"children":2481},{"style":135},[2482],{"type":25,"value":2483}," 'Error attempting to read file \"'",{"type":20,"tag":87,"props":2485,"children":2486},{"style":313},[2487],{"type":25,"value":1053},{"type":20,"tag":87,"props":2489,"children":2490},{"style":773},[2491],{"type":25,"value":968},{"type":20,"tag":87,"props":2493,"children":2494},{"style":94},[2495],{"type":25,"value":2496},".file.name",{"type":20,"tag":87,"props":2498,"children":2499},{"style":313},[2500],{"type":25,"value":1053},{"type":20,"tag":87,"props":2502,"children":2503},{"style":135},[2504],{"type":25,"value":2505},"'\": '",{"type":20,"tag":87,"props":2507,"children":2508},{"style":94},[2509],{"type":25,"value":781},{"type":20,"tag":87,"props":2511,"children":2512},{"class":89,"line":1343},[2513,2518],{"type":20,"tag":87,"props":2514,"children":2515},{"style":313},[2516],{"type":25,"value":2517},"        switch",{"type":20,"tag":87,"props":2519,"children":2520},{"style":94},[2521],{"type":25,"value":2522},"(errCode)\n",{"type":20,"tag":87,"props":2524,"children":2525},{"class":89,"line":1352},[2526],{"type":20,"tag":87,"props":2527,"children":2528},{"style":94},[2529],{"type":25,"value":2530},"        {\n",{"type":20,"tag":87,"props":2532,"children":2533},{"class":89,"line":1360},[2534,2539,2544,2549],{"type":20,"tag":87,"props":2535,"children":2536},{"style":313},[2537],{"type":25,"value":2538},"            case",{"type":20,"tag":87,"props":2540,"children":2541},{"style":94},[2542],{"type":25,"value":2543}," err.",{"type":20,"tag":87,"props":2545,"children":2546},{"style":773},[2547],{"type":25,"value":2548},"NOT_FOUND_ERR",{"type":20,"tag":87,"props":2550,"children":2551},{"style":94},[2552],{"type":25,"value":2553},":\n",{"type":20,"tag":87,"props":2555,"children":2556},{"class":89,"line":1369},[2557,2562,2567,2572],{"type":20,"tag":87,"props":2558,"children":2559},{"style":94},[2560],{"type":25,"value":2561},"                errMsg ",{"type":20,"tag":87,"props":2563,"children":2564},{"style":313},[2565],{"type":25,"value":2566},"+=",{"type":20,"tag":87,"props":2568,"children":2569},{"style":135},[2570],{"type":25,"value":2571}," \"File could not be found.\"",{"type":20,"tag":87,"props":2573,"children":2574},{"style":94},[2575],{"type":25,"value":781},{"type":20,"tag":87,"props":2577,"children":2578},{"class":89,"line":1378},[2579,2584],{"type":20,"tag":87,"props":2580,"children":2581},{"style":313},[2582],{"type":25,"value":2583},"                break",{"type":20,"tag":87,"props":2585,"children":2586},{"style":94},[2587],{"type":25,"value":781},{"type":20,"tag":87,"props":2589,"children":2590},{"class":89,"line":1387},[2591,2595,2599,2604],{"type":20,"tag":87,"props":2592,"children":2593},{"style":313},[2594],{"type":25,"value":2538},{"type":20,"tag":87,"props":2596,"children":2597},{"style":94},[2598],{"type":25,"value":2543},{"type":20,"tag":87,"props":2600,"children":2601},{"style":773},[2602],{"type":25,"value":2603},"NOT_READABLE_ERR",{"type":20,"tag":87,"props":2605,"children":2606},{"style":94},[2607],{"type":25,"value":2553},{"type":20,"tag":87,"props":2609,"children":2610},{"class":89,"line":1428},[2611,2615,2619,2624],{"type":20,"tag":87,"props":2612,"children":2613},{"style":94},[2614],{"type":25,"value":2561},{"type":20,"tag":87,"props":2616,"children":2617},{"style":313},[2618],{"type":25,"value":2566},{"type":20,"tag":87,"props":2620,"children":2621},{"style":135},[2622],{"type":25,"value":2623}," \"File is not readable.\"",{"type":20,"tag":87,"props":2625,"children":2626},{"style":94},[2627],{"type":25,"value":781},{"type":20,"tag":87,"props":2629,"children":2630},{"class":89,"line":1436},[2631,2635],{"type":20,"tag":87,"props":2632,"children":2633},{"style":313},[2634],{"type":25,"value":2583},{"type":20,"tag":87,"props":2636,"children":2637},{"style":94},[2638],{"type":25,"value":781},{"type":20,"tag":87,"props":2640,"children":2641},{"class":89,"line":1484},[2642,2646,2650,2655],{"type":20,"tag":87,"props":2643,"children":2644},{"style":313},[2645],{"type":25,"value":2538},{"type":20,"tag":87,"props":2647,"children":2648},{"style":94},[2649],{"type":25,"value":2543},{"type":20,"tag":87,"props":2651,"children":2652},{"style":773},[2653],{"type":25,"value":2654},"ABORT_ERR",{"type":20,"tag":87,"props":2656,"children":2657},{"style":94},[2658],{"type":25,"value":2553},{"type":20,"tag":87,"props":2660,"children":2661},{"class":89,"line":1523},[2662,2666,2670,2675],{"type":20,"tag":87,"props":2663,"children":2664},{"style":94},[2665],{"type":25,"value":2561},{"type":20,"tag":87,"props":2667,"children":2668},{"style":313},[2669],{"type":25,"value":2566},{"type":20,"tag":87,"props":2671,"children":2672},{"style":135},[2673],{"type":25,"value":2674}," \"File read was aborted.\"",{"type":20,"tag":87,"props":2676,"children":2677},{"style":94},[2678],{"type":25,"value":781},{"type":20,"tag":87,"props":2680,"children":2681},{"class":89,"line":1561},[2682,2686],{"type":20,"tag":87,"props":2683,"children":2684},{"style":313},[2685],{"type":25,"value":2583},{"type":20,"tag":87,"props":2687,"children":2688},{"style":94},[2689],{"type":25,"value":781},{"type":20,"tag":87,"props":2691,"children":2692},{"class":89,"line":1599},[2693,2698],{"type":20,"tag":87,"props":2694,"children":2695},{"style":313},[2696],{"type":25,"value":2697},"            default",{"type":20,"tag":87,"props":2699,"children":2700},{"style":94},[2701],{"type":25,"value":2553},{"type":20,"tag":87,"props":2703,"children":2704},{"class":89,"line":1607},[2705,2709,2713,2718],{"type":20,"tag":87,"props":2706,"children":2707},{"style":94},[2708],{"type":25,"value":2561},{"type":20,"tag":87,"props":2710,"children":2711},{"style":313},[2712],{"type":25,"value":2566},{"type":20,"tag":87,"props":2714,"children":2715},{"style":135},[2716],{"type":25,"value":2717}," \"An unexpected error occurred.\"",{"type":20,"tag":87,"props":2719,"children":2720},{"style":94},[2721],{"type":25,"value":781},{"type":20,"tag":87,"props":2723,"children":2724},{"class":89,"line":1627},[2725,2729],{"type":20,"tag":87,"props":2726,"children":2727},{"style":313},[2728],{"type":25,"value":2583},{"type":20,"tag":87,"props":2730,"children":2731},{"style":94},[2732],{"type":25,"value":781},{"type":20,"tag":87,"props":2734,"children":2735},{"class":89,"line":1635},[2736],{"type":20,"tag":87,"props":2737,"children":2738},{"style":94},[2739],{"type":25,"value":2740},"        }\n",{"type":20,"tag":87,"props":2742,"children":2743},{"class":89,"line":1665},[2744,2749,2754,2759,2764],{"type":20,"tag":87,"props":2745,"children":2746},{"style":94},[2747],{"type":25,"value":2748},"        that.defer.",{"type":20,"tag":87,"props":2750,"children":2751},{"style":124},[2752],{"type":25,"value":2753},"reject",{"type":20,"tag":87,"props":2755,"children":2756},{"style":94},[2757],{"type":25,"value":2758},"({state:Hup.state.",{"type":20,"tag":87,"props":2760,"children":2761},{"style":773},[2762],{"type":25,"value":2763},"FILE_READ_ERROR",{"type":20,"tag":87,"props":2765,"children":2766},{"style":94},[2767],{"type":25,"value":2768},", error:errMsg});\n",{"type":20,"tag":87,"props":2770,"children":2771},{"class":89,"line":1754},[2772,2777,2781],{"type":20,"tag":87,"props":2773,"children":2774},{"style":94},[2775],{"type":25,"value":2776},"    }, ",{"type":20,"tag":87,"props":2778,"children":2779},{"style":773},[2780],{"type":25,"value":1143},{"type":20,"tag":87,"props":2782,"children":2783},{"style":94},[2784],{"type":25,"value":1148},{"type":20,"tag":87,"props":2786,"children":2787},{"class":89,"line":1811},[2788],{"type":20,"tag":87,"props":2789,"children":2790},{"emptyLinePlaceholder":399},[2791],{"type":25,"value":402},{"type":20,"tag":87,"props":2793,"children":2794},{"class":89,"line":1819},[2795,2799,2803,2807,2811,2815,2819,2823,2827,2831],{"type":20,"tag":87,"props":2796,"children":2797},{"style":773},[2798],{"type":25,"value":796},{"type":20,"tag":87,"props":2800,"children":2801},{"style":94},[2802],{"type":25,"value":2396},{"type":20,"tag":87,"props":2804,"children":2805},{"style":124},[2806],{"type":25,"value":1106},{"type":20,"tag":87,"props":2808,"children":2809},{"style":94},[2810],{"type":25,"value":264},{"type":20,"tag":87,"props":2812,"children":2813},{"style":135},[2814],{"type":25,"value":1174},{"type":20,"tag":87,"props":2816,"children":2817},{"style":94},[2818],{"type":25,"value":310},{"type":20,"tag":87,"props":2820,"children":2821},{"style":313},[2822],{"type":25,"value":316},{"type":20,"tag":87,"props":2824,"children":2825},{"style":94},[2826],{"type":25,"value":264},{"type":20,"tag":87,"props":2828,"children":2829},{"style":323},[2830],{"type":25,"value":326},{"type":20,"tag":87,"props":2832,"children":2833},{"style":94},[2834],{"type":25,"value":331},{"type":20,"tag":87,"props":2836,"children":2837},{"class":89,"line":1828},[2838,2843],{"type":20,"tag":87,"props":2839,"children":2840},{"style":313},[2841],{"type":25,"value":2842},"        if",{"type":20,"tag":87,"props":2844,"children":2845},{"style":94},[2846],{"type":25,"value":2847}," (event.lengthComputable)\n",{"type":20,"tag":87,"props":2849,"children":2850},{"class":89,"line":1836},[2851],{"type":20,"tag":87,"props":2852,"children":2853},{"style":94},[2854],{"type":25,"value":2530},{"type":20,"tag":87,"props":2856,"children":2857},{"class":89,"line":1881},[2858,2863,2868,2872,2877],{"type":20,"tag":87,"props":2859,"children":2860},{"style":94},[2861],{"type":25,"value":2862},"            that.defer.",{"type":20,"tag":87,"props":2864,"children":2865},{"style":124},[2866],{"type":25,"value":2867},"notify",{"type":20,"tag":87,"props":2869,"children":2870},{"style":94},[2871],{"type":25,"value":2758},{"type":20,"tag":87,"props":2873,"children":2874},{"style":773},[2875],{"type":25,"value":2876},"FILE_READ_PROGRESS",{"type":20,"tag":87,"props":2878,"children":2879},{"style":94},[2880],{"type":25,"value":2881},", file_name:that.file.name,\n",{"type":20,"tag":87,"props":2883,"children":2884},{"class":89,"line":1910},[2885,2890,2895],{"type":20,"tag":87,"props":2886,"children":2887},{"style":94},[2888],{"type":25,"value":2889},"                progress:(event.loaded",{"type":20,"tag":87,"props":2891,"children":2892},{"style":313},[2893],{"type":25,"value":2894},"/",{"type":20,"tag":87,"props":2896,"children":2897},{"style":94},[2898],{"type":25,"value":2899},"event.total)});\n",{"type":20,"tag":87,"props":2901,"children":2902},{"class":89,"line":1918},[2903],{"type":20,"tag":87,"props":2904,"children":2905},{"style":94},[2906],{"type":25,"value":2740},{"type":20,"tag":87,"props":2908,"children":2910},{"class":89,"line":2909},55,[2911],{"type":20,"tag":87,"props":2912,"children":2913},{"style":94},[2914],{"type":25,"value":2915},"    });\n",{"type":20,"tag":87,"props":2917,"children":2919},{"class":89,"line":2918},56,[2920],{"type":20,"tag":87,"props":2921,"children":2922},{"emptyLinePlaceholder":399},[2923],{"type":25,"value":402},{"type":20,"tag":87,"props":2925,"children":2927},{"class":89,"line":2926},57,[2928,2932,2936,2940,2944,2949,2953,2957,2961,2965],{"type":20,"tag":87,"props":2929,"children":2930},{"style":773},[2931],{"type":25,"value":796},{"type":20,"tag":87,"props":2933,"children":2934},{"style":94},[2935],{"type":25,"value":2396},{"type":20,"tag":87,"props":2937,"children":2938},{"style":124},[2939],{"type":25,"value":1106},{"type":20,"tag":87,"props":2941,"children":2942},{"style":94},[2943],{"type":25,"value":264},{"type":20,"tag":87,"props":2945,"children":2946},{"style":135},[2947],{"type":25,"value":2948},"'loadend'",{"type":20,"tag":87,"props":2950,"children":2951},{"style":94},[2952],{"type":25,"value":310},{"type":20,"tag":87,"props":2954,"children":2955},{"style":313},[2956],{"type":25,"value":316},{"type":20,"tag":87,"props":2958,"children":2959},{"style":94},[2960],{"type":25,"value":264},{"type":20,"tag":87,"props":2962,"children":2963},{"style":323},[2964],{"type":25,"value":326},{"type":20,"tag":87,"props":2966,"children":2967},{"style":94},[2968],{"type":25,"value":331},{"type":20,"tag":87,"props":2970,"children":2972},{"class":89,"line":2971},58,[2973,2977,2982,2987,2992,2997],{"type":20,"tag":87,"props":2974,"children":2975},{"style":313},[2976],{"type":25,"value":2842},{"type":20,"tag":87,"props":2978,"children":2979},{"style":94},[2980],{"type":25,"value":2981}," (event.target.readyState ",{"type":20,"tag":87,"props":2983,"children":2984},{"style":313},[2985],{"type":25,"value":2986},"==",{"type":20,"tag":87,"props":2988,"children":2989},{"style":94},[2990],{"type":25,"value":2991}," FileReader.",{"type":20,"tag":87,"props":2993,"children":2994},{"style":773},[2995],{"type":25,"value":2996},"DONE",{"type":20,"tag":87,"props":2998,"children":2999},{"style":94},[3000],{"type":25,"value":3001},")\n",{"type":20,"tag":87,"props":3003,"children":3005},{"class":89,"line":3004},59,[3006],{"type":20,"tag":87,"props":3007,"children":3008},{"style":94},[3009],{"type":25,"value":2530},{"type":20,"tag":87,"props":3011,"children":3013},{"class":89,"line":3012},60,[3014,3018,3023,3027,3032],{"type":20,"tag":87,"props":3015,"children":3016},{"style":94},[3017],{"type":25,"value":2862},{"type":20,"tag":87,"props":3019,"children":3020},{"style":124},[3021],{"type":25,"value":3022},"resolve",{"type":20,"tag":87,"props":3024,"children":3025},{"style":94},[3026],{"type":25,"value":2758},{"type":20,"tag":87,"props":3028,"children":3029},{"style":773},[3030],{"type":25,"value":3031},"FILE_READ_FINISHED",{"type":20,"tag":87,"props":3033,"children":3034},{"style":94},[3035],{"type":25,"value":3036},",\n",{"type":20,"tag":87,"props":3038,"children":3040},{"class":89,"line":3039},61,[3041],{"type":20,"tag":87,"props":3042,"children":3043},{"style":94},[3044],{"type":25,"value":3045},"                file_name:that.file.name, file_size:that.file.size, file_type:that.file.type,\n",{"type":20,"tag":87,"props":3047,"children":3049},{"class":89,"line":3048},62,[3050],{"type":20,"tag":87,"props":3051,"children":3052},{"style":94},[3053],{"type":25,"value":3054},"                read_method:that.read_method, read_result:event.target.result});\n",{"type":20,"tag":87,"props":3056,"children":3058},{"class":89,"line":3057},63,[3059],{"type":20,"tag":87,"props":3060,"children":3061},{"style":94},[3062],{"type":25,"value":2740},{"type":20,"tag":87,"props":3064,"children":3066},{"class":89,"line":3065},64,[3067,3071,3075],{"type":20,"tag":87,"props":3068,"children":3069},{"style":94},[3070],{"type":25,"value":2776},{"type":20,"tag":87,"props":3072,"children":3073},{"style":773},[3074],{"type":25,"value":1143},{"type":20,"tag":87,"props":3076,"children":3077},{"style":94},[3078],{"type":25,"value":1148},{"type":20,"tag":87,"props":3080,"children":3082},{"class":89,"line":3081},65,[3083],{"type":20,"tag":87,"props":3084,"children":3085},{"style":94},[3086],{"type":25,"value":3087},"};\n",{"type":20,"tag":21,"props":3089,"children":3090},{},[3091],{"type":25,"value":3092},"Pretty simple (you'll notice I'm using the promises here to wrap around the callbacks that FileReader offer us - we're doing the same with the xhr upload). We set up our reader with a file read method (which will determine what kind of result we're given.",{"type":20,"tag":21,"props":3094,"children":3095},{},[3096,3098,3105],{"type":25,"value":3097},"We can readAsText (text files, obviously), readAsDataURL (images are a good candidate for being read this way - we'll be returned a data url with the contents encoded as base64), readAsBinaryString (which will return us a string with the binary contents encoded - we can get the bytes values by getting the char codes of each character in the string) or readAsArrayBuffer (see ",{"type":20,"tag":37,"props":3099,"children":3102},{"href":3100,"rel":3101},"http://www.khronos.org/registry/typedarray/specs/latest/",[41],[3103],{"type":25,"value":3104},"Array Buffer spec",{"type":25,"value":274},{"type":20,"tag":21,"props":3107,"children":3108},{},[3109],{"type":25,"value":3110},"The reader will call back to use on progress (useful for a progress bar, for instance) on the file read, and when finished loading, with the result of our read (which will be encoded as we've specified with our read method).",{"type":20,"tag":48,"props":3112,"children":3114},{"id":3113},"all-together-now",[3115],{"type":25,"value":3116},"All Together Now",{"type":20,"tag":21,"props":3118,"children":3119},{},[3120],{"type":25,"value":3121},"So, been teasing about that plugin, and pulling it apart should be a good way to get started on learning how this all works; and if you want to forego that, just use the plugin! Keep in mind, the plugin doesn't offer any UI interaction - it just covers reading a file or uploading it, and returns the results of these operations to the element(s) the plugin is called on - you'll need/want to build your UI on top of that.",{"type":20,"tag":21,"props":3123,"children":3124},{},[3125,3127,3134],{"type":25,"value":3126},"Usage, the plugin, a test page and an example php script to receive and assemble chunked uploads can be found at ",{"type":20,"tag":37,"props":3128,"children":3131},{"href":3129,"rel":3130},"https://github.com/SaneMethod/HUp",[41],[3132],{"type":25,"value":3133},"the github repo",{"type":25,"value":1296},{"type":20,"tag":3136,"props":3137,"children":3139},"h1",{"id":3138},"note-the-code-below-is-out-of-date-see-the-github-repo-for-the-up-to-date-code",[3140,3142,3148],{"type":25,"value":3141},"NOTE: The code below is OUT OF DATE - see the ",{"type":20,"tag":37,"props":3143,"children":3145},{"href":3129,"rel":3144},[41],[3146],{"type":25,"value":3147},"GITHUB REPO",{"type":25,"value":3149}," for the up-to-date code.",{"type":20,"tag":21,"props":3151,"children":3152},{},[3153],{"type":25,"value":3154},"Meanwhile, here's just the plugin:",{"type":20,"tag":77,"props":3156,"children":3158},{"className":245,"code":3157,"language":247,"meta":8,"style":8},"/**\n * Copyright (c) 2013 Christopher Keefer. All Rights Reserved.\n *\n * jQuery plugin for reading in files or uploading them with the HTML5 file api and xhr2.\n */\n(function($){\n    /**\n     * Construct html5 reader/uploader.\n     * @param {Object} options\n     * @constructor\n     */\n    function Hup(options){\n        this.init(options);\n    }\n\n/**\n * Set options, listen for events on input element that indicate we should read/upload selected file(s).\n * @param options\n */\nHup.prototype.init = function(options)\n{\n    this.options = $.extend({\n        async:true, // Whether to send this file asynchronously\n        chunked:true, // Whether to send the file in chunks\n        chunk_size:1048576, // Size of each chunk (default 1024*1024)\n        input:'', // Input element\n        make_dnd:false, // Whether to make the input element handle drag and drop - auto-true if not file input\n        read_method:'readAsDataURL', // the read method to use for reading in the file - one of\n        // readAsText, readAsBinaryString, readAsDataURL or readAsArrayBuffer\n        type:'PUT', // Type of request to use for uploading\n        url:false // Url endpoint to send file to - if not specified or false, we read the file and return it\n    }, options);\n\n    this.input = $(this.options.input);\n\n    var that = this;\n    if (this.options.make_dnd || !this.isFileInput(this.input))\n    {\n        this.options.make_dnd = true;\n        this.input.off('dragover').on('dragover', function(event){\n            event = event.originalEvent;\n            that.handleDragover(event);\n        });\n    }\n    this.input.off('drop change').on('drop change', function(event){\n        event = event.originalEvent;\n        that.handleSelect(event);\n    });\n}\n\n/**\n * Return whether the passed element is an input of type file.\n * @param input Element to check.\n * @returns {boolean}\n */\nHup.prototype.isFileInput = function(input){\n    return (input[0].tagName === 'INPUT' &amp;amp;&amp;amp; input[0].getAttribute('type').indexOf('file') !== -1);\n};\n\n/**\n * Handle the dragging of file(s) to a target, preventing the rejection of the dragover.\n * @param event\n */\nHup.prototype.handleDragover = function(event){\n    event.preventDefault();\n    event.stopPropagation();\n    event.dataTransfer.dropEffect = 'copy';\n};\n\n/**\n * Handle the selection of files to upload via an input or drag and drop to a target.\n * @param event\n */\nHup.prototype.handleSelect = function(event){\n    var files;\n\n    if (this.options.make_dnd)\n    {\n        event.preventDefault();\n        event.stopPropagation();\n        files = event.dataTransfer.files;\n    }\n    else\n    {\n        files = event.target.files;\n    }\n    if (!files.length)\n    {\n        this.input.trigger(Hup.state.FILE_LIST_ERROR, {state:Hup.state.FILE_LIST_ERROR,\n            error:'No files found in file list; no files were selected.'});\n        return;\n    }\n    this.input.trigger(Hup.state.FILE_LIST_LOADED, {state:Hup.state.FILE_LIST_LOADED, files:files});\n\n    this.processFiles(files, this.options.url);\n};\n\n/**\n * Process the files in the fileList, uploading them if a url is specified, otherwise reading them into\n * memory and passing them on to be used in the browser.\n * @param files\n * @param upload\n */\nHup.prototype.processFiles = function(files, upload){\n    var that = this,\n        processed = 0;\n\n    for (var i=0, len = files.length; i &amp;lt; len; i++)\n    {\n        var fprocess = (upload) ? new DeferXhr(this.options, files[i]) :\n            new DeferReader(this.options.read_method, files[i]);\n\n        fprocess.progress(function(progress){\n            that.input.trigger(progress.state, progress);\n        }).done(function(res){\n            that.input.trigger(res.state, res);\n            processed++;\n            if (processed == len)\n                that.input.trigger((upload) ? Hup.state.FILE_UPLOAD_ALL : Hup.state.FILE_READ_ALL ,\n                    {state:(upload) ? Hup.state.FILE_UPLOAD_ALL : Hup.state.FILE_READ_ALL, files:len});\n        }).fail(function(res)\n        {\n            that.input.trigger(res.state, res);\n        });\n    }\n};\n\n/**\n * Custom events we'll trigger on our input element at the appropriate times.\n * @type {{FILE_LIST_ERROR: string, FILE_LIST_LOADED: string, FILE_READ_ERROR: string,\n * FILE_READ_PROGRESS: string, FILE_READ_FINISHED: string, FILE_READ_ALL: string,\n * FILE_UPLOAD_ERROR: string, FILE_UPLOAD_PROGRESS: string, FILE_UPLOAD_PAUSE: string,\n * FILE_UPLOAD_RESUME: string, FILE_UPLOAD_FINISHED: string, FILE_UPLOAD_ALL: string}}\n */\nHup.state = {\n    FILE_LIST_ERROR:'fileListError',\n    FILE_LIST_LOADED:'fileListLoaded',\n    FILE_READ_ERROR:'fileReadError',\n    FILE_READ_PROGRESS:'fileReadProgress',\n    FILE_READ_FINISHED:'fileReadFinished',\n    FILE_READ_ALL:'fileReadAll',\n    FILE_UPLOAD_ERROR:'fileUploadError',\n    FILE_UPLOAD_PROGRESS:'fileUploadProgress',\n    FILE_UPLOAD_PAUSE:'fileUploadPause',\n    FILE_UPLOAD_RESUME:'fileUploadResume',\n    FILE_UPLOAD_FINISHED:'fileUploadFinished',\n    FILE_UPLOAD_ALL:'fileUploadAll'\n};\n\n/**\n * Deferred wrapper for xhr upload.\n * @param options\n * @param file\n * @returns {Object} promise The deferred promise object.\n * @constructor\n */\nfunction DeferXhr(options, file){\n    var that = this;\n\n    this.defer = $.Deferred();\n    this.file = file;\n    this.options = options;\n    this.paused = false;\n    this.progress = 0;\n    this.time = {start:0, end:0, speed:0}; // Speed is measured in bytes per second\n    this.xhr = new XMLHttpRequest();\n\n    if (this.options.chunked)\n    {\n        this.start = 0;\n        this.end = Math.min(this.start+this.options.chunk_size, this.file.size);\n    }\n\n    this.xhr.addEventListener('load', function(){that.complete();}, false);\n    this.xhr.upload.addEventListener('progress', function(event){that.uploadProgress(event);}, false);\n    this.xhr.upload.addEventListener('error', function(event){that.uploadError(event);}, false);\n\n    this.upload();\n\n    return this.defer.promise();\n}\n\n/**\n * Carry out the xhr upload, optionally chunked.\n */\nDeferXhr.prototype.upload = function(){\n    this.time.start = +new Date();\n\n    this.xhr.open(this.options.type, this.options.url, this.options.async);\n    this.xhr.setRequestHeader('Accept', 'application/json');\n    this.xhr.setRequestHeader('X-File-Name', this.file.name);\n    this.xhr.setRequestHeader('X-File-Type', this.file.type);\n\n    if (this.options.chunked)\n    {\n        this.xhr.overrideMimeType('application/octet-stream');\n        this.xhr.setRequestHeader('Content-Range', 'bytes '+this.start+\"-\"+this.end+\"/\"+this.file.size);\n        this.xhr.send(this.file.slice(this.start, this.end));\n    }\n    else\n    {\n        this.xhr.overrideMimeType((this.file.type || 'application/octet-stream'));\n        this.xhr.send(this.file);\n    }\n}\n\n/**\n * Report on the upload progress, as a number between 0 and 1, modifying the progress if we're uploading a\n * file in chunks to report on the progress as a percentage of file upload and total chunks uploaded.\n * @param event\n */\nDeferXhr.prototype.uploadProgress = function(event){\n    if (event.lengthComputable)\n    {\n        this.progress = (event.loaded/event.total);\n        if (this.options.chunked)\n        {\n            this.progress *= (this.end/this.file.size);\n        }\n        this.time.end = +new Date();\n        this.time.speed = (this.file.size*this.progress)/(this.time.end-this.time.start)*1000;\n        console.log('time:', this.time.end-this.time.start, 'speed:', this.time.speed);\n        this.defer.notify({state:Hup.state.FILE_UPLOAD_PROGRESS, file_name:this.file.name, speed:this.time.speed,\n            progress:this.progress});\n    }\n};\n\nDeferXhr.prototype.uploadError = function(event){\n    this.defer.reject({state:Hup.state.FILE_UPLOAD_ERROR, error:event});\n}\n\n/**\n * Called when we've completed an upload (full file or chunk). If full file, or we've reached the last chunk,\n * the upload is complete. Otherwise, we calculate the next chunk offsets and, if the upload isn't paused,\n * upload it.\n */\nDeferXhr.prototype.complete = function(){\n    this.time.end = +new Date();\n    if (!this.options.chunked || this.end == this.file.size)\n    {\n        this.uploadComplete();\n        return;\n    }\n\n    this.defer.notify({state:Hup.state.FILE_UPLOAD_PROGRESS, file_name:this.file.name,\n        response:this.parseResponse(this.xhr.responseText), progress:this.progress});\n\n    this.start = this.end;\n    this.end = Math.min(this.start+this.options.chunk_size, this.file.size);\n\n    if (!this.paused)\n    {\n        this.upload();\n    }\n};\n\n/**\n * Called when the full file has been uploaded.\n */\nDeferXhr.prototype.uploadComplete = function(){\n    this.defer.resolve({state:Hup.state.FILE_UPLOAD_FINISHED, file_name:this.file.name,\n        file_size:this.file.size, file_type:this.file.type,\n        response:this.parseResponse(this.xhr.responseText)});\n};\n\n/**\n * Try to parse the response as a JSON, and on failure return the error and the plaintext.\n * @param response\n * @returns {Object}\n */\nDeferXhr.prototype.parseResponse = function(response)\n{\n    var response;\n    try{\n        response = JSON.parse(this.xhr.responseText);\n    }catch(e){\n        response = {error:e, text:this.xhr.responseText};\n    }\n    return response;\n}\n\n/**\n * Pause the upload (works for chunked uploads only).\n */\nDeferXhr.prototype.pause = function(){\n    this.paused = true;\n    this.defer.notify({state:Hup.state.FILE_UPLOAD_PAUSE, current_range:{start:this.start, end:this.end,\n        total:this.file.size}});\n}\n\n/**\n * Resume the upload (works for chunked uploads only).\n */\nDeferXhr.prototype.resume = function(){\n    if (this.paused)\n    {\n        this.paused = false;\n        this.defer.notify({state:Hup.state.FILE_UPLOAD_RESUME, current_range:{start:this.start, end:this.end,\n            total:this.file.size}});\n        this.upload();\n    }\n}\n\n/**\n * Deferred wrapper for file reader.\n * @param read_method\n * @param file\n * @returns {Object} promise The Deferred promise object\n * @constructor\n */\nfunction DeferReader(read_method, file){\n    this.defer = $.Deferred();\n    this.reader = new FileReader();\n    this.file = file;\n    this.read_method = read_method;\n\n    this.listen();\n    this.reader[read_method](file);\n\n    return this.defer.promise();\n}\n\n/**\n * Listen for the various events of interest on the file reader, and return notification or resolution\n * to deferred as appropriate.\n */\nDeferReader.prototype.listen = function(){\n    var that = this;\n\n    this.reader.addEventListener('error', function(event){\n        var err = event.target.error,\n            errCode = event.target.error.code,\n            errMsg = 'Error attempting to read file \"'+this.file.name+'\": ';\n        switch(errCode)\n        {\n            case err.NOT_FOUND_ERR:\n                errMsg += \"File could not be found.\";\n                break;\n            case err.NOT_READABLE_ERR:\n                errMsg += \"File is not readable.\";\n                break;\n            case err.ABORT_ERR:\n                errMsg += \"File read was aborted.\";\n                break;\n            default:\n                errMsg += \"An unexpected error occurred.\";\n                break;\n        }\n        that.defer.reject({state:Hup.state.FILE_READ_ERROR, error:errMsg});\n    }, false);\n\n    this.reader.addEventListener('progress', function(event){\n        if (event.lengthComputable)\n        {\n            that.defer.notify({state:Hup.state.FILE_READ_PROGRESS, file_name:that.file.name,\n                progress:(event.loaded/event.total)});\n        }\n    });\n\n    this.reader.addEventListener('loadend', function(event){\n        if (event.target.readyState == FileReader.DONE)\n        {\n            that.defer.resolve({state:Hup.state.FILE_READ_FINISHED,\n                file_name:that.file.name, file_size:that.file.size, file_type:that.file.type,\n                read_method:that.read_method, read_result:event.target.result});\n        }\n    }, false);\n};\n\n/**\n * Entry point for calling the reader/uploader, with the element to be used as input specified.\n * Usage:\n * $('#input').hup({options}).on('events') --OR--\n * $('.inputs').hup({options}).on('events')\n * @param options\n * @returns {Hup} Promise deferred from Hup.\n */\n$.fn.hup = function(options){\n    var options = (options || {});\n    return this.each(function(){\n        options.input = this;\n        var $this = $(this),\n            hup = $this.data('hup');\n        if (!hup)\n        {\n            $this.data('hup', new Hup(options));\n        }\n        else if (hup instanceof Hup)\n        {\n            hup.init(options);\n        }\n    });\n};\n})(jQuery);\n",[3159],{"type":20,"tag":60,"props":3160,"children":3161},{"__ignoreMap":8},[3162,3169,3177,3185,3193,3200,3223,3230,3238,3257,3268,3275,3299,3320,3327,3334,3341,3349,3365,3372,3416,3424,3453,3475,3496,3518,3540,3561,3583,3591,3613,3630,3638,3645,3679,3686,3709,3764,3771,3795,3855,3871,3889,3897,3904,3963,3979,3996,4003,4010,4017,4024,4032,4053,4069,4076,4119,4236,4243,4250,4257,4265,4281,4288,4331,4346,4362,4384,4392,4400,4408,4417,4433,4441,4485,4497,4505,4526,4534,4551,4567,4584,4592,4600,4608,4624,4632,4663,4671,4711,4729,4742,4750,4788,4796,4827,4835,4843,4851,4860,4869,4886,4903,4911,4964,4988,5009,5017,5088,5096,5148,5174,5182,5216,5234,5269,5286,5303,5326,5377,5415,5448,5456,5472,5480,5488,5496,5504,5512,5521,5539,5548,5557,5566,5574,5592,5610,5628,5646,5664,5682,5700,5718,5736,5754,5772,5790,5804,5812,5820,5828,5837,5853,5869,5889,5901,5909,5941,5965,5973,6001,6021,6041,6065,6089,6143,6171,6179,6199,6207,6231,6287,6295,6303,6355,6415,6475,6483,6503,6511,6535,6543,6551,6559,6567,6575,6611,6642,6650,6694,6730,6766,6802,6810,6830,6838,6866,6951,7003,7011,7019,7027,7067,7095,7103,7111,7119,7127,7136,7145,7161,7169,7213,7225,7233,7263,7283,7291,7333,7341,7370,7458,7524,7572,7590,7598,7606,7614,7658,7688,7696,7704,7712,7721,7730,7739,7747,7783,7811,7861,7869,7890,7902,7910,7918,7955,7998,8006,8031,8087,8095,8120,8128,8148,8156,8164,8172,8180,8189,8197,8233,8270,8297,8330,8338,8346,8354,8363,8380,8397,8405,8450,8458,8471,8484,8524,8543,8569,8577,8589,8597,8605,8613,8622,8630,8667,8691,8739,8757,8765,8773,8781,8790,8798,8835,8855,8863,8887,8932,8949,8969,8977,8985,8993,9001,9010,9026,9042,9062,9074,9082,9114,9142,9170,9190,9210,9218,9238,9250,9258,9282,9290,9298,9306,9314,9322,9330,9366,9390,9398,9442,9462,9478,9518,9530,9538,9558,9578,9590,9610,9630,9642,9662,9682,9694,9706,9726,9738,9746,9770,9786,9794,9838,9850,9858,9882,9898,9906,9914,9922,9966,9994,10002,10026,10034,10042,10050,10066,10074,10082,10090,10099,10108,10117,10126,10142,10164,10172,10206,10237,10270,10291,10325,10361,10382,10390,10429,10437,10469,10477,10494,10502,10510,10518],{"type":20,"tag":87,"props":3163,"children":3164},{"class":89,"line":90},[3165],{"type":20,"tag":87,"props":3166,"children":3167},{"style":540},[3168],{"type":25,"value":1366},{"type":20,"tag":87,"props":3170,"children":3171},{"class":89,"line":111},[3172],{"type":20,"tag":87,"props":3173,"children":3174},{"style":540},[3175],{"type":25,"value":3176}," * Copyright (c) 2013 Christopher Keefer. All Rights Reserved.\n",{"type":20,"tag":87,"props":3178,"children":3179},{"class":89,"line":160},[3180],{"type":20,"tag":87,"props":3181,"children":3182},{"style":540},[3183],{"type":25,"value":3184}," *\n",{"type":20,"tag":87,"props":3186,"children":3187},{"class":89,"line":369},[3188],{"type":20,"tag":87,"props":3189,"children":3190},{"style":540},[3191],{"type":25,"value":3192}," * jQuery plugin for reading in files or uploading them with the HTML5 file api and xhr2.\n",{"type":20,"tag":87,"props":3194,"children":3195},{"class":89,"line":386},[3196],{"type":20,"tag":87,"props":3197,"children":3198},{"style":540},[3199],{"type":25,"value":1384},{"type":20,"tag":87,"props":3201,"children":3202},{"class":89,"line":395},[3203,3207,3211,3215,3219],{"type":20,"tag":87,"props":3204,"children":3205},{"style":94},[3206],{"type":25,"value":264},{"type":20,"tag":87,"props":3208,"children":3209},{"style":313},[3210],{"type":25,"value":316},{"type":20,"tag":87,"props":3212,"children":3213},{"style":94},[3214],{"type":25,"value":264},{"type":20,"tag":87,"props":3216,"children":3217},{"style":323},[3218],{"type":25,"value":259},{"type":20,"tag":87,"props":3220,"children":3221},{"style":94},[3222],{"type":25,"value":331},{"type":20,"tag":87,"props":3224,"children":3225},{"class":89,"line":405},[3226],{"type":20,"tag":87,"props":3227,"children":3228},{"style":540},[3229],{"type":25,"value":634},{"type":20,"tag":87,"props":3231,"children":3232},{"class":89,"line":419},[3233],{"type":20,"tag":87,"props":3234,"children":3235},{"style":540},[3236],{"type":25,"value":3237},"     * Construct html5 reader/uploader.\n",{"type":20,"tag":87,"props":3239,"children":3240},{"class":89,"line":488},[3241,3245,3249,3253],{"type":20,"tag":87,"props":3242,"children":3243},{"style":540},[3244],{"type":25,"value":650},{"type":20,"tag":87,"props":3246,"children":3247},{"style":313},[3248],{"type":25,"value":655},{"type":20,"tag":87,"props":3250,"children":3251},{"style":124},[3252],{"type":25,"value":693},{"type":20,"tag":87,"props":3254,"children":3255},{"style":94},[3256],{"type":25,"value":660},{"type":20,"tag":87,"props":3258,"children":3259},{"class":89,"line":504},[3260,3264],{"type":20,"tag":87,"props":3261,"children":3262},{"style":540},[3263],{"type":25,"value":650},{"type":20,"tag":87,"props":3265,"children":3266},{"style":313},[3267],{"type":25,"value":710},{"type":20,"tag":87,"props":3269,"children":3270},{"class":89,"line":520},[3271],{"type":20,"tag":87,"props":3272,"children":3273},{"style":540},[3274],{"type":25,"value":718},{"type":20,"tag":87,"props":3276,"children":3277},{"class":89,"line":536},[3278,3282,3287,3291,3295],{"type":20,"tag":87,"props":3279,"children":3280},{"style":313},[3281],{"type":25,"value":726},{"type":20,"tag":87,"props":3283,"children":3284},{"style":124},[3285],{"type":25,"value":3286}," Hup",{"type":20,"tag":87,"props":3288,"children":3289},{"style":94},[3290],{"type":25,"value":264},{"type":20,"tag":87,"props":3292,"children":3293},{"style":323},[3294],{"type":25,"value":740},{"type":20,"tag":87,"props":3296,"children":3297},{"style":94},[3298],{"type":25,"value":331},{"type":20,"tag":87,"props":3300,"children":3301},{"class":89,"line":546},[3302,3306,3310,3315],{"type":20,"tag":87,"props":3303,"children":3304},{"style":773},[3305],{"type":25,"value":991},{"type":20,"tag":87,"props":3307,"children":3308},{"style":94},[3309],{"type":25,"value":1296},{"type":20,"tag":87,"props":3311,"children":3312},{"style":124},[3313],{"type":25,"value":3314},"init",{"type":20,"tag":87,"props":3316,"children":3317},{"style":94},[3318],{"type":25,"value":3319},"(options);\n",{"type":20,"tag":87,"props":3321,"children":3322},{"class":89,"line":564},[3323],{"type":20,"tag":87,"props":3324,"children":3325},{"style":94},[3326],{"type":25,"value":1080},{"type":20,"tag":87,"props":3328,"children":3329},{"class":89,"line":573},[3330],{"type":20,"tag":87,"props":3331,"children":3332},{"emptyLinePlaceholder":399},[3333],{"type":25,"value":402},{"type":20,"tag":87,"props":3335,"children":3336},{"class":89,"line":590},[3337],{"type":20,"tag":87,"props":3338,"children":3339},{"style":540},[3340],{"type":25,"value":1366},{"type":20,"tag":87,"props":3342,"children":3343},{"class":89,"line":944},[3344],{"type":20,"tag":87,"props":3345,"children":3346},{"style":540},[3347],{"type":25,"value":3348}," * Set options, listen for events on input element that indicate we should read/upload selected file(s).\n",{"type":20,"tag":87,"props":3350,"children":3351},{"class":89,"line":952},[3352,3357,3361],{"type":20,"tag":87,"props":3353,"children":3354},{"style":540},[3355],{"type":25,"value":3356}," * ",{"type":20,"tag":87,"props":3358,"children":3359},{"style":313},[3360],{"type":25,"value":655},{"type":20,"tag":87,"props":3362,"children":3363},{"style":94},[3364],{"type":25,"value":660},{"type":20,"tag":87,"props":3366,"children":3367},{"class":89,"line":976},[3368],{"type":20,"tag":87,"props":3369,"children":3370},{"style":540},[3371],{"type":25,"value":1384},{"type":20,"tag":87,"props":3373,"children":3374},{"class":89,"line":985},[3375,3380,3384,3388,3392,3396,3400,3404,3408,3412],{"type":20,"tag":87,"props":3376,"children":3377},{"style":773},[3378],{"type":25,"value":3379},"Hup",{"type":20,"tag":87,"props":3381,"children":3382},{"style":94},[3383],{"type":25,"value":1296},{"type":20,"tag":87,"props":3385,"children":3386},{"style":773},[3387],{"type":25,"value":1402},{"type":20,"tag":87,"props":3389,"children":3390},{"style":94},[3391],{"type":25,"value":1296},{"type":20,"tag":87,"props":3393,"children":3394},{"style":124},[3395],{"type":25,"value":3314},{"type":20,"tag":87,"props":3397,"children":3398},{"style":313},[3399],{"type":25,"value":1415},{"type":20,"tag":87,"props":3401,"children":3402},{"style":313},[3403],{"type":25,"value":1420},{"type":20,"tag":87,"props":3405,"children":3406},{"style":94},[3407],{"type":25,"value":264},{"type":20,"tag":87,"props":3409,"children":3410},{"style":323},[3411],{"type":25,"value":740},{"type":20,"tag":87,"props":3413,"children":3414},{"style":94},[3415],{"type":25,"value":3001},{"type":20,"tag":87,"props":3417,"children":3418},{"class":89,"line":1011},[3419],{"type":20,"tag":87,"props":3420,"children":3421},{"style":94},[3422],{"type":25,"value":3423},"{\n",{"type":20,"tag":87,"props":3425,"children":3426},{"class":89,"line":1074},[3427,3431,3435,3439,3443,3448],{"type":20,"tag":87,"props":3428,"children":3429},{"style":773},[3430],{"type":25,"value":796},{"type":20,"tag":87,"props":3432,"children":3433},{"style":94},[3434],{"type":25,"value":852},{"type":20,"tag":87,"props":3436,"children":3437},{"style":313},[3438],{"type":25,"value":132},{"type":20,"tag":87,"props":3440,"children":3441},{"style":94},[3442],{"type":25,"value":810},{"type":20,"tag":87,"props":3444,"children":3445},{"style":124},[3446],{"type":25,"value":3447},"extend",{"type":20,"tag":87,"props":3449,"children":3450},{"style":94},[3451],{"type":25,"value":3452},"({\n",{"type":20,"tag":87,"props":3454,"children":3455},{"class":89,"line":1083},[3456,3461,3466,3470],{"type":20,"tag":87,"props":3457,"children":3458},{"style":94},[3459],{"type":25,"value":3460},"        async:",{"type":20,"tag":87,"props":3462,"children":3463},{"style":773},[3464],{"type":25,"value":3465},"true",{"type":20,"tag":87,"props":3467,"children":3468},{"style":94},[3469],{"type":25,"value":310},{"type":20,"tag":87,"props":3471,"children":3472},{"style":540},[3473],{"type":25,"value":3474},"// Whether to send this file asynchronously\n",{"type":20,"tag":87,"props":3476,"children":3477},{"class":89,"line":1091},[3478,3483,3487,3491],{"type":20,"tag":87,"props":3479,"children":3480},{"style":94},[3481],{"type":25,"value":3482},"        chunked:",{"type":20,"tag":87,"props":3484,"children":3485},{"style":773},[3486],{"type":25,"value":3465},{"type":20,"tag":87,"props":3488,"children":3489},{"style":94},[3490],{"type":25,"value":310},{"type":20,"tag":87,"props":3492,"children":3493},{"style":540},[3494],{"type":25,"value":3495},"// Whether to send the file in chunks\n",{"type":20,"tag":87,"props":3497,"children":3498},{"class":89,"line":1151},[3499,3504,3509,3513],{"type":20,"tag":87,"props":3500,"children":3501},{"style":94},[3502],{"type":25,"value":3503},"        chunk_size:",{"type":20,"tag":87,"props":3505,"children":3506},{"style":773},[3507],{"type":25,"value":3508},"1048576",{"type":20,"tag":87,"props":3510,"children":3511},{"style":94},[3512],{"type":25,"value":310},{"type":20,"tag":87,"props":3514,"children":3515},{"style":540},[3516],{"type":25,"value":3517},"// Size of each chunk (default 1024*1024)\n",{"type":20,"tag":87,"props":3519,"children":3520},{"class":89,"line":1216},[3521,3526,3531,3535],{"type":20,"tag":87,"props":3522,"children":3523},{"style":94},[3524],{"type":25,"value":3525},"        input:",{"type":20,"tag":87,"props":3527,"children":3528},{"style":135},[3529],{"type":25,"value":3530},"''",{"type":20,"tag":87,"props":3532,"children":3533},{"style":94},[3534],{"type":25,"value":310},{"type":20,"tag":87,"props":3536,"children":3537},{"style":540},[3538],{"type":25,"value":3539},"// Input element\n",{"type":20,"tag":87,"props":3541,"children":3542},{"class":89,"line":1278},[3543,3548,3552,3556],{"type":20,"tag":87,"props":3544,"children":3545},{"style":94},[3546],{"type":25,"value":3547},"        make_dnd:",{"type":20,"tag":87,"props":3549,"children":3550},{"style":773},[3551],{"type":25,"value":1143},{"type":20,"tag":87,"props":3553,"children":3554},{"style":94},[3555],{"type":25,"value":310},{"type":20,"tag":87,"props":3557,"children":3558},{"style":540},[3559],{"type":25,"value":3560},"// Whether to make the input element handle drag and drop - auto-true if not file input\n",{"type":20,"tag":87,"props":3562,"children":3563},{"class":89,"line":1286},[3564,3569,3574,3578],{"type":20,"tag":87,"props":3565,"children":3566},{"style":94},[3567],{"type":25,"value":3568},"        read_method:",{"type":20,"tag":87,"props":3570,"children":3571},{"style":135},[3572],{"type":25,"value":3573},"'readAsDataURL'",{"type":20,"tag":87,"props":3575,"children":3576},{"style":94},[3577],{"type":25,"value":310},{"type":20,"tag":87,"props":3579,"children":3580},{"style":540},[3581],{"type":25,"value":3582},"// the read method to use for reading in the file - one of\n",{"type":20,"tag":87,"props":3584,"children":3585},{"class":89,"line":1308},[3586],{"type":20,"tag":87,"props":3587,"children":3588},{"style":540},[3589],{"type":25,"value":3590},"        // readAsText, readAsBinaryString, readAsDataURL or readAsArrayBuffer\n",{"type":20,"tag":87,"props":3592,"children":3593},{"class":89,"line":1316},[3594,3599,3604,3608],{"type":20,"tag":87,"props":3595,"children":3596},{"style":94},[3597],{"type":25,"value":3598},"        type:",{"type":20,"tag":87,"props":3600,"children":3601},{"style":135},[3602],{"type":25,"value":3603},"'PUT'",{"type":20,"tag":87,"props":3605,"children":3606},{"style":94},[3607],{"type":25,"value":310},{"type":20,"tag":87,"props":3609,"children":3610},{"style":540},[3611],{"type":25,"value":3612},"// Type of request to use for uploading\n",{"type":20,"tag":87,"props":3614,"children":3615},{"class":89,"line":1343},[3616,3621,3625],{"type":20,"tag":87,"props":3617,"children":3618},{"style":94},[3619],{"type":25,"value":3620},"        url:",{"type":20,"tag":87,"props":3622,"children":3623},{"style":773},[3624],{"type":25,"value":1143},{"type":20,"tag":87,"props":3626,"children":3627},{"style":540},[3628],{"type":25,"value":3629}," // Url endpoint to send file to - if not specified or false, we read the file and return it\n",{"type":20,"tag":87,"props":3631,"children":3632},{"class":89,"line":1352},[3633],{"type":20,"tag":87,"props":3634,"children":3635},{"style":94},[3636],{"type":25,"value":3637},"    }, options);\n",{"type":20,"tag":87,"props":3639,"children":3640},{"class":89,"line":1360},[3641],{"type":20,"tag":87,"props":3642,"children":3643},{"emptyLinePlaceholder":399},[3644],{"type":25,"value":402},{"type":20,"tag":87,"props":3646,"children":3647},{"class":89,"line":1369},[3648,3652,3657,3661,3666,3670,3674],{"type":20,"tag":87,"props":3649,"children":3650},{"style":773},[3651],{"type":25,"value":796},{"type":20,"tag":87,"props":3653,"children":3654},{"style":94},[3655],{"type":25,"value":3656},".input ",{"type":20,"tag":87,"props":3658,"children":3659},{"style":313},[3660],{"type":25,"value":132},{"type":20,"tag":87,"props":3662,"children":3663},{"style":124},[3664],{"type":25,"value":3665}," $",{"type":20,"tag":87,"props":3667,"children":3668},{"style":94},[3669],{"type":25,"value":264},{"type":20,"tag":87,"props":3671,"children":3672},{"style":773},[3673],{"type":25,"value":968},{"type":20,"tag":87,"props":3675,"children":3676},{"style":94},[3677],{"type":25,"value":3678},".options.input);\n",{"type":20,"tag":87,"props":3680,"children":3681},{"class":89,"line":1378},[3682],{"type":20,"tag":87,"props":3683,"children":3684},{"emptyLinePlaceholder":399},[3685],{"type":25,"value":402},{"type":20,"tag":87,"props":3687,"children":3688},{"class":89,"line":1387},[3689,3693,3697,3701,3705],{"type":20,"tag":87,"props":3690,"children":3691},{"style":313},[3692],{"type":25,"value":2361},{"type":20,"tag":87,"props":3694,"children":3695},{"style":94},[3696],{"type":25,"value":766},{"type":20,"tag":87,"props":3698,"children":3699},{"style":313},[3700],{"type":25,"value":132},{"type":20,"tag":87,"props":3702,"children":3703},{"style":773},[3704],{"type":25,"value":776},{"type":20,"tag":87,"props":3706,"children":3707},{"style":94},[3708],{"type":25,"value":781},{"type":20,"tag":87,"props":3710,"children":3711},{"class":89,"line":1428},[3712,3716,3720,3724,3729,3733,3738,3742,3746,3751,3755,3759],{"type":20,"tag":87,"props":3713,"children":3714},{"style":313},[3715],{"type":25,"value":958},{"type":20,"tag":87,"props":3717,"children":3718},{"style":94},[3719],{"type":25,"value":963},{"type":20,"tag":87,"props":3721,"children":3722},{"style":773},[3723],{"type":25,"value":968},{"type":20,"tag":87,"props":3725,"children":3726},{"style":94},[3727],{"type":25,"value":3728},".options.make_dnd ",{"type":20,"tag":87,"props":3730,"children":3731},{"style":313},[3732],{"type":25,"value":1868},{"type":20,"tag":87,"props":3734,"children":3735},{"style":313},[3736],{"type":25,"value":3737}," !",{"type":20,"tag":87,"props":3739,"children":3740},{"style":773},[3741],{"type":25,"value":968},{"type":20,"tag":87,"props":3743,"children":3744},{"style":94},[3745],{"type":25,"value":1296},{"type":20,"tag":87,"props":3747,"children":3748},{"style":124},[3749],{"type":25,"value":3750},"isFileInput",{"type":20,"tag":87,"props":3752,"children":3753},{"style":94},[3754],{"type":25,"value":264},{"type":20,"tag":87,"props":3756,"children":3757},{"style":773},[3758],{"type":25,"value":968},{"type":20,"tag":87,"props":3760,"children":3761},{"style":94},[3762],{"type":25,"value":3763},".input))\n",{"type":20,"tag":87,"props":3765,"children":3766},{"class":89,"line":1436},[3767],{"type":20,"tag":87,"props":3768,"children":3769},{"style":94},[3770],{"type":25,"value":982},{"type":20,"tag":87,"props":3772,"children":3773},{"class":89,"line":1484},[3774,3778,3782,3786,3791],{"type":20,"tag":87,"props":3775,"children":3776},{"style":773},[3777],{"type":25,"value":991},{"type":20,"tag":87,"props":3779,"children":3780},{"style":94},[3781],{"type":25,"value":3728},{"type":20,"tag":87,"props":3783,"children":3784},{"style":313},[3785],{"type":25,"value":132},{"type":20,"tag":87,"props":3787,"children":3788},{"style":773},[3789],{"type":25,"value":3790}," true",{"type":20,"tag":87,"props":3792,"children":3793},{"style":94},[3794],{"type":25,"value":781},{"type":20,"tag":87,"props":3796,"children":3797},{"class":89,"line":1523},[3798,3802,3807,3811,3815,3819,3823,3827,3831,3835,3839,3843,3847,3851],{"type":20,"tag":87,"props":3799,"children":3800},{"style":773},[3801],{"type":25,"value":991},{"type":20,"tag":87,"props":3803,"children":3804},{"style":94},[3805],{"type":25,"value":3806},".input.",{"type":20,"tag":87,"props":3808,"children":3809},{"style":124},[3810],{"type":25,"value":279},{"type":20,"tag":87,"props":3812,"children":3813},{"style":94},[3814],{"type":25,"value":264},{"type":20,"tag":87,"props":3816,"children":3817},{"style":135},[3818],{"type":25,"value":288},{"type":20,"tag":87,"props":3820,"children":3821},{"style":94},[3822],{"type":25,"value":274},{"type":20,"tag":87,"props":3824,"children":3825},{"style":124},[3826],{"type":25,"value":297},{"type":20,"tag":87,"props":3828,"children":3829},{"style":94},[3830],{"type":25,"value":264},{"type":20,"tag":87,"props":3832,"children":3833},{"style":135},[3834],{"type":25,"value":288},{"type":20,"tag":87,"props":3836,"children":3837},{"style":94},[3838],{"type":25,"value":310},{"type":20,"tag":87,"props":3840,"children":3841},{"style":313},[3842],{"type":25,"value":316},{"type":20,"tag":87,"props":3844,"children":3845},{"style":94},[3846],{"type":25,"value":264},{"type":20,"tag":87,"props":3848,"children":3849},{"style":323},[3850],{"type":25,"value":326},{"type":20,"tag":87,"props":3852,"children":3853},{"style":94},[3854],{"type":25,"value":331},{"type":20,"tag":87,"props":3856,"children":3857},{"class":89,"line":1561},[3858,3863,3867],{"type":20,"tag":87,"props":3859,"children":3860},{"style":94},[3861],{"type":25,"value":3862},"            event ",{"type":20,"tag":87,"props":3864,"children":3865},{"style":313},[3866],{"type":25,"value":132},{"type":20,"tag":87,"props":3868,"children":3869},{"style":94},[3870],{"type":25,"value":348},{"type":20,"tag":87,"props":3872,"children":3873},{"class":89,"line":1599},[3874,3879,3884],{"type":20,"tag":87,"props":3875,"children":3876},{"style":94},[3877],{"type":25,"value":3878},"            that.",{"type":20,"tag":87,"props":3880,"children":3881},{"style":124},[3882],{"type":25,"value":3883},"handleDragover",{"type":20,"tag":87,"props":3885,"children":3886},{"style":94},[3887],{"type":25,"value":3888},"(event);\n",{"type":20,"tag":87,"props":3890,"children":3891},{"class":89,"line":1607},[3892],{"type":20,"tag":87,"props":3893,"children":3894},{"style":94},[3895],{"type":25,"value":3896},"        });\n",{"type":20,"tag":87,"props":3898,"children":3899},{"class":89,"line":1627},[3900],{"type":20,"tag":87,"props":3901,"children":3902},{"style":94},[3903],{"type":25,"value":1080},{"type":20,"tag":87,"props":3905,"children":3906},{"class":89,"line":1635},[3907,3911,3915,3919,3923,3927,3931,3935,3939,3943,3947,3951,3955,3959],{"type":20,"tag":87,"props":3908,"children":3909},{"style":773},[3910],{"type":25,"value":796},{"type":20,"tag":87,"props":3912,"children":3913},{"style":94},[3914],{"type":25,"value":3806},{"type":20,"tag":87,"props":3916,"children":3917},{"style":124},[3918],{"type":25,"value":279},{"type":20,"tag":87,"props":3920,"children":3921},{"style":94},[3922],{"type":25,"value":264},{"type":20,"tag":87,"props":3924,"children":3925},{"style":135},[3926],{"type":25,"value":449},{"type":20,"tag":87,"props":3928,"children":3929},{"style":94},[3930],{"type":25,"value":274},{"type":20,"tag":87,"props":3932,"children":3933},{"style":124},[3934],{"type":25,"value":297},{"type":20,"tag":87,"props":3936,"children":3937},{"style":94},[3938],{"type":25,"value":264},{"type":20,"tag":87,"props":3940,"children":3941},{"style":135},[3942],{"type":25,"value":449},{"type":20,"tag":87,"props":3944,"children":3945},{"style":94},[3946],{"type":25,"value":310},{"type":20,"tag":87,"props":3948,"children":3949},{"style":313},[3950],{"type":25,"value":316},{"type":20,"tag":87,"props":3952,"children":3953},{"style":94},[3954],{"type":25,"value":264},{"type":20,"tag":87,"props":3956,"children":3957},{"style":323},[3958],{"type":25,"value":326},{"type":20,"tag":87,"props":3960,"children":3961},{"style":94},[3962],{"type":25,"value":331},{"type":20,"tag":87,"props":3964,"children":3965},{"class":89,"line":1665},[3966,3971,3975],{"type":20,"tag":87,"props":3967,"children":3968},{"style":94},[3969],{"type":25,"value":3970},"        event ",{"type":20,"tag":87,"props":3972,"children":3973},{"style":313},[3974],{"type":25,"value":132},{"type":20,"tag":87,"props":3976,"children":3977},{"style":94},[3978],{"type":25,"value":348},{"type":20,"tag":87,"props":3980,"children":3981},{"class":89,"line":1754},[3982,3987,3992],{"type":20,"tag":87,"props":3983,"children":3984},{"style":94},[3985],{"type":25,"value":3986},"        that.",{"type":20,"tag":87,"props":3988,"children":3989},{"style":124},[3990],{"type":25,"value":3991},"handleSelect",{"type":20,"tag":87,"props":3993,"children":3994},{"style":94},[3995],{"type":25,"value":3888},{"type":20,"tag":87,"props":3997,"children":3998},{"class":89,"line":1811},[3999],{"type":20,"tag":87,"props":4000,"children":4001},{"style":94},[4002],{"type":25,"value":2915},{"type":20,"tag":87,"props":4004,"children":4005},{"class":89,"line":1819},[4006],{"type":20,"tag":87,"props":4007,"children":4008},{"style":94},[4009],{"type":25,"value":1349},{"type":20,"tag":87,"props":4011,"children":4012},{"class":89,"line":1828},[4013],{"type":20,"tag":87,"props":4014,"children":4015},{"emptyLinePlaceholder":399},[4016],{"type":25,"value":402},{"type":20,"tag":87,"props":4018,"children":4019},{"class":89,"line":1836},[4020],{"type":20,"tag":87,"props":4021,"children":4022},{"style":540},[4023],{"type":25,"value":1366},{"type":20,"tag":87,"props":4025,"children":4026},{"class":89,"line":1881},[4027],{"type":20,"tag":87,"props":4028,"children":4029},{"style":540},[4030],{"type":25,"value":4031}," * Return whether the passed element is an input of type file.\n",{"type":20,"tag":87,"props":4033,"children":4034},{"class":89,"line":1910},[4035,4039,4043,4048],{"type":20,"tag":87,"props":4036,"children":4037},{"style":540},[4038],{"type":25,"value":3356},{"type":20,"tag":87,"props":4040,"children":4041},{"style":313},[4042],{"type":25,"value":655},{"type":20,"tag":87,"props":4044,"children":4045},{"style":94},[4046],{"type":25,"value":4047}," input",{"type":20,"tag":87,"props":4049,"children":4050},{"style":540},[4051],{"type":25,"value":4052}," Element to check.\n",{"type":20,"tag":87,"props":4054,"children":4055},{"class":89,"line":1918},[4056,4060,4064],{"type":20,"tag":87,"props":4057,"children":4058},{"style":540},[4059],{"type":25,"value":3356},{"type":20,"tag":87,"props":4061,"children":4062},{"style":313},[4063],{"type":25,"value":688},{"type":20,"tag":87,"props":4065,"children":4066},{"style":124},[4067],{"type":25,"value":4068}," {boolean}\n",{"type":20,"tag":87,"props":4070,"children":4071},{"class":89,"line":2909},[4072],{"type":20,"tag":87,"props":4073,"children":4074},{"style":540},[4075],{"type":25,"value":1384},{"type":20,"tag":87,"props":4077,"children":4078},{"class":89,"line":2918},[4079,4083,4087,4091,4095,4099,4103,4107,4111,4115],{"type":20,"tag":87,"props":4080,"children":4081},{"style":773},[4082],{"type":25,"value":3379},{"type":20,"tag":87,"props":4084,"children":4085},{"style":94},[4086],{"type":25,"value":1296},{"type":20,"tag":87,"props":4088,"children":4089},{"style":773},[4090],{"type":25,"value":1402},{"type":20,"tag":87,"props":4092,"children":4093},{"style":94},[4094],{"type":25,"value":1296},{"type":20,"tag":87,"props":4096,"children":4097},{"style":124},[4098],{"type":25,"value":3750},{"type":20,"tag":87,"props":4100,"children":4101},{"style":313},[4102],{"type":25,"value":1415},{"type":20,"tag":87,"props":4104,"children":4105},{"style":313},[4106],{"type":25,"value":1420},{"type":20,"tag":87,"props":4108,"children":4109},{"style":94},[4110],{"type":25,"value":264},{"type":20,"tag":87,"props":4112,"children":4113},{"style":323},[4114],{"type":25,"value":121},{"type":20,"tag":87,"props":4116,"children":4117},{"style":94},[4118],{"type":25,"value":331},{"type":20,"tag":87,"props":4120,"children":4121},{"class":89,"line":2926},[4122,4126,4131,4136,4141,4146,4151,4156,4161,4166,4171,4175,4180,4185,4189,4194,4198,4203,4207,4212,4217,4222,4227,4232],{"type":20,"tag":87,"props":4123,"children":4124},{"style":313},[4125],{"type":25,"value":1322},{"type":20,"tag":87,"props":4127,"children":4128},{"style":94},[4129],{"type":25,"value":4130}," (input[",{"type":20,"tag":87,"props":4132,"children":4133},{"style":773},[4134],{"type":25,"value":4135},"0",{"type":20,"tag":87,"props":4137,"children":4138},{"style":94},[4139],{"type":25,"value":4140},"].tagName ",{"type":20,"tag":87,"props":4142,"children":4143},{"style":313},[4144],{"type":25,"value":4145},"===",{"type":20,"tag":87,"props":4147,"children":4148},{"style":135},[4149],{"type":25,"value":4150}," 'INPUT'",{"type":20,"tag":87,"props":4152,"children":4153},{"style":313},[4154],{"type":25,"value":4155}," &",{"type":20,"tag":87,"props":4157,"children":4158},{"style":94},[4159],{"type":25,"value":4160},"amp;amp;",{"type":20,"tag":87,"props":4162,"children":4163},{"style":313},[4164],{"type":25,"value":4165},"&",{"type":20,"tag":87,"props":4167,"children":4168},{"style":94},[4169],{"type":25,"value":4170},"amp;amp; input[",{"type":20,"tag":87,"props":4172,"children":4173},{"style":773},[4174],{"type":25,"value":4135},{"type":20,"tag":87,"props":4176,"children":4177},{"style":94},[4178],{"type":25,"value":4179},"].",{"type":20,"tag":87,"props":4181,"children":4182},{"style":124},[4183],{"type":25,"value":4184},"getAttribute",{"type":20,"tag":87,"props":4186,"children":4187},{"style":94},[4188],{"type":25,"value":264},{"type":20,"tag":87,"props":4190,"children":4191},{"style":135},[4192],{"type":25,"value":4193},"'type'",{"type":20,"tag":87,"props":4195,"children":4196},{"style":94},[4197],{"type":25,"value":274},{"type":20,"tag":87,"props":4199,"children":4200},{"style":124},[4201],{"type":25,"value":4202},"indexOf",{"type":20,"tag":87,"props":4204,"children":4205},{"style":94},[4206],{"type":25,"value":264},{"type":20,"tag":87,"props":4208,"children":4209},{"style":135},[4210],{"type":25,"value":4211},"'file'",{"type":20,"tag":87,"props":4213,"children":4214},{"style":94},[4215],{"type":25,"value":4216},") ",{"type":20,"tag":87,"props":4218,"children":4219},{"style":313},[4220],{"type":25,"value":4221},"!==",{"type":20,"tag":87,"props":4223,"children":4224},{"style":313},[4225],{"type":25,"value":4226}," -",{"type":20,"tag":87,"props":4228,"children":4229},{"style":773},[4230],{"type":25,"value":4231},"1",{"type":20,"tag":87,"props":4233,"children":4234},{"style":94},[4235],{"type":25,"value":1148},{"type":20,"tag":87,"props":4237,"children":4238},{"class":89,"line":2971},[4239],{"type":20,"tag":87,"props":4240,"children":4241},{"style":94},[4242],{"type":25,"value":3087},{"type":20,"tag":87,"props":4244,"children":4245},{"class":89,"line":3004},[4246],{"type":20,"tag":87,"props":4247,"children":4248},{"emptyLinePlaceholder":399},[4249],{"type":25,"value":402},{"type":20,"tag":87,"props":4251,"children":4252},{"class":89,"line":3012},[4253],{"type":20,"tag":87,"props":4254,"children":4255},{"style":540},[4256],{"type":25,"value":1366},{"type":20,"tag":87,"props":4258,"children":4259},{"class":89,"line":3039},[4260],{"type":20,"tag":87,"props":4261,"children":4262},{"style":540},[4263],{"type":25,"value":4264}," * Handle the dragging of file(s) to a target, preventing the rejection of the dragover.\n",{"type":20,"tag":87,"props":4266,"children":4267},{"class":89,"line":3048},[4268,4272,4276],{"type":20,"tag":87,"props":4269,"children":4270},{"style":540},[4271],{"type":25,"value":3356},{"type":20,"tag":87,"props":4273,"children":4274},{"style":313},[4275],{"type":25,"value":655},{"type":20,"tag":87,"props":4277,"children":4278},{"style":94},[4279],{"type":25,"value":4280}," event\n",{"type":20,"tag":87,"props":4282,"children":4283},{"class":89,"line":3057},[4284],{"type":20,"tag":87,"props":4285,"children":4286},{"style":540},[4287],{"type":25,"value":1384},{"type":20,"tag":87,"props":4289,"children":4290},{"class":89,"line":3065},[4291,4295,4299,4303,4307,4311,4315,4319,4323,4327],{"type":20,"tag":87,"props":4292,"children":4293},{"style":773},[4294],{"type":25,"value":3379},{"type":20,"tag":87,"props":4296,"children":4297},{"style":94},[4298],{"type":25,"value":1296},{"type":20,"tag":87,"props":4300,"children":4301},{"style":773},[4302],{"type":25,"value":1402},{"type":20,"tag":87,"props":4304,"children":4305},{"style":94},[4306],{"type":25,"value":1296},{"type":20,"tag":87,"props":4308,"children":4309},{"style":124},[4310],{"type":25,"value":3883},{"type":20,"tag":87,"props":4312,"children":4313},{"style":313},[4314],{"type":25,"value":1415},{"type":20,"tag":87,"props":4316,"children":4317},{"style":313},[4318],{"type":25,"value":1420},{"type":20,"tag":87,"props":4320,"children":4321},{"style":94},[4322],{"type":25,"value":264},{"type":20,"tag":87,"props":4324,"children":4325},{"style":323},[4326],{"type":25,"value":326},{"type":20,"tag":87,"props":4328,"children":4329},{"style":94},[4330],{"type":25,"value":331},{"type":20,"tag":87,"props":4332,"children":4333},{"class":89,"line":3081},[4334,4338,4342],{"type":20,"tag":87,"props":4335,"children":4336},{"style":94},[4337],{"type":25,"value":356},{"type":20,"tag":87,"props":4339,"children":4340},{"style":124},[4341],{"type":25,"value":361},{"type":20,"tag":87,"props":4343,"children":4344},{"style":94},[4345],{"type":25,"value":366},{"type":20,"tag":87,"props":4347,"children":4349},{"class":89,"line":4348},66,[4350,4354,4358],{"type":20,"tag":87,"props":4351,"children":4352},{"style":94},[4353],{"type":25,"value":356},{"type":20,"tag":87,"props":4355,"children":4356},{"style":124},[4357],{"type":25,"value":379},{"type":20,"tag":87,"props":4359,"children":4360},{"style":94},[4361],{"type":25,"value":366},{"type":20,"tag":87,"props":4363,"children":4365},{"class":89,"line":4364},67,[4366,4371,4375,4380],{"type":20,"tag":87,"props":4367,"children":4368},{"style":94},[4369],{"type":25,"value":4370},"    event.dataTransfer.dropEffect ",{"type":20,"tag":87,"props":4372,"children":4373},{"style":313},[4374],{"type":25,"value":132},{"type":20,"tag":87,"props":4376,"children":4377},{"style":135},[4378],{"type":25,"value":4379}," 'copy'",{"type":20,"tag":87,"props":4381,"children":4382},{"style":94},[4383],{"type":25,"value":781},{"type":20,"tag":87,"props":4385,"children":4387},{"class":89,"line":4386},68,[4388],{"type":20,"tag":87,"props":4389,"children":4390},{"style":94},[4391],{"type":25,"value":3087},{"type":20,"tag":87,"props":4393,"children":4395},{"class":89,"line":4394},69,[4396],{"type":20,"tag":87,"props":4397,"children":4398},{"emptyLinePlaceholder":399},[4399],{"type":25,"value":402},{"type":20,"tag":87,"props":4401,"children":4403},{"class":89,"line":4402},70,[4404],{"type":20,"tag":87,"props":4405,"children":4406},{"style":540},[4407],{"type":25,"value":1366},{"type":20,"tag":87,"props":4409,"children":4411},{"class":89,"line":4410},71,[4412],{"type":20,"tag":87,"props":4413,"children":4414},{"style":540},[4415],{"type":25,"value":4416}," * Handle the selection of files to upload via an input or drag and drop to a target.\n",{"type":20,"tag":87,"props":4418,"children":4420},{"class":89,"line":4419},72,[4421,4425,4429],{"type":20,"tag":87,"props":4422,"children":4423},{"style":540},[4424],{"type":25,"value":3356},{"type":20,"tag":87,"props":4426,"children":4427},{"style":313},[4428],{"type":25,"value":655},{"type":20,"tag":87,"props":4430,"children":4431},{"style":94},[4432],{"type":25,"value":4280},{"type":20,"tag":87,"props":4434,"children":4436},{"class":89,"line":4435},73,[4437],{"type":20,"tag":87,"props":4438,"children":4439},{"style":540},[4440],{"type":25,"value":1384},{"type":20,"tag":87,"props":4442,"children":4444},{"class":89,"line":4443},74,[4445,4449,4453,4457,4461,4465,4469,4473,4477,4481],{"type":20,"tag":87,"props":4446,"children":4447},{"style":773},[4448],{"type":25,"value":3379},{"type":20,"tag":87,"props":4450,"children":4451},{"style":94},[4452],{"type":25,"value":1296},{"type":20,"tag":87,"props":4454,"children":4455},{"style":773},[4456],{"type":25,"value":1402},{"type":20,"tag":87,"props":4458,"children":4459},{"style":94},[4460],{"type":25,"value":1296},{"type":20,"tag":87,"props":4462,"children":4463},{"style":124},[4464],{"type":25,"value":3991},{"type":20,"tag":87,"props":4466,"children":4467},{"style":313},[4468],{"type":25,"value":1415},{"type":20,"tag":87,"props":4470,"children":4471},{"style":313},[4472],{"type":25,"value":1420},{"type":20,"tag":87,"props":4474,"children":4475},{"style":94},[4476],{"type":25,"value":264},{"type":20,"tag":87,"props":4478,"children":4479},{"style":323},[4480],{"type":25,"value":326},{"type":20,"tag":87,"props":4482,"children":4483},{"style":94},[4484],{"type":25,"value":331},{"type":20,"tag":87,"props":4486,"children":4488},{"class":89,"line":4487},75,[4489,4493],{"type":20,"tag":87,"props":4490,"children":4491},{"style":313},[4492],{"type":25,"value":2361},{"type":20,"tag":87,"props":4494,"children":4495},{"style":94},[4496],{"type":25,"value":416},{"type":20,"tag":87,"props":4498,"children":4500},{"class":89,"line":4499},76,[4501],{"type":20,"tag":87,"props":4502,"children":4503},{"emptyLinePlaceholder":399},[4504],{"type":25,"value":402},{"type":20,"tag":87,"props":4506,"children":4508},{"class":89,"line":4507},77,[4509,4513,4517,4521],{"type":20,"tag":87,"props":4510,"children":4511},{"style":313},[4512],{"type":25,"value":958},{"type":20,"tag":87,"props":4514,"children":4515},{"style":94},[4516],{"type":25,"value":963},{"type":20,"tag":87,"props":4518,"children":4519},{"style":773},[4520],{"type":25,"value":968},{"type":20,"tag":87,"props":4522,"children":4523},{"style":94},[4524],{"type":25,"value":4525},".options.make_dnd)\n",{"type":20,"tag":87,"props":4527,"children":4529},{"class":89,"line":4528},78,[4530],{"type":20,"tag":87,"props":4531,"children":4532},{"style":94},[4533],{"type":25,"value":982},{"type":20,"tag":87,"props":4535,"children":4537},{"class":89,"line":4536},79,[4538,4543,4547],{"type":20,"tag":87,"props":4539,"children":4540},{"style":94},[4541],{"type":25,"value":4542},"        event.",{"type":20,"tag":87,"props":4544,"children":4545},{"style":124},[4546],{"type":25,"value":361},{"type":20,"tag":87,"props":4548,"children":4549},{"style":94},[4550],{"type":25,"value":366},{"type":20,"tag":87,"props":4552,"children":4554},{"class":89,"line":4553},80,[4555,4559,4563],{"type":20,"tag":87,"props":4556,"children":4557},{"style":94},[4558],{"type":25,"value":4542},{"type":20,"tag":87,"props":4560,"children":4561},{"style":124},[4562],{"type":25,"value":379},{"type":20,"tag":87,"props":4564,"children":4565},{"style":94},[4566],{"type":25,"value":366},{"type":20,"tag":87,"props":4568,"children":4570},{"class":89,"line":4569},81,[4571,4576,4580],{"type":20,"tag":87,"props":4572,"children":4573},{"style":94},[4574],{"type":25,"value":4575},"        files ",{"type":20,"tag":87,"props":4577,"children":4578},{"style":313},[4579],{"type":25,"value":132},{"type":20,"tag":87,"props":4581,"children":4582},{"style":94},[4583],{"type":25,"value":561},{"type":20,"tag":87,"props":4585,"children":4587},{"class":89,"line":4586},82,[4588],{"type":20,"tag":87,"props":4589,"children":4590},{"style":94},[4591],{"type":25,"value":1080},{"type":20,"tag":87,"props":4593,"children":4595},{"class":89,"line":4594},83,[4596],{"type":20,"tag":87,"props":4597,"children":4598},{"style":313},[4599],{"type":25,"value":1825},{"type":20,"tag":87,"props":4601,"children":4603},{"class":89,"line":4602},84,[4604],{"type":20,"tag":87,"props":4605,"children":4606},{"style":94},[4607],{"type":25,"value":982},{"type":20,"tag":87,"props":4609,"children":4611},{"class":89,"line":4610},85,[4612,4616,4620],{"type":20,"tag":87,"props":4613,"children":4614},{"style":94},[4615],{"type":25,"value":4575},{"type":20,"tag":87,"props":4617,"children":4618},{"style":313},[4619],{"type":25,"value":132},{"type":20,"tag":87,"props":4621,"children":4622},{"style":94},[4623],{"type":25,"value":587},{"type":20,"tag":87,"props":4625,"children":4627},{"class":89,"line":4626},86,[4628],{"type":20,"tag":87,"props":4629,"children":4630},{"style":94},[4631],{"type":25,"value":1080},{"type":20,"tag":87,"props":4633,"children":4635},{"class":89,"line":4634},87,[4636,4640,4644,4649,4654,4659],{"type":20,"tag":87,"props":4637,"children":4638},{"style":313},[4639],{"type":25,"value":958},{"type":20,"tag":87,"props":4641,"children":4642},{"style":94},[4643],{"type":25,"value":963},{"type":20,"tag":87,"props":4645,"children":4646},{"style":313},[4647],{"type":25,"value":4648},"!",{"type":20,"tag":87,"props":4650,"children":4651},{"style":94},[4652],{"type":25,"value":4653},"files.",{"type":20,"tag":87,"props":4655,"children":4656},{"style":773},[4657],{"type":25,"value":4658},"length",{"type":20,"tag":87,"props":4660,"children":4661},{"style":94},[4662],{"type":25,"value":3001},{"type":20,"tag":87,"props":4664,"children":4666},{"class":89,"line":4665},88,[4667],{"type":20,"tag":87,"props":4668,"children":4669},{"style":94},[4670],{"type":25,"value":982},{"type":20,"tag":87,"props":4672,"children":4674},{"class":89,"line":4673},89,[4675,4679,4683,4688,4693,4698,4703,4707],{"type":20,"tag":87,"props":4676,"children":4677},{"style":773},[4678],{"type":25,"value":991},{"type":20,"tag":87,"props":4680,"children":4681},{"style":94},[4682],{"type":25,"value":3806},{"type":20,"tag":87,"props":4684,"children":4685},{"style":124},[4686],{"type":25,"value":4687},"trigger",{"type":20,"tag":87,"props":4689,"children":4690},{"style":94},[4691],{"type":25,"value":4692},"(Hup.state.",{"type":20,"tag":87,"props":4694,"children":4695},{"style":773},[4696],{"type":25,"value":4697},"FILE_LIST_ERROR",{"type":20,"tag":87,"props":4699,"children":4700},{"style":94},[4701],{"type":25,"value":4702},", {state:Hup.state.",{"type":20,"tag":87,"props":4704,"children":4705},{"style":773},[4706],{"type":25,"value":4697},{"type":20,"tag":87,"props":4708,"children":4709},{"style":94},[4710],{"type":25,"value":3036},{"type":20,"tag":87,"props":4712,"children":4714},{"class":89,"line":4713},90,[4715,4720,4725],{"type":20,"tag":87,"props":4716,"children":4717},{"style":94},[4718],{"type":25,"value":4719},"            error:",{"type":20,"tag":87,"props":4721,"children":4722},{"style":135},[4723],{"type":25,"value":4724},"'No files found in file list; no files were selected.'",{"type":20,"tag":87,"props":4726,"children":4727},{"style":94},[4728],{"type":25,"value":392},{"type":20,"tag":87,"props":4730,"children":4732},{"class":89,"line":4731},91,[4733,4738],{"type":20,"tag":87,"props":4734,"children":4735},{"style":313},[4736],{"type":25,"value":4737},"        return",{"type":20,"tag":87,"props":4739,"children":4740},{"style":94},[4741],{"type":25,"value":781},{"type":20,"tag":87,"props":4743,"children":4745},{"class":89,"line":4744},92,[4746],{"type":20,"tag":87,"props":4747,"children":4748},{"style":94},[4749],{"type":25,"value":1080},{"type":20,"tag":87,"props":4751,"children":4753},{"class":89,"line":4752},93,[4754,4758,4762,4766,4770,4775,4779,4783],{"type":20,"tag":87,"props":4755,"children":4756},{"style":773},[4757],{"type":25,"value":796},{"type":20,"tag":87,"props":4759,"children":4760},{"style":94},[4761],{"type":25,"value":3806},{"type":20,"tag":87,"props":4763,"children":4764},{"style":124},[4765],{"type":25,"value":4687},{"type":20,"tag":87,"props":4767,"children":4768},{"style":94},[4769],{"type":25,"value":4692},{"type":20,"tag":87,"props":4771,"children":4772},{"style":773},[4773],{"type":25,"value":4774},"FILE_LIST_LOADED",{"type":20,"tag":87,"props":4776,"children":4777},{"style":94},[4778],{"type":25,"value":4702},{"type":20,"tag":87,"props":4780,"children":4781},{"style":773},[4782],{"type":25,"value":4774},{"type":20,"tag":87,"props":4784,"children":4785},{"style":94},[4786],{"type":25,"value":4787},", files:files});\n",{"type":20,"tag":87,"props":4789,"children":4791},{"class":89,"line":4790},94,[4792],{"type":20,"tag":87,"props":4793,"children":4794},{"emptyLinePlaceholder":399},[4795],{"type":25,"value":402},{"type":20,"tag":87,"props":4797,"children":4799},{"class":89,"line":4798},95,[4800,4804,4808,4813,4818,4822],{"type":20,"tag":87,"props":4801,"children":4802},{"style":773},[4803],{"type":25,"value":796},{"type":20,"tag":87,"props":4805,"children":4806},{"style":94},[4807],{"type":25,"value":1296},{"type":20,"tag":87,"props":4809,"children":4810},{"style":124},[4811],{"type":25,"value":4812},"processFiles",{"type":20,"tag":87,"props":4814,"children":4815},{"style":94},[4816],{"type":25,"value":4817},"(files, ",{"type":20,"tag":87,"props":4819,"children":4820},{"style":773},[4821],{"type":25,"value":968},{"type":20,"tag":87,"props":4823,"children":4824},{"style":94},[4825],{"type":25,"value":4826},".options.url);\n",{"type":20,"tag":87,"props":4828,"children":4830},{"class":89,"line":4829},96,[4831],{"type":20,"tag":87,"props":4832,"children":4833},{"style":94},[4834],{"type":25,"value":3087},{"type":20,"tag":87,"props":4836,"children":4838},{"class":89,"line":4837},97,[4839],{"type":20,"tag":87,"props":4840,"children":4841},{"emptyLinePlaceholder":399},[4842],{"type":25,"value":402},{"type":20,"tag":87,"props":4844,"children":4846},{"class":89,"line":4845},98,[4847],{"type":20,"tag":87,"props":4848,"children":4849},{"style":540},[4850],{"type":25,"value":1366},{"type":20,"tag":87,"props":4852,"children":4854},{"class":89,"line":4853},99,[4855],{"type":20,"tag":87,"props":4856,"children":4857},{"style":540},[4858],{"type":25,"value":4859}," * Process the files in the fileList, uploading them if a url is specified, otherwise reading them into\n",{"type":20,"tag":87,"props":4861,"children":4863},{"class":89,"line":4862},100,[4864],{"type":20,"tag":87,"props":4865,"children":4866},{"style":540},[4867],{"type":25,"value":4868}," * memory and passing them on to be used in the browser.\n",{"type":20,"tag":87,"props":4870,"children":4872},{"class":89,"line":4871},101,[4873,4877,4881],{"type":20,"tag":87,"props":4874,"children":4875},{"style":540},[4876],{"type":25,"value":3356},{"type":20,"tag":87,"props":4878,"children":4879},{"style":313},[4880],{"type":25,"value":655},{"type":20,"tag":87,"props":4882,"children":4883},{"style":94},[4884],{"type":25,"value":4885}," files\n",{"type":20,"tag":87,"props":4887,"children":4889},{"class":89,"line":4888},102,[4890,4894,4898],{"type":20,"tag":87,"props":4891,"children":4892},{"style":540},[4893],{"type":25,"value":3356},{"type":20,"tag":87,"props":4895,"children":4896},{"style":313},[4897],{"type":25,"value":655},{"type":20,"tag":87,"props":4899,"children":4900},{"style":94},[4901],{"type":25,"value":4902}," upload\n",{"type":20,"tag":87,"props":4904,"children":4906},{"class":89,"line":4905},103,[4907],{"type":20,"tag":87,"props":4908,"children":4909},{"style":540},[4910],{"type":25,"value":1384},{"type":20,"tag":87,"props":4912,"children":4914},{"class":89,"line":4913},104,[4915,4919,4923,4927,4931,4935,4939,4943,4947,4952,4956,4960],{"type":20,"tag":87,"props":4916,"children":4917},{"style":773},[4918],{"type":25,"value":3379},{"type":20,"tag":87,"props":4920,"children":4921},{"style":94},[4922],{"type":25,"value":1296},{"type":20,"tag":87,"props":4924,"children":4925},{"style":773},[4926],{"type":25,"value":1402},{"type":20,"tag":87,"props":4928,"children":4929},{"style":94},[4930],{"type":25,"value":1296},{"type":20,"tag":87,"props":4932,"children":4933},{"style":124},[4934],{"type":25,"value":4812},{"type":20,"tag":87,"props":4936,"children":4937},{"style":313},[4938],{"type":25,"value":1415},{"type":20,"tag":87,"props":4940,"children":4941},{"style":313},[4942],{"type":25,"value":1420},{"type":20,"tag":87,"props":4944,"children":4945},{"style":94},[4946],{"type":25,"value":264},{"type":20,"tag":87,"props":4948,"children":4949},{"style":323},[4950],{"type":25,"value":4951},"files",{"type":20,"tag":87,"props":4953,"children":4954},{"style":94},[4955],{"type":25,"value":310},{"type":20,"tag":87,"props":4957,"children":4958},{"style":323},[4959],{"type":25,"value":1301},{"type":20,"tag":87,"props":4961,"children":4962},{"style":94},[4963],{"type":25,"value":331},{"type":20,"tag":87,"props":4965,"children":4967},{"class":89,"line":4966},105,[4968,4972,4976,4980,4984],{"type":20,"tag":87,"props":4969,"children":4970},{"style":313},[4971],{"type":25,"value":2361},{"type":20,"tag":87,"props":4973,"children":4974},{"style":94},[4975],{"type":25,"value":766},{"type":20,"tag":87,"props":4977,"children":4978},{"style":313},[4979],{"type":25,"value":132},{"type":20,"tag":87,"props":4981,"children":4982},{"style":773},[4983],{"type":25,"value":776},{"type":20,"tag":87,"props":4985,"children":4986},{"style":94},[4987],{"type":25,"value":3036},{"type":20,"tag":87,"props":4989,"children":4991},{"class":89,"line":4990},106,[4992,4997,5001,5005],{"type":20,"tag":87,"props":4993,"children":4994},{"style":94},[4995],{"type":25,"value":4996},"        processed ",{"type":20,"tag":87,"props":4998,"children":4999},{"style":313},[5000],{"type":25,"value":132},{"type":20,"tag":87,"props":5002,"children":5003},{"style":773},[5004],{"type":25,"value":907},{"type":20,"tag":87,"props":5006,"children":5007},{"style":94},[5008],{"type":25,"value":781},{"type":20,"tag":87,"props":5010,"children":5012},{"class":89,"line":5011},107,[5013],{"type":20,"tag":87,"props":5014,"children":5015},{"emptyLinePlaceholder":399},[5016],{"type":25,"value":402},{"type":20,"tag":87,"props":5018,"children":5020},{"class":89,"line":5019},108,[5021,5026,5030,5034,5039,5043,5047,5052,5056,5061,5065,5070,5074,5079,5084],{"type":20,"tag":87,"props":5022,"children":5023},{"style":313},[5024],{"type":25,"value":5025},"    for",{"type":20,"tag":87,"props":5027,"children":5028},{"style":94},[5029],{"type":25,"value":963},{"type":20,"tag":87,"props":5031,"children":5032},{"style":313},[5033],{"type":25,"value":411},{"type":20,"tag":87,"props":5035,"children":5036},{"style":94},[5037],{"type":25,"value":5038}," i",{"type":20,"tag":87,"props":5040,"children":5041},{"style":313},[5042],{"type":25,"value":132},{"type":20,"tag":87,"props":5044,"children":5045},{"style":773},[5046],{"type":25,"value":4135},{"type":20,"tag":87,"props":5048,"children":5049},{"style":94},[5050],{"type":25,"value":5051},", len ",{"type":20,"tag":87,"props":5053,"children":5054},{"style":313},[5055],{"type":25,"value":132},{"type":20,"tag":87,"props":5057,"children":5058},{"style":94},[5059],{"type":25,"value":5060}," files.",{"type":20,"tag":87,"props":5062,"children":5063},{"style":773},[5064],{"type":25,"value":4658},{"type":20,"tag":87,"props":5066,"children":5067},{"style":94},[5068],{"type":25,"value":5069},"; i ",{"type":20,"tag":87,"props":5071,"children":5072},{"style":313},[5073],{"type":25,"value":4165},{"type":20,"tag":87,"props":5075,"children":5076},{"style":94},[5077],{"type":25,"value":5078},"amp;lt; len; i",{"type":20,"tag":87,"props":5080,"children":5081},{"style":313},[5082],{"type":25,"value":5083},"++",{"type":20,"tag":87,"props":5085,"children":5086},{"style":94},[5087],{"type":25,"value":3001},{"type":20,"tag":87,"props":5089,"children":5091},{"class":89,"line":5090},109,[5092],{"type":20,"tag":87,"props":5093,"children":5094},{"style":94},[5095],{"type":25,"value":982},{"type":20,"tag":87,"props":5097,"children":5099},{"class":89,"line":5098},110,[5100,5104,5109,5113,5118,5123,5127,5131,5135,5139,5144],{"type":20,"tag":87,"props":5101,"children":5102},{"style":313},[5103],{"type":25,"value":761},{"type":20,"tag":87,"props":5105,"children":5106},{"style":94},[5107],{"type":25,"value":5108}," fprocess ",{"type":20,"tag":87,"props":5110,"children":5111},{"style":313},[5112],{"type":25,"value":132},{"type":20,"tag":87,"props":5114,"children":5115},{"style":94},[5116],{"type":25,"value":5117}," (upload) ",{"type":20,"tag":87,"props":5119,"children":5120},{"style":313},[5121],{"type":25,"value":5122},"?",{"type":20,"tag":87,"props":5124,"children":5125},{"style":313},[5126],{"type":25,"value":932},{"type":20,"tag":87,"props":5128,"children":5129},{"style":124},[5130],{"type":25,"value":731},{"type":20,"tag":87,"props":5132,"children":5133},{"style":94},[5134],{"type":25,"value":264},{"type":20,"tag":87,"props":5136,"children":5137},{"style":773},[5138],{"type":25,"value":968},{"type":20,"tag":87,"props":5140,"children":5141},{"style":94},[5142],{"type":25,"value":5143},".options, files[i]) ",{"type":20,"tag":87,"props":5145,"children":5146},{"style":313},[5147],{"type":25,"value":2553},{"type":20,"tag":87,"props":5149,"children":5151},{"class":89,"line":5150},111,[5152,5157,5161,5165,5169],{"type":20,"tag":87,"props":5153,"children":5154},{"style":313},[5155],{"type":25,"value":5156},"            new",{"type":20,"tag":87,"props":5158,"children":5159},{"style":124},[5160],{"type":25,"value":2087},{"type":20,"tag":87,"props":5162,"children":5163},{"style":94},[5164],{"type":25,"value":264},{"type":20,"tag":87,"props":5166,"children":5167},{"style":773},[5168],{"type":25,"value":968},{"type":20,"tag":87,"props":5170,"children":5171},{"style":94},[5172],{"type":25,"value":5173},".options.read_method, files[i]);\n",{"type":20,"tag":87,"props":5175,"children":5177},{"class":89,"line":5176},112,[5178],{"type":20,"tag":87,"props":5179,"children":5180},{"emptyLinePlaceholder":399},[5181],{"type":25,"value":402},{"type":20,"tag":87,"props":5183,"children":5185},{"class":89,"line":5184},113,[5186,5191,5196,5200,5204,5208,5212],{"type":20,"tag":87,"props":5187,"children":5188},{"style":94},[5189],{"type":25,"value":5190},"        fprocess.",{"type":20,"tag":87,"props":5192,"children":5193},{"style":124},[5194],{"type":25,"value":5195},"progress",{"type":20,"tag":87,"props":5197,"children":5198},{"style":94},[5199],{"type":25,"value":264},{"type":20,"tag":87,"props":5201,"children":5202},{"style":313},[5203],{"type":25,"value":316},{"type":20,"tag":87,"props":5205,"children":5206},{"style":94},[5207],{"type":25,"value":264},{"type":20,"tag":87,"props":5209,"children":5210},{"style":323},[5211],{"type":25,"value":5195},{"type":20,"tag":87,"props":5213,"children":5214},{"style":94},[5215],{"type":25,"value":331},{"type":20,"tag":87,"props":5217,"children":5219},{"class":89,"line":5218},114,[5220,5225,5229],{"type":20,"tag":87,"props":5221,"children":5222},{"style":94},[5223],{"type":25,"value":5224},"            that.input.",{"type":20,"tag":87,"props":5226,"children":5227},{"style":124},[5228],{"type":25,"value":4687},{"type":20,"tag":87,"props":5230,"children":5231},{"style":94},[5232],{"type":25,"value":5233},"(progress.state, progress);\n",{"type":20,"tag":87,"props":5235,"children":5237},{"class":89,"line":5236},115,[5238,5243,5248,5252,5256,5260,5265],{"type":20,"tag":87,"props":5239,"children":5240},{"style":94},[5241],{"type":25,"value":5242},"        }).",{"type":20,"tag":87,"props":5244,"children":5245},{"style":124},[5246],{"type":25,"value":5247},"done",{"type":20,"tag":87,"props":5249,"children":5250},{"style":94},[5251],{"type":25,"value":264},{"type":20,"tag":87,"props":5253,"children":5254},{"style":313},[5255],{"type":25,"value":316},{"type":20,"tag":87,"props":5257,"children":5258},{"style":94},[5259],{"type":25,"value":264},{"type":20,"tag":87,"props":5261,"children":5262},{"style":323},[5263],{"type":25,"value":5264},"res",{"type":20,"tag":87,"props":5266,"children":5267},{"style":94},[5268],{"type":25,"value":331},{"type":20,"tag":87,"props":5270,"children":5272},{"class":89,"line":5271},116,[5273,5277,5281],{"type":20,"tag":87,"props":5274,"children":5275},{"style":94},[5276],{"type":25,"value":5224},{"type":20,"tag":87,"props":5278,"children":5279},{"style":124},[5280],{"type":25,"value":4687},{"type":20,"tag":87,"props":5282,"children":5283},{"style":94},[5284],{"type":25,"value":5285},"(res.state, res);\n",{"type":20,"tag":87,"props":5287,"children":5289},{"class":89,"line":5288},117,[5290,5295,5299],{"type":20,"tag":87,"props":5291,"children":5292},{"style":94},[5293],{"type":25,"value":5294},"            processed",{"type":20,"tag":87,"props":5296,"children":5297},{"style":313},[5298],{"type":25,"value":5083},{"type":20,"tag":87,"props":5300,"children":5301},{"style":94},[5302],{"type":25,"value":781},{"type":20,"tag":87,"props":5304,"children":5306},{"class":89,"line":5305},118,[5307,5312,5317,5321],{"type":20,"tag":87,"props":5308,"children":5309},{"style":313},[5310],{"type":25,"value":5311},"            if",{"type":20,"tag":87,"props":5313,"children":5314},{"style":94},[5315],{"type":25,"value":5316}," (processed ",{"type":20,"tag":87,"props":5318,"children":5319},{"style":313},[5320],{"type":25,"value":2986},{"type":20,"tag":87,"props":5322,"children":5323},{"style":94},[5324],{"type":25,"value":5325}," len)\n",{"type":20,"tag":87,"props":5327,"children":5329},{"class":89,"line":5328},119,[5330,5335,5339,5344,5348,5353,5358,5363,5367,5372],{"type":20,"tag":87,"props":5331,"children":5332},{"style":94},[5333],{"type":25,"value":5334},"                that.input.",{"type":20,"tag":87,"props":5336,"children":5337},{"style":124},[5338],{"type":25,"value":4687},{"type":20,"tag":87,"props":5340,"children":5341},{"style":94},[5342],{"type":25,"value":5343},"((upload) ",{"type":20,"tag":87,"props":5345,"children":5346},{"style":313},[5347],{"type":25,"value":5122},{"type":20,"tag":87,"props":5349,"children":5350},{"style":94},[5351],{"type":25,"value":5352}," Hup.state.",{"type":20,"tag":87,"props":5354,"children":5355},{"style":773},[5356],{"type":25,"value":5357},"FILE_UPLOAD_ALL",{"type":20,"tag":87,"props":5359,"children":5360},{"style":313},[5361],{"type":25,"value":5362}," :",{"type":20,"tag":87,"props":5364,"children":5365},{"style":94},[5366],{"type":25,"value":5352},{"type":20,"tag":87,"props":5368,"children":5369},{"style":773},[5370],{"type":25,"value":5371},"FILE_READ_ALL",{"type":20,"tag":87,"props":5373,"children":5374},{"style":94},[5375],{"type":25,"value":5376}," ,\n",{"type":20,"tag":87,"props":5378,"children":5380},{"class":89,"line":5379},120,[5381,5386,5390,5394,5398,5402,5406,5410],{"type":20,"tag":87,"props":5382,"children":5383},{"style":94},[5384],{"type":25,"value":5385},"                    {state:(upload) ",{"type":20,"tag":87,"props":5387,"children":5388},{"style":313},[5389],{"type":25,"value":5122},{"type":20,"tag":87,"props":5391,"children":5392},{"style":94},[5393],{"type":25,"value":5352},{"type":20,"tag":87,"props":5395,"children":5396},{"style":773},[5397],{"type":25,"value":5357},{"type":20,"tag":87,"props":5399,"children":5400},{"style":313},[5401],{"type":25,"value":5362},{"type":20,"tag":87,"props":5403,"children":5404},{"style":94},[5405],{"type":25,"value":5352},{"type":20,"tag":87,"props":5407,"children":5408},{"style":773},[5409],{"type":25,"value":5371},{"type":20,"tag":87,"props":5411,"children":5412},{"style":94},[5413],{"type":25,"value":5414},", files:len});\n",{"type":20,"tag":87,"props":5416,"children":5418},{"class":89,"line":5417},121,[5419,5423,5428,5432,5436,5440,5444],{"type":20,"tag":87,"props":5420,"children":5421},{"style":94},[5422],{"type":25,"value":5242},{"type":20,"tag":87,"props":5424,"children":5425},{"style":124},[5426],{"type":25,"value":5427},"fail",{"type":20,"tag":87,"props":5429,"children":5430},{"style":94},[5431],{"type":25,"value":264},{"type":20,"tag":87,"props":5433,"children":5434},{"style":313},[5435],{"type":25,"value":316},{"type":20,"tag":87,"props":5437,"children":5438},{"style":94},[5439],{"type":25,"value":264},{"type":20,"tag":87,"props":5441,"children":5442},{"style":323},[5443],{"type":25,"value":5264},{"type":20,"tag":87,"props":5445,"children":5446},{"style":94},[5447],{"type":25,"value":3001},{"type":20,"tag":87,"props":5449,"children":5451},{"class":89,"line":5450},122,[5452],{"type":20,"tag":87,"props":5453,"children":5454},{"style":94},[5455],{"type":25,"value":2530},{"type":20,"tag":87,"props":5457,"children":5459},{"class":89,"line":5458},123,[5460,5464,5468],{"type":20,"tag":87,"props":5461,"children":5462},{"style":94},[5463],{"type":25,"value":5224},{"type":20,"tag":87,"props":5465,"children":5466},{"style":124},[5467],{"type":25,"value":4687},{"type":20,"tag":87,"props":5469,"children":5470},{"style":94},[5471],{"type":25,"value":5285},{"type":20,"tag":87,"props":5473,"children":5475},{"class":89,"line":5474},124,[5476],{"type":20,"tag":87,"props":5477,"children":5478},{"style":94},[5479],{"type":25,"value":3896},{"type":20,"tag":87,"props":5481,"children":5483},{"class":89,"line":5482},125,[5484],{"type":20,"tag":87,"props":5485,"children":5486},{"style":94},[5487],{"type":25,"value":1080},{"type":20,"tag":87,"props":5489,"children":5491},{"class":89,"line":5490},126,[5492],{"type":20,"tag":87,"props":5493,"children":5494},{"style":94},[5495],{"type":25,"value":3087},{"type":20,"tag":87,"props":5497,"children":5499},{"class":89,"line":5498},127,[5500],{"type":20,"tag":87,"props":5501,"children":5502},{"emptyLinePlaceholder":399},[5503],{"type":25,"value":402},{"type":20,"tag":87,"props":5505,"children":5507},{"class":89,"line":5506},128,[5508],{"type":20,"tag":87,"props":5509,"children":5510},{"style":540},[5511],{"type":25,"value":1366},{"type":20,"tag":87,"props":5513,"children":5515},{"class":89,"line":5514},129,[5516],{"type":20,"tag":87,"props":5517,"children":5518},{"style":540},[5519],{"type":25,"value":5520}," * Custom events we'll trigger on our input element at the appropriate times.\n",{"type":20,"tag":87,"props":5522,"children":5524},{"class":89,"line":5523},130,[5525,5529,5534],{"type":20,"tag":87,"props":5526,"children":5527},{"style":540},[5528],{"type":25,"value":3356},{"type":20,"tag":87,"props":5530,"children":5531},{"style":313},[5532],{"type":25,"value":5533},"@type",{"type":20,"tag":87,"props":5535,"children":5536},{"style":124},[5537],{"type":25,"value":5538}," {{FILE_LIST_ERROR: string, FILE_LIST_LOADED: string, FILE_READ_ERROR: string,\n",{"type":20,"tag":87,"props":5540,"children":5542},{"class":89,"line":5541},131,[5543],{"type":20,"tag":87,"props":5544,"children":5545},{"style":124},[5546],{"type":25,"value":5547}," * FILE_READ_PROGRESS: string, FILE_READ_FINISHED: string, FILE_READ_ALL: string,\n",{"type":20,"tag":87,"props":5549,"children":5551},{"class":89,"line":5550},132,[5552],{"type":20,"tag":87,"props":5553,"children":5554},{"style":124},[5555],{"type":25,"value":5556}," * FILE_UPLOAD_ERROR: string, FILE_UPLOAD_PROGRESS: string, FILE_UPLOAD_PAUSE: string,\n",{"type":20,"tag":87,"props":5558,"children":5560},{"class":89,"line":5559},133,[5561],{"type":20,"tag":87,"props":5562,"children":5563},{"style":124},[5564],{"type":25,"value":5565}," * FILE_UPLOAD_RESUME: string, FILE_UPLOAD_FINISHED: string, FILE_UPLOAD_ALL: string}}\n",{"type":20,"tag":87,"props":5567,"children":5569},{"class":89,"line":5568},134,[5570],{"type":20,"tag":87,"props":5571,"children":5572},{"style":540},[5573],{"type":25,"value":1384},{"type":20,"tag":87,"props":5575,"children":5577},{"class":89,"line":5576},135,[5578,5583,5587],{"type":20,"tag":87,"props":5579,"children":5580},{"style":94},[5581],{"type":25,"value":5582},"Hup.state ",{"type":20,"tag":87,"props":5584,"children":5585},{"style":313},[5586],{"type":25,"value":132},{"type":20,"tag":87,"props":5588,"children":5589},{"style":94},[5590],{"type":25,"value":5591}," {\n",{"type":20,"tag":87,"props":5593,"children":5595},{"class":89,"line":5594},136,[5596,5601,5606],{"type":20,"tag":87,"props":5597,"children":5598},{"style":94},[5599],{"type":25,"value":5600},"    FILE_LIST_ERROR:",{"type":20,"tag":87,"props":5602,"children":5603},{"style":135},[5604],{"type":25,"value":5605},"'fileListError'",{"type":20,"tag":87,"props":5607,"children":5608},{"style":94},[5609],{"type":25,"value":3036},{"type":20,"tag":87,"props":5611,"children":5613},{"class":89,"line":5612},137,[5614,5619,5624],{"type":20,"tag":87,"props":5615,"children":5616},{"style":94},[5617],{"type":25,"value":5618},"    FILE_LIST_LOADED:",{"type":20,"tag":87,"props":5620,"children":5621},{"style":135},[5622],{"type":25,"value":5623},"'fileListLoaded'",{"type":20,"tag":87,"props":5625,"children":5626},{"style":94},[5627],{"type":25,"value":3036},{"type":20,"tag":87,"props":5629,"children":5631},{"class":89,"line":5630},138,[5632,5637,5642],{"type":20,"tag":87,"props":5633,"children":5634},{"style":94},[5635],{"type":25,"value":5636},"    FILE_READ_ERROR:",{"type":20,"tag":87,"props":5638,"children":5639},{"style":135},[5640],{"type":25,"value":5641},"'fileReadError'",{"type":20,"tag":87,"props":5643,"children":5644},{"style":94},[5645],{"type":25,"value":3036},{"type":20,"tag":87,"props":5647,"children":5649},{"class":89,"line":5648},139,[5650,5655,5660],{"type":20,"tag":87,"props":5651,"children":5652},{"style":94},[5653],{"type":25,"value":5654},"    FILE_READ_PROGRESS:",{"type":20,"tag":87,"props":5656,"children":5657},{"style":135},[5658],{"type":25,"value":5659},"'fileReadProgress'",{"type":20,"tag":87,"props":5661,"children":5662},{"style":94},[5663],{"type":25,"value":3036},{"type":20,"tag":87,"props":5665,"children":5667},{"class":89,"line":5666},140,[5668,5673,5678],{"type":20,"tag":87,"props":5669,"children":5670},{"style":94},[5671],{"type":25,"value":5672},"    FILE_READ_FINISHED:",{"type":20,"tag":87,"props":5674,"children":5675},{"style":135},[5676],{"type":25,"value":5677},"'fileReadFinished'",{"type":20,"tag":87,"props":5679,"children":5680},{"style":94},[5681],{"type":25,"value":3036},{"type":20,"tag":87,"props":5683,"children":5685},{"class":89,"line":5684},141,[5686,5691,5696],{"type":20,"tag":87,"props":5687,"children":5688},{"style":94},[5689],{"type":25,"value":5690},"    FILE_READ_ALL:",{"type":20,"tag":87,"props":5692,"children":5693},{"style":135},[5694],{"type":25,"value":5695},"'fileReadAll'",{"type":20,"tag":87,"props":5697,"children":5698},{"style":94},[5699],{"type":25,"value":3036},{"type":20,"tag":87,"props":5701,"children":5703},{"class":89,"line":5702},142,[5704,5709,5714],{"type":20,"tag":87,"props":5705,"children":5706},{"style":94},[5707],{"type":25,"value":5708},"    FILE_UPLOAD_ERROR:",{"type":20,"tag":87,"props":5710,"children":5711},{"style":135},[5712],{"type":25,"value":5713},"'fileUploadError'",{"type":20,"tag":87,"props":5715,"children":5716},{"style":94},[5717],{"type":25,"value":3036},{"type":20,"tag":87,"props":5719,"children":5721},{"class":89,"line":5720},143,[5722,5727,5732],{"type":20,"tag":87,"props":5723,"children":5724},{"style":94},[5725],{"type":25,"value":5726},"    FILE_UPLOAD_PROGRESS:",{"type":20,"tag":87,"props":5728,"children":5729},{"style":135},[5730],{"type":25,"value":5731},"'fileUploadProgress'",{"type":20,"tag":87,"props":5733,"children":5734},{"style":94},[5735],{"type":25,"value":3036},{"type":20,"tag":87,"props":5737,"children":5739},{"class":89,"line":5738},144,[5740,5745,5750],{"type":20,"tag":87,"props":5741,"children":5742},{"style":94},[5743],{"type":25,"value":5744},"    FILE_UPLOAD_PAUSE:",{"type":20,"tag":87,"props":5746,"children":5747},{"style":135},[5748],{"type":25,"value":5749},"'fileUploadPause'",{"type":20,"tag":87,"props":5751,"children":5752},{"style":94},[5753],{"type":25,"value":3036},{"type":20,"tag":87,"props":5755,"children":5757},{"class":89,"line":5756},145,[5758,5763,5768],{"type":20,"tag":87,"props":5759,"children":5760},{"style":94},[5761],{"type":25,"value":5762},"    FILE_UPLOAD_RESUME:",{"type":20,"tag":87,"props":5764,"children":5765},{"style":135},[5766],{"type":25,"value":5767},"'fileUploadResume'",{"type":20,"tag":87,"props":5769,"children":5770},{"style":94},[5771],{"type":25,"value":3036},{"type":20,"tag":87,"props":5773,"children":5775},{"class":89,"line":5774},146,[5776,5781,5786],{"type":20,"tag":87,"props":5777,"children":5778},{"style":94},[5779],{"type":25,"value":5780},"    FILE_UPLOAD_FINISHED:",{"type":20,"tag":87,"props":5782,"children":5783},{"style":135},[5784],{"type":25,"value":5785},"'fileUploadFinished'",{"type":20,"tag":87,"props":5787,"children":5788},{"style":94},[5789],{"type":25,"value":3036},{"type":20,"tag":87,"props":5791,"children":5793},{"class":89,"line":5792},147,[5794,5799],{"type":20,"tag":87,"props":5795,"children":5796},{"style":94},[5797],{"type":25,"value":5798},"    FILE_UPLOAD_ALL:",{"type":20,"tag":87,"props":5800,"children":5801},{"style":135},[5802],{"type":25,"value":5803},"'fileUploadAll'\n",{"type":20,"tag":87,"props":5805,"children":5807},{"class":89,"line":5806},148,[5808],{"type":20,"tag":87,"props":5809,"children":5810},{"style":94},[5811],{"type":25,"value":3087},{"type":20,"tag":87,"props":5813,"children":5815},{"class":89,"line":5814},149,[5816],{"type":20,"tag":87,"props":5817,"children":5818},{"emptyLinePlaceholder":399},[5819],{"type":25,"value":402},{"type":20,"tag":87,"props":5821,"children":5823},{"class":89,"line":5822},150,[5824],{"type":20,"tag":87,"props":5825,"children":5826},{"style":540},[5827],{"type":25,"value":1366},{"type":20,"tag":87,"props":5829,"children":5831},{"class":89,"line":5830},151,[5832],{"type":20,"tag":87,"props":5833,"children":5834},{"style":540},[5835],{"type":25,"value":5836}," * Deferred wrapper for xhr upload.\n",{"type":20,"tag":87,"props":5838,"children":5840},{"class":89,"line":5839},152,[5841,5845,5849],{"type":20,"tag":87,"props":5842,"children":5843},{"style":540},[5844],{"type":25,"value":3356},{"type":20,"tag":87,"props":5846,"children":5847},{"style":313},[5848],{"type":25,"value":655},{"type":20,"tag":87,"props":5850,"children":5851},{"style":94},[5852],{"type":25,"value":660},{"type":20,"tag":87,"props":5854,"children":5856},{"class":89,"line":5855},153,[5857,5861,5865],{"type":20,"tag":87,"props":5858,"children":5859},{"style":540},[5860],{"type":25,"value":3356},{"type":20,"tag":87,"props":5862,"children":5863},{"style":313},[5864],{"type":25,"value":655},{"type":20,"tag":87,"props":5866,"children":5867},{"style":94},[5868],{"type":25,"value":676},{"type":20,"tag":87,"props":5870,"children":5872},{"class":89,"line":5871},154,[5873,5877,5881,5885],{"type":20,"tag":87,"props":5874,"children":5875},{"style":540},[5876],{"type":25,"value":3356},{"type":20,"tag":87,"props":5878,"children":5879},{"style":313},[5880],{"type":25,"value":688},{"type":20,"tag":87,"props":5882,"children":5883},{"style":124},[5884],{"type":25,"value":693},{"type":20,"tag":87,"props":5886,"children":5887},{"style":540},[5888],{"type":25,"value":698},{"type":20,"tag":87,"props":5890,"children":5892},{"class":89,"line":5891},155,[5893,5897],{"type":20,"tag":87,"props":5894,"children":5895},{"style":540},[5896],{"type":25,"value":3356},{"type":20,"tag":87,"props":5898,"children":5899},{"style":313},[5900],{"type":25,"value":710},{"type":20,"tag":87,"props":5902,"children":5904},{"class":89,"line":5903},156,[5905],{"type":20,"tag":87,"props":5906,"children":5907},{"style":540},[5908],{"type":25,"value":1384},{"type":20,"tag":87,"props":5910,"children":5912},{"class":89,"line":5911},157,[5913,5917,5921,5925,5929,5933,5937],{"type":20,"tag":87,"props":5914,"children":5915},{"style":313},[5916],{"type":25,"value":316},{"type":20,"tag":87,"props":5918,"children":5919},{"style":124},[5920],{"type":25,"value":731},{"type":20,"tag":87,"props":5922,"children":5923},{"style":94},[5924],{"type":25,"value":264},{"type":20,"tag":87,"props":5926,"children":5927},{"style":323},[5928],{"type":25,"value":740},{"type":20,"tag":87,"props":5930,"children":5931},{"style":94},[5932],{"type":25,"value":310},{"type":20,"tag":87,"props":5934,"children":5935},{"style":323},[5936],{"type":25,"value":749},{"type":20,"tag":87,"props":5938,"children":5939},{"style":94},[5940],{"type":25,"value":331},{"type":20,"tag":87,"props":5942,"children":5944},{"class":89,"line":5943},158,[5945,5949,5953,5957,5961],{"type":20,"tag":87,"props":5946,"children":5947},{"style":313},[5948],{"type":25,"value":2361},{"type":20,"tag":87,"props":5950,"children":5951},{"style":94},[5952],{"type":25,"value":766},{"type":20,"tag":87,"props":5954,"children":5955},{"style":313},[5956],{"type":25,"value":132},{"type":20,"tag":87,"props":5958,"children":5959},{"style":773},[5960],{"type":25,"value":776},{"type":20,"tag":87,"props":5962,"children":5963},{"style":94},[5964],{"type":25,"value":781},{"type":20,"tag":87,"props":5966,"children":5968},{"class":89,"line":5967},159,[5969],{"type":20,"tag":87,"props":5970,"children":5971},{"emptyLinePlaceholder":399},[5972],{"type":25,"value":402},{"type":20,"tag":87,"props":5974,"children":5976},{"class":89,"line":5975},160,[5977,5981,5985,5989,5993,5997],{"type":20,"tag":87,"props":5978,"children":5979},{"style":773},[5980],{"type":25,"value":796},{"type":20,"tag":87,"props":5982,"children":5983},{"style":94},[5984],{"type":25,"value":801},{"type":20,"tag":87,"props":5986,"children":5987},{"style":313},[5988],{"type":25,"value":132},{"type":20,"tag":87,"props":5990,"children":5991},{"style":94},[5992],{"type":25,"value":810},{"type":20,"tag":87,"props":5994,"children":5995},{"style":124},[5996],{"type":25,"value":815},{"type":20,"tag":87,"props":5998,"children":5999},{"style":94},[6000],{"type":25,"value":366},{"type":20,"tag":87,"props":6002,"children":6004},{"class":89,"line":6003},161,[6005,6009,6013,6017],{"type":20,"tag":87,"props":6006,"children":6007},{"style":773},[6008],{"type":25,"value":796},{"type":20,"tag":87,"props":6010,"children":6011},{"style":94},[6012],{"type":25,"value":831},{"type":20,"tag":87,"props":6014,"children":6015},{"style":313},[6016],{"type":25,"value":132},{"type":20,"tag":87,"props":6018,"children":6019},{"style":94},[6020],{"type":25,"value":840},{"type":20,"tag":87,"props":6022,"children":6024},{"class":89,"line":6023},162,[6025,6029,6033,6037],{"type":20,"tag":87,"props":6026,"children":6027},{"style":773},[6028],{"type":25,"value":796},{"type":20,"tag":87,"props":6030,"children":6031},{"style":94},[6032],{"type":25,"value":852},{"type":20,"tag":87,"props":6034,"children":6035},{"style":313},[6036],{"type":25,"value":132},{"type":20,"tag":87,"props":6038,"children":6039},{"style":94},[6040],{"type":25,"value":861},{"type":20,"tag":87,"props":6042,"children":6044},{"class":89,"line":6043},163,[6045,6049,6053,6057,6061],{"type":20,"tag":87,"props":6046,"children":6047},{"style":773},[6048],{"type":25,"value":796},{"type":20,"tag":87,"props":6050,"children":6051},{"style":94},[6052],{"type":25,"value":873},{"type":20,"tag":87,"props":6054,"children":6055},{"style":313},[6056],{"type":25,"value":132},{"type":20,"tag":87,"props":6058,"children":6059},{"style":773},[6060],{"type":25,"value":882},{"type":20,"tag":87,"props":6062,"children":6063},{"style":94},[6064],{"type":25,"value":781},{"type":20,"tag":87,"props":6066,"children":6068},{"class":89,"line":6067},164,[6069,6073,6077,6081,6085],{"type":20,"tag":87,"props":6070,"children":6071},{"style":773},[6072],{"type":25,"value":796},{"type":20,"tag":87,"props":6074,"children":6075},{"style":94},[6076],{"type":25,"value":898},{"type":20,"tag":87,"props":6078,"children":6079},{"style":313},[6080],{"type":25,"value":132},{"type":20,"tag":87,"props":6082,"children":6083},{"style":773},[6084],{"type":25,"value":907},{"type":20,"tag":87,"props":6086,"children":6087},{"style":94},[6088],{"type":25,"value":781},{"type":20,"tag":87,"props":6090,"children":6092},{"class":89,"line":6091},165,[6093,6097,6102,6106,6111,6115,6120,6124,6129,6133,6138],{"type":20,"tag":87,"props":6094,"children":6095},{"style":773},[6096],{"type":25,"value":796},{"type":20,"tag":87,"props":6098,"children":6099},{"style":94},[6100],{"type":25,"value":6101},".time ",{"type":20,"tag":87,"props":6103,"children":6104},{"style":313},[6105],{"type":25,"value":132},{"type":20,"tag":87,"props":6107,"children":6108},{"style":94},[6109],{"type":25,"value":6110}," {start:",{"type":20,"tag":87,"props":6112,"children":6113},{"style":773},[6114],{"type":25,"value":4135},{"type":20,"tag":87,"props":6116,"children":6117},{"style":94},[6118],{"type":25,"value":6119},", end:",{"type":20,"tag":87,"props":6121,"children":6122},{"style":773},[6123],{"type":25,"value":4135},{"type":20,"tag":87,"props":6125,"children":6126},{"style":94},[6127],{"type":25,"value":6128},", speed:",{"type":20,"tag":87,"props":6130,"children":6131},{"style":773},[6132],{"type":25,"value":4135},{"type":20,"tag":87,"props":6134,"children":6135},{"style":94},[6136],{"type":25,"value":6137},"}; ",{"type":20,"tag":87,"props":6139,"children":6140},{"style":540},[6141],{"type":25,"value":6142},"// Speed is measured in bytes per second\n",{"type":20,"tag":87,"props":6144,"children":6146},{"class":89,"line":6145},166,[6147,6151,6155,6159,6163,6167],{"type":20,"tag":87,"props":6148,"children":6149},{"style":773},[6150],{"type":25,"value":796},{"type":20,"tag":87,"props":6152,"children":6153},{"style":94},[6154],{"type":25,"value":923},{"type":20,"tag":87,"props":6156,"children":6157},{"style":313},[6158],{"type":25,"value":132},{"type":20,"tag":87,"props":6160,"children":6161},{"style":313},[6162],{"type":25,"value":932},{"type":20,"tag":87,"props":6164,"children":6165},{"style":124},[6166],{"type":25,"value":937},{"type":20,"tag":87,"props":6168,"children":6169},{"style":94},[6170],{"type":25,"value":366},{"type":20,"tag":87,"props":6172,"children":6174},{"class":89,"line":6173},167,[6175],{"type":20,"tag":87,"props":6176,"children":6177},{"emptyLinePlaceholder":399},[6178],{"type":25,"value":402},{"type":20,"tag":87,"props":6180,"children":6182},{"class":89,"line":6181},168,[6183,6187,6191,6195],{"type":20,"tag":87,"props":6184,"children":6185},{"style":313},[6186],{"type":25,"value":958},{"type":20,"tag":87,"props":6188,"children":6189},{"style":94},[6190],{"type":25,"value":963},{"type":20,"tag":87,"props":6192,"children":6193},{"style":773},[6194],{"type":25,"value":968},{"type":20,"tag":87,"props":6196,"children":6197},{"style":94},[6198],{"type":25,"value":973},{"type":20,"tag":87,"props":6200,"children":6202},{"class":89,"line":6201},169,[6203],{"type":20,"tag":87,"props":6204,"children":6205},{"style":94},[6206],{"type":25,"value":982},{"type":20,"tag":87,"props":6208,"children":6210},{"class":89,"line":6209},170,[6211,6215,6219,6223,6227],{"type":20,"tag":87,"props":6212,"children":6213},{"style":773},[6214],{"type":25,"value":991},{"type":20,"tag":87,"props":6216,"children":6217},{"style":94},[6218],{"type":25,"value":996},{"type":20,"tag":87,"props":6220,"children":6221},{"style":313},[6222],{"type":25,"value":132},{"type":20,"tag":87,"props":6224,"children":6225},{"style":773},[6226],{"type":25,"value":907},{"type":20,"tag":87,"props":6228,"children":6229},{"style":94},[6230],{"type":25,"value":781},{"type":20,"tag":87,"props":6232,"children":6234},{"class":89,"line":6233},171,[6235,6239,6243,6247,6251,6255,6259,6263,6267,6271,6275,6279,6283],{"type":20,"tag":87,"props":6236,"children":6237},{"style":773},[6238],{"type":25,"value":991},{"type":20,"tag":87,"props":6240,"children":6241},{"style":94},[6242],{"type":25,"value":1021},{"type":20,"tag":87,"props":6244,"children":6245},{"style":313},[6246],{"type":25,"value":132},{"type":20,"tag":87,"props":6248,"children":6249},{"style":94},[6250],{"type":25,"value":1030},{"type":20,"tag":87,"props":6252,"children":6253},{"style":124},[6254],{"type":25,"value":1035},{"type":20,"tag":87,"props":6256,"children":6257},{"style":94},[6258],{"type":25,"value":264},{"type":20,"tag":87,"props":6260,"children":6261},{"style":773},[6262],{"type":25,"value":968},{"type":20,"tag":87,"props":6264,"children":6265},{"style":94},[6266],{"type":25,"value":1048},{"type":20,"tag":87,"props":6268,"children":6269},{"style":313},[6270],{"type":25,"value":1053},{"type":20,"tag":87,"props":6272,"children":6273},{"style":773},[6274],{"type":25,"value":968},{"type":20,"tag":87,"props":6276,"children":6277},{"style":94},[6278],{"type":25,"value":1062},{"type":20,"tag":87,"props":6280,"children":6281},{"style":773},[6282],{"type":25,"value":968},{"type":20,"tag":87,"props":6284,"children":6285},{"style":94},[6286],{"type":25,"value":1071},{"type":20,"tag":87,"props":6288,"children":6290},{"class":89,"line":6289},172,[6291],{"type":20,"tag":87,"props":6292,"children":6293},{"style":94},[6294],{"type":25,"value":1080},{"type":20,"tag":87,"props":6296,"children":6298},{"class":89,"line":6297},173,[6299],{"type":20,"tag":87,"props":6300,"children":6301},{"emptyLinePlaceholder":399},[6302],{"type":25,"value":402},{"type":20,"tag":87,"props":6304,"children":6306},{"class":89,"line":6305},174,[6307,6311,6315,6319,6323,6327,6331,6335,6339,6343,6347,6351],{"type":20,"tag":87,"props":6308,"children":6309},{"style":773},[6310],{"type":25,"value":796},{"type":20,"tag":87,"props":6312,"children":6313},{"style":94},[6314],{"type":25,"value":1101},{"type":20,"tag":87,"props":6316,"children":6317},{"style":124},[6318],{"type":25,"value":1106},{"type":20,"tag":87,"props":6320,"children":6321},{"style":94},[6322],{"type":25,"value":264},{"type":20,"tag":87,"props":6324,"children":6325},{"style":135},[6326],{"type":25,"value":1115},{"type":20,"tag":87,"props":6328,"children":6329},{"style":94},[6330],{"type":25,"value":310},{"type":20,"tag":87,"props":6332,"children":6333},{"style":313},[6334],{"type":25,"value":316},{"type":20,"tag":87,"props":6336,"children":6337},{"style":94},[6338],{"type":25,"value":1128},{"type":20,"tag":87,"props":6340,"children":6341},{"style":124},[6342],{"type":25,"value":1133},{"type":20,"tag":87,"props":6344,"children":6345},{"style":94},[6346],{"type":25,"value":1138},{"type":20,"tag":87,"props":6348,"children":6349},{"style":773},[6350],{"type":25,"value":1143},{"type":20,"tag":87,"props":6352,"children":6353},{"style":94},[6354],{"type":25,"value":1148},{"type":20,"tag":87,"props":6356,"children":6358},{"class":89,"line":6357},175,[6359,6363,6367,6371,6375,6379,6383,6387,6391,6395,6399,6403,6407,6411],{"type":20,"tag":87,"props":6360,"children":6361},{"style":773},[6362],{"type":25,"value":796},{"type":20,"tag":87,"props":6364,"children":6365},{"style":94},[6366],{"type":25,"value":1161},{"type":20,"tag":87,"props":6368,"children":6369},{"style":124},[6370],{"type":25,"value":1106},{"type":20,"tag":87,"props":6372,"children":6373},{"style":94},[6374],{"type":25,"value":264},{"type":20,"tag":87,"props":6376,"children":6377},{"style":135},[6378],{"type":25,"value":1174},{"type":20,"tag":87,"props":6380,"children":6381},{"style":94},[6382],{"type":25,"value":310},{"type":20,"tag":87,"props":6384,"children":6385},{"style":313},[6386],{"type":25,"value":316},{"type":20,"tag":87,"props":6388,"children":6389},{"style":94},[6390],{"type":25,"value":264},{"type":20,"tag":87,"props":6392,"children":6393},{"style":323},[6394],{"type":25,"value":326},{"type":20,"tag":87,"props":6396,"children":6397},{"style":94},[6398],{"type":25,"value":1195},{"type":20,"tag":87,"props":6400,"children":6401},{"style":124},[6402],{"type":25,"value":1200},{"type":20,"tag":87,"props":6404,"children":6405},{"style":94},[6406],{"type":25,"value":1205},{"type":20,"tag":87,"props":6408,"children":6409},{"style":773},[6410],{"type":25,"value":1143},{"type":20,"tag":87,"props":6412,"children":6413},{"style":94},[6414],{"type":25,"value":1148},{"type":20,"tag":87,"props":6416,"children":6418},{"class":89,"line":6417},176,[6419,6423,6427,6431,6435,6439,6443,6447,6451,6455,6459,6463,6467,6471],{"type":20,"tag":87,"props":6420,"children":6421},{"style":773},[6422],{"type":25,"value":796},{"type":20,"tag":87,"props":6424,"children":6425},{"style":94},[6426],{"type":25,"value":1161},{"type":20,"tag":87,"props":6428,"children":6429},{"style":124},[6430],{"type":25,"value":1106},{"type":20,"tag":87,"props":6432,"children":6433},{"style":94},[6434],{"type":25,"value":264},{"type":20,"tag":87,"props":6436,"children":6437},{"style":135},[6438],{"type":25,"value":1238},{"type":20,"tag":87,"props":6440,"children":6441},{"style":94},[6442],{"type":25,"value":310},{"type":20,"tag":87,"props":6444,"children":6445},{"style":313},[6446],{"type":25,"value":316},{"type":20,"tag":87,"props":6448,"children":6449},{"style":94},[6450],{"type":25,"value":264},{"type":20,"tag":87,"props":6452,"children":6453},{"style":323},[6454],{"type":25,"value":326},{"type":20,"tag":87,"props":6456,"children":6457},{"style":94},[6458],{"type":25,"value":1195},{"type":20,"tag":87,"props":6460,"children":6461},{"style":124},[6462],{"type":25,"value":1263},{"type":20,"tag":87,"props":6464,"children":6465},{"style":94},[6466],{"type":25,"value":1205},{"type":20,"tag":87,"props":6468,"children":6469},{"style":773},[6470],{"type":25,"value":1143},{"type":20,"tag":87,"props":6472,"children":6473},{"style":94},[6474],{"type":25,"value":1148},{"type":20,"tag":87,"props":6476,"children":6478},{"class":89,"line":6477},177,[6479],{"type":20,"tag":87,"props":6480,"children":6481},{"emptyLinePlaceholder":399},[6482],{"type":25,"value":402},{"type":20,"tag":87,"props":6484,"children":6486},{"class":89,"line":6485},178,[6487,6491,6495,6499],{"type":20,"tag":87,"props":6488,"children":6489},{"style":773},[6490],{"type":25,"value":796},{"type":20,"tag":87,"props":6492,"children":6493},{"style":94},[6494],{"type":25,"value":1296},{"type":20,"tag":87,"props":6496,"children":6497},{"style":124},[6498],{"type":25,"value":1301},{"type":20,"tag":87,"props":6500,"children":6501},{"style":94},[6502],{"type":25,"value":366},{"type":20,"tag":87,"props":6504,"children":6506},{"class":89,"line":6505},179,[6507],{"type":20,"tag":87,"props":6508,"children":6509},{"emptyLinePlaceholder":399},[6510],{"type":25,"value":402},{"type":20,"tag":87,"props":6512,"children":6514},{"class":89,"line":6513},180,[6515,6519,6523,6527,6531],{"type":20,"tag":87,"props":6516,"children":6517},{"style":313},[6518],{"type":25,"value":1322},{"type":20,"tag":87,"props":6520,"children":6521},{"style":773},[6522],{"type":25,"value":776},{"type":20,"tag":87,"props":6524,"children":6525},{"style":94},[6526],{"type":25,"value":1331},{"type":20,"tag":87,"props":6528,"children":6529},{"style":124},[6530],{"type":25,"value":1336},{"type":20,"tag":87,"props":6532,"children":6533},{"style":94},[6534],{"type":25,"value":366},{"type":20,"tag":87,"props":6536,"children":6538},{"class":89,"line":6537},181,[6539],{"type":20,"tag":87,"props":6540,"children":6541},{"style":94},[6542],{"type":25,"value":1349},{"type":20,"tag":87,"props":6544,"children":6546},{"class":89,"line":6545},182,[6547],{"type":20,"tag":87,"props":6548,"children":6549},{"emptyLinePlaceholder":399},[6550],{"type":25,"value":402},{"type":20,"tag":87,"props":6552,"children":6554},{"class":89,"line":6553},183,[6555],{"type":20,"tag":87,"props":6556,"children":6557},{"style":540},[6558],{"type":25,"value":1366},{"type":20,"tag":87,"props":6560,"children":6562},{"class":89,"line":6561},184,[6563],{"type":20,"tag":87,"props":6564,"children":6565},{"style":540},[6566],{"type":25,"value":1375},{"type":20,"tag":87,"props":6568,"children":6570},{"class":89,"line":6569},185,[6571],{"type":20,"tag":87,"props":6572,"children":6573},{"style":540},[6574],{"type":25,"value":1384},{"type":20,"tag":87,"props":6576,"children":6578},{"class":89,"line":6577},186,[6579,6583,6587,6591,6595,6599,6603,6607],{"type":20,"tag":87,"props":6580,"children":6581},{"style":773},[6582],{"type":25,"value":1393},{"type":20,"tag":87,"props":6584,"children":6585},{"style":94},[6586],{"type":25,"value":1296},{"type":20,"tag":87,"props":6588,"children":6589},{"style":773},[6590],{"type":25,"value":1402},{"type":20,"tag":87,"props":6592,"children":6593},{"style":94},[6594],{"type":25,"value":1296},{"type":20,"tag":87,"props":6596,"children":6597},{"style":124},[6598],{"type":25,"value":1301},{"type":20,"tag":87,"props":6600,"children":6601},{"style":313},[6602],{"type":25,"value":1415},{"type":20,"tag":87,"props":6604,"children":6605},{"style":313},[6606],{"type":25,"value":1420},{"type":20,"tag":87,"props":6608,"children":6609},{"style":94},[6610],{"type":25,"value":1425},{"type":20,"tag":87,"props":6612,"children":6614},{"class":89,"line":6613},187,[6615,6619,6624,6628,6633,6638],{"type":20,"tag":87,"props":6616,"children":6617},{"style":773},[6618],{"type":25,"value":796},{"type":20,"tag":87,"props":6620,"children":6621},{"style":94},[6622],{"type":25,"value":6623},".time.start ",{"type":20,"tag":87,"props":6625,"children":6626},{"style":313},[6627],{"type":25,"value":132},{"type":20,"tag":87,"props":6629,"children":6630},{"style":313},[6631],{"type":25,"value":6632}," +new",{"type":20,"tag":87,"props":6634,"children":6635},{"style":124},[6636],{"type":25,"value":6637}," Date",{"type":20,"tag":87,"props":6639,"children":6640},{"style":94},[6641],{"type":25,"value":366},{"type":20,"tag":87,"props":6643,"children":6645},{"class":89,"line":6644},188,[6646],{"type":20,"tag":87,"props":6647,"children":6648},{"emptyLinePlaceholder":399},[6649],{"type":25,"value":402},{"type":20,"tag":87,"props":6651,"children":6653},{"class":89,"line":6652},189,[6654,6658,6662,6666,6670,6674,6678,6682,6686,6690],{"type":20,"tag":87,"props":6655,"children":6656},{"style":773},[6657],{"type":25,"value":796},{"type":20,"tag":87,"props":6659,"children":6660},{"style":94},[6661],{"type":25,"value":1101},{"type":20,"tag":87,"props":6663,"children":6664},{"style":124},[6665],{"type":25,"value":1450},{"type":20,"tag":87,"props":6667,"children":6668},{"style":94},[6669],{"type":25,"value":264},{"type":20,"tag":87,"props":6671,"children":6672},{"style":773},[6673],{"type":25,"value":968},{"type":20,"tag":87,"props":6675,"children":6676},{"style":94},[6677],{"type":25,"value":1463},{"type":20,"tag":87,"props":6679,"children":6680},{"style":773},[6681],{"type":25,"value":968},{"type":20,"tag":87,"props":6683,"children":6684},{"style":94},[6685],{"type":25,"value":1472},{"type":20,"tag":87,"props":6687,"children":6688},{"style":773},[6689],{"type":25,"value":968},{"type":20,"tag":87,"props":6691,"children":6692},{"style":94},[6693],{"type":25,"value":1481},{"type":20,"tag":87,"props":6695,"children":6697},{"class":89,"line":6696},190,[6698,6702,6706,6710,6714,6718,6722,6726],{"type":20,"tag":87,"props":6699,"children":6700},{"style":773},[6701],{"type":25,"value":796},{"type":20,"tag":87,"props":6703,"children":6704},{"style":94},[6705],{"type":25,"value":1101},{"type":20,"tag":87,"props":6707,"children":6708},{"style":124},[6709],{"type":25,"value":1498},{"type":20,"tag":87,"props":6711,"children":6712},{"style":94},[6713],{"type":25,"value":264},{"type":20,"tag":87,"props":6715,"children":6716},{"style":135},[6717],{"type":25,"value":1507},{"type":20,"tag":87,"props":6719,"children":6720},{"style":94},[6721],{"type":25,"value":310},{"type":20,"tag":87,"props":6723,"children":6724},{"style":135},[6725],{"type":25,"value":1516},{"type":20,"tag":87,"props":6727,"children":6728},{"style":94},[6729],{"type":25,"value":1148},{"type":20,"tag":87,"props":6731,"children":6733},{"class":89,"line":6732},191,[6734,6738,6742,6746,6750,6754,6758,6762],{"type":20,"tag":87,"props":6735,"children":6736},{"style":773},[6737],{"type":25,"value":796},{"type":20,"tag":87,"props":6739,"children":6740},{"style":94},[6741],{"type":25,"value":1101},{"type":20,"tag":87,"props":6743,"children":6744},{"style":124},[6745],{"type":25,"value":1498},{"type":20,"tag":87,"props":6747,"children":6748},{"style":94},[6749],{"type":25,"value":264},{"type":20,"tag":87,"props":6751,"children":6752},{"style":135},[6753],{"type":25,"value":1545},{"type":20,"tag":87,"props":6755,"children":6756},{"style":94},[6757],{"type":25,"value":310},{"type":20,"tag":87,"props":6759,"children":6760},{"style":773},[6761],{"type":25,"value":968},{"type":20,"tag":87,"props":6763,"children":6764},{"style":94},[6765],{"type":25,"value":1558},{"type":20,"tag":87,"props":6767,"children":6769},{"class":89,"line":6768},192,[6770,6774,6778,6782,6786,6790,6794,6798],{"type":20,"tag":87,"props":6771,"children":6772},{"style":773},[6773],{"type":25,"value":796},{"type":20,"tag":87,"props":6775,"children":6776},{"style":94},[6777],{"type":25,"value":1101},{"type":20,"tag":87,"props":6779,"children":6780},{"style":124},[6781],{"type":25,"value":1498},{"type":20,"tag":87,"props":6783,"children":6784},{"style":94},[6785],{"type":25,"value":264},{"type":20,"tag":87,"props":6787,"children":6788},{"style":135},[6789],{"type":25,"value":1583},{"type":20,"tag":87,"props":6791,"children":6792},{"style":94},[6793],{"type":25,"value":310},{"type":20,"tag":87,"props":6795,"children":6796},{"style":773},[6797],{"type":25,"value":968},{"type":20,"tag":87,"props":6799,"children":6800},{"style":94},[6801],{"type":25,"value":1596},{"type":20,"tag":87,"props":6803,"children":6805},{"class":89,"line":6804},193,[6806],{"type":20,"tag":87,"props":6807,"children":6808},{"emptyLinePlaceholder":399},[6809],{"type":25,"value":402},{"type":20,"tag":87,"props":6811,"children":6813},{"class":89,"line":6812},194,[6814,6818,6822,6826],{"type":20,"tag":87,"props":6815,"children":6816},{"style":313},[6817],{"type":25,"value":958},{"type":20,"tag":87,"props":6819,"children":6820},{"style":94},[6821],{"type":25,"value":963},{"type":20,"tag":87,"props":6823,"children":6824},{"style":773},[6825],{"type":25,"value":968},{"type":20,"tag":87,"props":6827,"children":6828},{"style":94},[6829],{"type":25,"value":973},{"type":20,"tag":87,"props":6831,"children":6833},{"class":89,"line":6832},195,[6834],{"type":20,"tag":87,"props":6835,"children":6836},{"style":94},[6837],{"type":25,"value":982},{"type":20,"tag":87,"props":6839,"children":6841},{"class":89,"line":6840},196,[6842,6846,6850,6854,6858,6862],{"type":20,"tag":87,"props":6843,"children":6844},{"style":773},[6845],{"type":25,"value":991},{"type":20,"tag":87,"props":6847,"children":6848},{"style":94},[6849],{"type":25,"value":1101},{"type":20,"tag":87,"props":6851,"children":6852},{"style":124},[6853],{"type":25,"value":1649},{"type":20,"tag":87,"props":6855,"children":6856},{"style":94},[6857],{"type":25,"value":264},{"type":20,"tag":87,"props":6859,"children":6860},{"style":135},[6861],{"type":25,"value":1658},{"type":20,"tag":87,"props":6863,"children":6864},{"style":94},[6865],{"type":25,"value":1148},{"type":20,"tag":87,"props":6867,"children":6869},{"class":89,"line":6868},197,[6870,6874,6878,6882,6886,6890,6894,6898,6902,6906,6910,6914,6918,6922,6926,6930,6934,6939,6943,6947],{"type":20,"tag":87,"props":6871,"children":6872},{"style":773},[6873],{"type":25,"value":991},{"type":20,"tag":87,"props":6875,"children":6876},{"style":94},[6877],{"type":25,"value":1101},{"type":20,"tag":87,"props":6879,"children":6880},{"style":124},[6881],{"type":25,"value":1498},{"type":20,"tag":87,"props":6883,"children":6884},{"style":94},[6885],{"type":25,"value":264},{"type":20,"tag":87,"props":6887,"children":6888},{"style":135},[6889],{"type":25,"value":1687},{"type":20,"tag":87,"props":6891,"children":6892},{"style":94},[6893],{"type":25,"value":310},{"type":20,"tag":87,"props":6895,"children":6896},{"style":135},[6897],{"type":25,"value":1696},{"type":20,"tag":87,"props":6899,"children":6900},{"style":313},[6901],{"type":25,"value":1053},{"type":20,"tag":87,"props":6903,"children":6904},{"style":773},[6905],{"type":25,"value":968},{"type":20,"tag":87,"props":6907,"children":6908},{"style":94},[6909],{"type":25,"value":1048},{"type":20,"tag":87,"props":6911,"children":6912},{"style":313},[6913],{"type":25,"value":1053},{"type":20,"tag":87,"props":6915,"children":6916},{"style":135},[6917],{"type":25,"value":1717},{"type":20,"tag":87,"props":6919,"children":6920},{"style":313},[6921],{"type":25,"value":1053},{"type":20,"tag":87,"props":6923,"children":6924},{"style":773},[6925],{"type":25,"value":968},{"type":20,"tag":87,"props":6927,"children":6928},{"style":94},[6929],{"type":25,"value":1730},{"type":20,"tag":87,"props":6931,"children":6932},{"style":313},[6933],{"type":25,"value":1053},{"type":20,"tag":87,"props":6935,"children":6936},{"style":135},[6937],{"type":25,"value":6938},"\"/\"",{"type":20,"tag":87,"props":6940,"children":6941},{"style":313},[6942],{"type":25,"value":1053},{"type":20,"tag":87,"props":6944,"children":6945},{"style":773},[6946],{"type":25,"value":968},{"type":20,"tag":87,"props":6948,"children":6949},{"style":94},[6950],{"type":25,"value":1071},{"type":20,"tag":87,"props":6952,"children":6954},{"class":89,"line":6953},198,[6955,6959,6963,6967,6971,6975,6979,6983,6987,6991,6995,6999],{"type":20,"tag":87,"props":6956,"children":6957},{"style":773},[6958],{"type":25,"value":991},{"type":20,"tag":87,"props":6960,"children":6961},{"style":94},[6962],{"type":25,"value":1101},{"type":20,"tag":87,"props":6964,"children":6965},{"style":124},[6966],{"type":25,"value":1768},{"type":20,"tag":87,"props":6968,"children":6969},{"style":94},[6970],{"type":25,"value":264},{"type":20,"tag":87,"props":6972,"children":6973},{"style":773},[6974],{"type":25,"value":968},{"type":20,"tag":87,"props":6976,"children":6977},{"style":94},[6978],{"type":25,"value":1781},{"type":20,"tag":87,"props":6980,"children":6981},{"style":124},[6982],{"type":25,"value":1786},{"type":20,"tag":87,"props":6984,"children":6985},{"style":94},[6986],{"type":25,"value":264},{"type":20,"tag":87,"props":6988,"children":6989},{"style":773},[6990],{"type":25,"value":968},{"type":20,"tag":87,"props":6992,"children":6993},{"style":94},[6994],{"type":25,"value":1799},{"type":20,"tag":87,"props":6996,"children":6997},{"style":773},[6998],{"type":25,"value":968},{"type":20,"tag":87,"props":7000,"children":7001},{"style":94},[7002],{"type":25,"value":1808},{"type":20,"tag":87,"props":7004,"children":7006},{"class":89,"line":7005},199,[7007],{"type":20,"tag":87,"props":7008,"children":7009},{"style":94},[7010],{"type":25,"value":1080},{"type":20,"tag":87,"props":7012,"children":7014},{"class":89,"line":7013},200,[7015],{"type":20,"tag":87,"props":7016,"children":7017},{"style":313},[7018],{"type":25,"value":1825},{"type":20,"tag":87,"props":7020,"children":7022},{"class":89,"line":7021},201,[7023],{"type":20,"tag":87,"props":7024,"children":7025},{"style":94},[7026],{"type":25,"value":982},{"type":20,"tag":87,"props":7028,"children":7030},{"class":89,"line":7029},202,[7031,7035,7039,7043,7047,7051,7055,7059,7063],{"type":20,"tag":87,"props":7032,"children":7033},{"style":773},[7034],{"type":25,"value":991},{"type":20,"tag":87,"props":7036,"children":7037},{"style":94},[7038],{"type":25,"value":1101},{"type":20,"tag":87,"props":7040,"children":7041},{"style":124},[7042],{"type":25,"value":1649},{"type":20,"tag":87,"props":7044,"children":7045},{"style":94},[7046],{"type":25,"value":1854},{"type":20,"tag":87,"props":7048,"children":7049},{"style":773},[7050],{"type":25,"value":968},{"type":20,"tag":87,"props":7052,"children":7053},{"style":94},[7054],{"type":25,"value":1863},{"type":20,"tag":87,"props":7056,"children":7057},{"style":313},[7058],{"type":25,"value":1868},{"type":20,"tag":87,"props":7060,"children":7061},{"style":135},[7062],{"type":25,"value":1873},{"type":20,"tag":87,"props":7064,"children":7065},{"style":94},[7066],{"type":25,"value":1878},{"type":20,"tag":87,"props":7068,"children":7070},{"class":89,"line":7069},203,[7071,7075,7079,7083,7087,7091],{"type":20,"tag":87,"props":7072,"children":7073},{"style":773},[7074],{"type":25,"value":991},{"type":20,"tag":87,"props":7076,"children":7077},{"style":94},[7078],{"type":25,"value":1101},{"type":20,"tag":87,"props":7080,"children":7081},{"style":124},[7082],{"type":25,"value":1768},{"type":20,"tag":87,"props":7084,"children":7085},{"style":94},[7086],{"type":25,"value":264},{"type":20,"tag":87,"props":7088,"children":7089},{"style":773},[7090],{"type":25,"value":968},{"type":20,"tag":87,"props":7092,"children":7093},{"style":94},[7094],{"type":25,"value":1907},{"type":20,"tag":87,"props":7096,"children":7098},{"class":89,"line":7097},204,[7099],{"type":20,"tag":87,"props":7100,"children":7101},{"style":94},[7102],{"type":25,"value":1080},{"type":20,"tag":87,"props":7104,"children":7106},{"class":89,"line":7105},205,[7107],{"type":20,"tag":87,"props":7108,"children":7109},{"style":94},[7110],{"type":25,"value":1349},{"type":20,"tag":87,"props":7112,"children":7114},{"class":89,"line":7113},206,[7115],{"type":20,"tag":87,"props":7116,"children":7117},{"emptyLinePlaceholder":399},[7118],{"type":25,"value":402},{"type":20,"tag":87,"props":7120,"children":7122},{"class":89,"line":7121},207,[7123],{"type":20,"tag":87,"props":7124,"children":7125},{"style":540},[7126],{"type":25,"value":1366},{"type":20,"tag":87,"props":7128,"children":7130},{"class":89,"line":7129},208,[7131],{"type":20,"tag":87,"props":7132,"children":7133},{"style":540},[7134],{"type":25,"value":7135}," * Report on the upload progress, as a number between 0 and 1, modifying the progress if we're uploading a\n",{"type":20,"tag":87,"props":7137,"children":7139},{"class":89,"line":7138},209,[7140],{"type":20,"tag":87,"props":7141,"children":7142},{"style":540},[7143],{"type":25,"value":7144}," * file in chunks to report on the progress as a percentage of file upload and total chunks uploaded.\n",{"type":20,"tag":87,"props":7146,"children":7148},{"class":89,"line":7147},210,[7149,7153,7157],{"type":20,"tag":87,"props":7150,"children":7151},{"style":540},[7152],{"type":25,"value":3356},{"type":20,"tag":87,"props":7154,"children":7155},{"style":313},[7156],{"type":25,"value":655},{"type":20,"tag":87,"props":7158,"children":7159},{"style":94},[7160],{"type":25,"value":4280},{"type":20,"tag":87,"props":7162,"children":7164},{"class":89,"line":7163},211,[7165],{"type":20,"tag":87,"props":7166,"children":7167},{"style":540},[7168],{"type":25,"value":1384},{"type":20,"tag":87,"props":7170,"children":7172},{"class":89,"line":7171},212,[7173,7177,7181,7185,7189,7193,7197,7201,7205,7209],{"type":20,"tag":87,"props":7174,"children":7175},{"style":773},[7176],{"type":25,"value":1393},{"type":20,"tag":87,"props":7178,"children":7179},{"style":94},[7180],{"type":25,"value":1296},{"type":20,"tag":87,"props":7182,"children":7183},{"style":773},[7184],{"type":25,"value":1402},{"type":20,"tag":87,"props":7186,"children":7187},{"style":94},[7188],{"type":25,"value":1296},{"type":20,"tag":87,"props":7190,"children":7191},{"style":124},[7192],{"type":25,"value":1200},{"type":20,"tag":87,"props":7194,"children":7195},{"style":313},[7196],{"type":25,"value":1415},{"type":20,"tag":87,"props":7198,"children":7199},{"style":313},[7200],{"type":25,"value":1420},{"type":20,"tag":87,"props":7202,"children":7203},{"style":94},[7204],{"type":25,"value":264},{"type":20,"tag":87,"props":7206,"children":7207},{"style":323},[7208],{"type":25,"value":326},{"type":20,"tag":87,"props":7210,"children":7211},{"style":94},[7212],{"type":25,"value":331},{"type":20,"tag":87,"props":7214,"children":7216},{"class":89,"line":7215},213,[7217,7221],{"type":20,"tag":87,"props":7218,"children":7219},{"style":313},[7220],{"type":25,"value":958},{"type":20,"tag":87,"props":7222,"children":7223},{"style":94},[7224],{"type":25,"value":2847},{"type":20,"tag":87,"props":7226,"children":7228},{"class":89,"line":7227},214,[7229],{"type":20,"tag":87,"props":7230,"children":7231},{"style":94},[7232],{"type":25,"value":982},{"type":20,"tag":87,"props":7234,"children":7236},{"class":89,"line":7235},215,[7237,7241,7245,7249,7254,7258],{"type":20,"tag":87,"props":7238,"children":7239},{"style":773},[7240],{"type":25,"value":991},{"type":20,"tag":87,"props":7242,"children":7243},{"style":94},[7244],{"type":25,"value":898},{"type":20,"tag":87,"props":7246,"children":7247},{"style":313},[7248],{"type":25,"value":132},{"type":20,"tag":87,"props":7250,"children":7251},{"style":94},[7252],{"type":25,"value":7253}," (event.loaded",{"type":20,"tag":87,"props":7255,"children":7256},{"style":313},[7257],{"type":25,"value":2894},{"type":20,"tag":87,"props":7259,"children":7260},{"style":94},[7261],{"type":25,"value":7262},"event.total);\n",{"type":20,"tag":87,"props":7264,"children":7266},{"class":89,"line":7265},216,[7267,7271,7275,7279],{"type":20,"tag":87,"props":7268,"children":7269},{"style":313},[7270],{"type":25,"value":2842},{"type":20,"tag":87,"props":7272,"children":7273},{"style":94},[7274],{"type":25,"value":963},{"type":20,"tag":87,"props":7276,"children":7277},{"style":773},[7278],{"type":25,"value":968},{"type":20,"tag":87,"props":7280,"children":7281},{"style":94},[7282],{"type":25,"value":973},{"type":20,"tag":87,"props":7284,"children":7286},{"class":89,"line":7285},217,[7287],{"type":20,"tag":87,"props":7288,"children":7289},{"style":94},[7290],{"type":25,"value":2530},{"type":20,"tag":87,"props":7292,"children":7294},{"class":89,"line":7293},218,[7295,7300,7304,7309,7313,7317,7321,7325,7329],{"type":20,"tag":87,"props":7296,"children":7297},{"style":773},[7298],{"type":25,"value":7299},"            this",{"type":20,"tag":87,"props":7301,"children":7302},{"style":94},[7303],{"type":25,"value":898},{"type":20,"tag":87,"props":7305,"children":7306},{"style":313},[7307],{"type":25,"value":7308},"*=",{"type":20,"tag":87,"props":7310,"children":7311},{"style":94},[7312],{"type":25,"value":963},{"type":20,"tag":87,"props":7314,"children":7315},{"style":773},[7316],{"type":25,"value":968},{"type":20,"tag":87,"props":7318,"children":7319},{"style":94},[7320],{"type":25,"value":1730},{"type":20,"tag":87,"props":7322,"children":7323},{"style":313},[7324],{"type":25,"value":2894},{"type":20,"tag":87,"props":7326,"children":7327},{"style":773},[7328],{"type":25,"value":968},{"type":20,"tag":87,"props":7330,"children":7331},{"style":94},[7332],{"type":25,"value":1071},{"type":20,"tag":87,"props":7334,"children":7336},{"class":89,"line":7335},219,[7337],{"type":20,"tag":87,"props":7338,"children":7339},{"style":94},[7340],{"type":25,"value":2740},{"type":20,"tag":87,"props":7342,"children":7344},{"class":89,"line":7343},220,[7345,7349,7354,7358,7362,7366],{"type":20,"tag":87,"props":7346,"children":7347},{"style":773},[7348],{"type":25,"value":991},{"type":20,"tag":87,"props":7350,"children":7351},{"style":94},[7352],{"type":25,"value":7353},".time.end ",{"type":20,"tag":87,"props":7355,"children":7356},{"style":313},[7357],{"type":25,"value":132},{"type":20,"tag":87,"props":7359,"children":7360},{"style":313},[7361],{"type":25,"value":6632},{"type":20,"tag":87,"props":7363,"children":7364},{"style":124},[7365],{"type":25,"value":6637},{"type":20,"tag":87,"props":7367,"children":7368},{"style":94},[7369],{"type":25,"value":366},{"type":20,"tag":87,"props":7371,"children":7373},{"class":89,"line":7372},221,[7374,7378,7383,7387,7391,7395,7400,7405,7409,7414,7418,7422,7426,7431,7436,7440,7445,7449,7454],{"type":20,"tag":87,"props":7375,"children":7376},{"style":773},[7377],{"type":25,"value":991},{"type":20,"tag":87,"props":7379,"children":7380},{"style":94},[7381],{"type":25,"value":7382},".time.speed ",{"type":20,"tag":87,"props":7384,"children":7385},{"style":313},[7386],{"type":25,"value":132},{"type":20,"tag":87,"props":7388,"children":7389},{"style":94},[7390],{"type":25,"value":963},{"type":20,"tag":87,"props":7392,"children":7393},{"style":773},[7394],{"type":25,"value":968},{"type":20,"tag":87,"props":7396,"children":7397},{"style":94},[7398],{"type":25,"value":7399},".file.size",{"type":20,"tag":87,"props":7401,"children":7402},{"style":313},[7403],{"type":25,"value":7404},"*",{"type":20,"tag":87,"props":7406,"children":7407},{"style":773},[7408],{"type":25,"value":968},{"type":20,"tag":87,"props":7410,"children":7411},{"style":94},[7412],{"type":25,"value":7413},".progress)",{"type":20,"tag":87,"props":7415,"children":7416},{"style":313},[7417],{"type":25,"value":2894},{"type":20,"tag":87,"props":7419,"children":7420},{"style":94},[7421],{"type":25,"value":264},{"type":20,"tag":87,"props":7423,"children":7424},{"style":773},[7425],{"type":25,"value":968},{"type":20,"tag":87,"props":7427,"children":7428},{"style":94},[7429],{"type":25,"value":7430},".time.end",{"type":20,"tag":87,"props":7432,"children":7433},{"style":313},[7434],{"type":25,"value":7435},"-",{"type":20,"tag":87,"props":7437,"children":7438},{"style":773},[7439],{"type":25,"value":968},{"type":20,"tag":87,"props":7441,"children":7442},{"style":94},[7443],{"type":25,"value":7444},".time.start)",{"type":20,"tag":87,"props":7446,"children":7447},{"style":313},[7448],{"type":25,"value":7404},{"type":20,"tag":87,"props":7450,"children":7451},{"style":773},[7452],{"type":25,"value":7453},"1000",{"type":20,"tag":87,"props":7455,"children":7456},{"style":94},[7457],{"type":25,"value":781},{"type":20,"tag":87,"props":7459,"children":7461},{"class":89,"line":7460},222,[7462,7467,7472,7476,7481,7485,7489,7493,7497,7501,7506,7511,7515,7519],{"type":20,"tag":87,"props":7463,"children":7464},{"style":94},[7465],{"type":25,"value":7466},"        console.",{"type":20,"tag":87,"props":7468,"children":7469},{"style":124},[7470],{"type":25,"value":7471},"log",{"type":20,"tag":87,"props":7473,"children":7474},{"style":94},[7475],{"type":25,"value":264},{"type":20,"tag":87,"props":7477,"children":7478},{"style":135},[7479],{"type":25,"value":7480},"'time:'",{"type":20,"tag":87,"props":7482,"children":7483},{"style":94},[7484],{"type":25,"value":310},{"type":20,"tag":87,"props":7486,"children":7487},{"style":773},[7488],{"type":25,"value":968},{"type":20,"tag":87,"props":7490,"children":7491},{"style":94},[7492],{"type":25,"value":7430},{"type":20,"tag":87,"props":7494,"children":7495},{"style":313},[7496],{"type":25,"value":7435},{"type":20,"tag":87,"props":7498,"children":7499},{"style":773},[7500],{"type":25,"value":968},{"type":20,"tag":87,"props":7502,"children":7503},{"style":94},[7504],{"type":25,"value":7505},".time.start, ",{"type":20,"tag":87,"props":7507,"children":7508},{"style":135},[7509],{"type":25,"value":7510},"'speed:'",{"type":20,"tag":87,"props":7512,"children":7513},{"style":94},[7514],{"type":25,"value":310},{"type":20,"tag":87,"props":7516,"children":7517},{"style":773},[7518],{"type":25,"value":968},{"type":20,"tag":87,"props":7520,"children":7521},{"style":94},[7522],{"type":25,"value":7523},".time.speed);\n",{"type":20,"tag":87,"props":7525,"children":7527},{"class":89,"line":7526},223,[7528,7532,7536,7540,7544,7549,7554,7558,7563,7567],{"type":20,"tag":87,"props":7529,"children":7530},{"style":773},[7531],{"type":25,"value":991},{"type":20,"tag":87,"props":7533,"children":7534},{"style":94},[7535],{"type":25,"value":1331},{"type":20,"tag":87,"props":7537,"children":7538},{"style":124},[7539],{"type":25,"value":2867},{"type":20,"tag":87,"props":7541,"children":7542},{"style":94},[7543],{"type":25,"value":2758},{"type":20,"tag":87,"props":7545,"children":7546},{"style":773},[7547],{"type":25,"value":7548},"FILE_UPLOAD_PROGRESS",{"type":20,"tag":87,"props":7550,"children":7551},{"style":94},[7552],{"type":25,"value":7553},", file_name:",{"type":20,"tag":87,"props":7555,"children":7556},{"style":773},[7557],{"type":25,"value":968},{"type":20,"tag":87,"props":7559,"children":7560},{"style":94},[7561],{"type":25,"value":7562},".file.name, speed:",{"type":20,"tag":87,"props":7564,"children":7565},{"style":773},[7566],{"type":25,"value":968},{"type":20,"tag":87,"props":7568,"children":7569},{"style":94},[7570],{"type":25,"value":7571},".time.speed,\n",{"type":20,"tag":87,"props":7573,"children":7575},{"class":89,"line":7574},224,[7576,7581,7585],{"type":20,"tag":87,"props":7577,"children":7578},{"style":94},[7579],{"type":25,"value":7580},"            progress:",{"type":20,"tag":87,"props":7582,"children":7583},{"style":773},[7584],{"type":25,"value":968},{"type":20,"tag":87,"props":7586,"children":7587},{"style":94},[7588],{"type":25,"value":7589},".progress});\n",{"type":20,"tag":87,"props":7591,"children":7593},{"class":89,"line":7592},225,[7594],{"type":20,"tag":87,"props":7595,"children":7596},{"style":94},[7597],{"type":25,"value":1080},{"type":20,"tag":87,"props":7599,"children":7601},{"class":89,"line":7600},226,[7602],{"type":20,"tag":87,"props":7603,"children":7604},{"style":94},[7605],{"type":25,"value":3087},{"type":20,"tag":87,"props":7607,"children":7609},{"class":89,"line":7608},227,[7610],{"type":20,"tag":87,"props":7611,"children":7612},{"emptyLinePlaceholder":399},[7613],{"type":25,"value":402},{"type":20,"tag":87,"props":7615,"children":7617},{"class":89,"line":7616},228,[7618,7622,7626,7630,7634,7638,7642,7646,7650,7654],{"type":20,"tag":87,"props":7619,"children":7620},{"style":773},[7621],{"type":25,"value":1393},{"type":20,"tag":87,"props":7623,"children":7624},{"style":94},[7625],{"type":25,"value":1296},{"type":20,"tag":87,"props":7627,"children":7628},{"style":773},[7629],{"type":25,"value":1402},{"type":20,"tag":87,"props":7631,"children":7632},{"style":94},[7633],{"type":25,"value":1296},{"type":20,"tag":87,"props":7635,"children":7636},{"style":124},[7637],{"type":25,"value":1263},{"type":20,"tag":87,"props":7639,"children":7640},{"style":313},[7641],{"type":25,"value":1415},{"type":20,"tag":87,"props":7643,"children":7644},{"style":313},[7645],{"type":25,"value":1420},{"type":20,"tag":87,"props":7647,"children":7648},{"style":94},[7649],{"type":25,"value":264},{"type":20,"tag":87,"props":7651,"children":7652},{"style":323},[7653],{"type":25,"value":326},{"type":20,"tag":87,"props":7655,"children":7656},{"style":94},[7657],{"type":25,"value":331},{"type":20,"tag":87,"props":7659,"children":7661},{"class":89,"line":7660},229,[7662,7666,7670,7674,7678,7683],{"type":20,"tag":87,"props":7663,"children":7664},{"style":773},[7665],{"type":25,"value":796},{"type":20,"tag":87,"props":7667,"children":7668},{"style":94},[7669],{"type":25,"value":1331},{"type":20,"tag":87,"props":7671,"children":7672},{"style":124},[7673],{"type":25,"value":2753},{"type":20,"tag":87,"props":7675,"children":7676},{"style":94},[7677],{"type":25,"value":2758},{"type":20,"tag":87,"props":7679,"children":7680},{"style":773},[7681],{"type":25,"value":7682},"FILE_UPLOAD_ERROR",{"type":20,"tag":87,"props":7684,"children":7685},{"style":94},[7686],{"type":25,"value":7687},", error:event});\n",{"type":20,"tag":87,"props":7689,"children":7691},{"class":89,"line":7690},230,[7692],{"type":20,"tag":87,"props":7693,"children":7694},{"style":94},[7695],{"type":25,"value":1349},{"type":20,"tag":87,"props":7697,"children":7699},{"class":89,"line":7698},231,[7700],{"type":20,"tag":87,"props":7701,"children":7702},{"emptyLinePlaceholder":399},[7703],{"type":25,"value":402},{"type":20,"tag":87,"props":7705,"children":7707},{"class":89,"line":7706},232,[7708],{"type":20,"tag":87,"props":7709,"children":7710},{"style":540},[7711],{"type":25,"value":1366},{"type":20,"tag":87,"props":7713,"children":7715},{"class":89,"line":7714},233,[7716],{"type":20,"tag":87,"props":7717,"children":7718},{"style":540},[7719],{"type":25,"value":7720}," * Called when we've completed an upload (full file or chunk). If full file, or we've reached the last chunk,\n",{"type":20,"tag":87,"props":7722,"children":7724},{"class":89,"line":7723},234,[7725],{"type":20,"tag":87,"props":7726,"children":7727},{"style":540},[7728],{"type":25,"value":7729}," * the upload is complete. Otherwise, we calculate the next chunk offsets and, if the upload isn't paused,\n",{"type":20,"tag":87,"props":7731,"children":7733},{"class":89,"line":7732},235,[7734],{"type":20,"tag":87,"props":7735,"children":7736},{"style":540},[7737],{"type":25,"value":7738}," * upload it.\n",{"type":20,"tag":87,"props":7740,"children":7742},{"class":89,"line":7741},236,[7743],{"type":20,"tag":87,"props":7744,"children":7745},{"style":540},[7746],{"type":25,"value":1384},{"type":20,"tag":87,"props":7748,"children":7750},{"class":89,"line":7749},237,[7751,7755,7759,7763,7767,7771,7775,7779],{"type":20,"tag":87,"props":7752,"children":7753},{"style":773},[7754],{"type":25,"value":1393},{"type":20,"tag":87,"props":7756,"children":7757},{"style":94},[7758],{"type":25,"value":1296},{"type":20,"tag":87,"props":7760,"children":7761},{"style":773},[7762],{"type":25,"value":1402},{"type":20,"tag":87,"props":7764,"children":7765},{"style":94},[7766],{"type":25,"value":1296},{"type":20,"tag":87,"props":7768,"children":7769},{"style":124},[7770],{"type":25,"value":1133},{"type":20,"tag":87,"props":7772,"children":7773},{"style":313},[7774],{"type":25,"value":1415},{"type":20,"tag":87,"props":7776,"children":7777},{"style":313},[7778],{"type":25,"value":1420},{"type":20,"tag":87,"props":7780,"children":7781},{"style":94},[7782],{"type":25,"value":1425},{"type":20,"tag":87,"props":7784,"children":7786},{"class":89,"line":7785},238,[7787,7791,7795,7799,7803,7807],{"type":20,"tag":87,"props":7788,"children":7789},{"style":773},[7790],{"type":25,"value":796},{"type":20,"tag":87,"props":7792,"children":7793},{"style":94},[7794],{"type":25,"value":7353},{"type":20,"tag":87,"props":7796,"children":7797},{"style":313},[7798],{"type":25,"value":132},{"type":20,"tag":87,"props":7800,"children":7801},{"style":313},[7802],{"type":25,"value":6632},{"type":20,"tag":87,"props":7804,"children":7805},{"style":124},[7806],{"type":25,"value":6637},{"type":20,"tag":87,"props":7808,"children":7809},{"style":94},[7810],{"type":25,"value":366},{"type":20,"tag":87,"props":7812,"children":7814},{"class":89,"line":7813},239,[7815,7819,7823,7827,7831,7836,7840,7844,7848,7852,7856],{"type":20,"tag":87,"props":7816,"children":7817},{"style":313},[7818],{"type":25,"value":958},{"type":20,"tag":87,"props":7820,"children":7821},{"style":94},[7822],{"type":25,"value":963},{"type":20,"tag":87,"props":7824,"children":7825},{"style":313},[7826],{"type":25,"value":4648},{"type":20,"tag":87,"props":7828,"children":7829},{"style":773},[7830],{"type":25,"value":968},{"type":20,"tag":87,"props":7832,"children":7833},{"style":94},[7834],{"type":25,"value":7835},".options.chunked ",{"type":20,"tag":87,"props":7837,"children":7838},{"style":313},[7839],{"type":25,"value":1868},{"type":20,"tag":87,"props":7841,"children":7842},{"style":773},[7843],{"type":25,"value":776},{"type":20,"tag":87,"props":7845,"children":7846},{"style":94},[7847],{"type":25,"value":1021},{"type":20,"tag":87,"props":7849,"children":7850},{"style":313},[7851],{"type":25,"value":2986},{"type":20,"tag":87,"props":7853,"children":7854},{"style":773},[7855],{"type":25,"value":776},{"type":20,"tag":87,"props":7857,"children":7858},{"style":94},[7859],{"type":25,"value":7860},".file.size)\n",{"type":20,"tag":87,"props":7862,"children":7864},{"class":89,"line":7863},240,[7865],{"type":20,"tag":87,"props":7866,"children":7867},{"style":94},[7868],{"type":25,"value":982},{"type":20,"tag":87,"props":7870,"children":7872},{"class":89,"line":7871},241,[7873,7877,7881,7886],{"type":20,"tag":87,"props":7874,"children":7875},{"style":773},[7876],{"type":25,"value":991},{"type":20,"tag":87,"props":7878,"children":7879},{"style":94},[7880],{"type":25,"value":1296},{"type":20,"tag":87,"props":7882,"children":7883},{"style":124},[7884],{"type":25,"value":7885},"uploadComplete",{"type":20,"tag":87,"props":7887,"children":7888},{"style":94},[7889],{"type":25,"value":366},{"type":20,"tag":87,"props":7891,"children":7893},{"class":89,"line":7892},242,[7894,7898],{"type":20,"tag":87,"props":7895,"children":7896},{"style":313},[7897],{"type":25,"value":4737},{"type":20,"tag":87,"props":7899,"children":7900},{"style":94},[7901],{"type":25,"value":781},{"type":20,"tag":87,"props":7903,"children":7905},{"class":89,"line":7904},243,[7906],{"type":20,"tag":87,"props":7907,"children":7908},{"style":94},[7909],{"type":25,"value":1080},{"type":20,"tag":87,"props":7911,"children":7913},{"class":89,"line":7912},244,[7914],{"type":20,"tag":87,"props":7915,"children":7916},{"emptyLinePlaceholder":399},[7917],{"type":25,"value":402},{"type":20,"tag":87,"props":7919,"children":7921},{"class":89,"line":7920},245,[7922,7926,7930,7934,7938,7942,7946,7950],{"type":20,"tag":87,"props":7923,"children":7924},{"style":773},[7925],{"type":25,"value":796},{"type":20,"tag":87,"props":7927,"children":7928},{"style":94},[7929],{"type":25,"value":1331},{"type":20,"tag":87,"props":7931,"children":7932},{"style":124},[7933],{"type":25,"value":2867},{"type":20,"tag":87,"props":7935,"children":7936},{"style":94},[7937],{"type":25,"value":2758},{"type":20,"tag":87,"props":7939,"children":7940},{"style":773},[7941],{"type":25,"value":7548},{"type":20,"tag":87,"props":7943,"children":7944},{"style":94},[7945],{"type":25,"value":7553},{"type":20,"tag":87,"props":7947,"children":7948},{"style":773},[7949],{"type":25,"value":968},{"type":20,"tag":87,"props":7951,"children":7952},{"style":94},[7953],{"type":25,"value":7954},".file.name,\n",{"type":20,"tag":87,"props":7956,"children":7958},{"class":89,"line":7957},246,[7959,7964,7968,7972,7977,7981,7985,7990,7994],{"type":20,"tag":87,"props":7960,"children":7961},{"style":94},[7962],{"type":25,"value":7963},"        response:",{"type":20,"tag":87,"props":7965,"children":7966},{"style":773},[7967],{"type":25,"value":968},{"type":20,"tag":87,"props":7969,"children":7970},{"style":94},[7971],{"type":25,"value":1296},{"type":20,"tag":87,"props":7973,"children":7974},{"style":124},[7975],{"type":25,"value":7976},"parseResponse",{"type":20,"tag":87,"props":7978,"children":7979},{"style":94},[7980],{"type":25,"value":264},{"type":20,"tag":87,"props":7982,"children":7983},{"style":773},[7984],{"type":25,"value":968},{"type":20,"tag":87,"props":7986,"children":7987},{"style":94},[7988],{"type":25,"value":7989},".xhr.responseText), progress:",{"type":20,"tag":87,"props":7991,"children":7992},{"style":773},[7993],{"type":25,"value":968},{"type":20,"tag":87,"props":7995,"children":7996},{"style":94},[7997],{"type":25,"value":7589},{"type":20,"tag":87,"props":7999,"children":8001},{"class":89,"line":8000},247,[8002],{"type":20,"tag":87,"props":8003,"children":8004},{"emptyLinePlaceholder":399},[8005],{"type":25,"value":402},{"type":20,"tag":87,"props":8007,"children":8009},{"class":89,"line":8008},248,[8010,8014,8018,8022,8026],{"type":20,"tag":87,"props":8011,"children":8012},{"style":773},[8013],{"type":25,"value":796},{"type":20,"tag":87,"props":8015,"children":8016},{"style":94},[8017],{"type":25,"value":996},{"type":20,"tag":87,"props":8019,"children":8020},{"style":313},[8021],{"type":25,"value":132},{"type":20,"tag":87,"props":8023,"children":8024},{"style":773},[8025],{"type":25,"value":776},{"type":20,"tag":87,"props":8027,"children":8028},{"style":94},[8029],{"type":25,"value":8030},".end;\n",{"type":20,"tag":87,"props":8032,"children":8034},{"class":89,"line":8033},249,[8035,8039,8043,8047,8051,8055,8059,8063,8067,8071,8075,8079,8083],{"type":20,"tag":87,"props":8036,"children":8037},{"style":773},[8038],{"type":25,"value":796},{"type":20,"tag":87,"props":8040,"children":8041},{"style":94},[8042],{"type":25,"value":1021},{"type":20,"tag":87,"props":8044,"children":8045},{"style":313},[8046],{"type":25,"value":132},{"type":20,"tag":87,"props":8048,"children":8049},{"style":94},[8050],{"type":25,"value":1030},{"type":20,"tag":87,"props":8052,"children":8053},{"style":124},[8054],{"type":25,"value":1035},{"type":20,"tag":87,"props":8056,"children":8057},{"style":94},[8058],{"type":25,"value":264},{"type":20,"tag":87,"props":8060,"children":8061},{"style":773},[8062],{"type":25,"value":968},{"type":20,"tag":87,"props":8064,"children":8065},{"style":94},[8066],{"type":25,"value":1048},{"type":20,"tag":87,"props":8068,"children":8069},{"style":313},[8070],{"type":25,"value":1053},{"type":20,"tag":87,"props":8072,"children":8073},{"style":773},[8074],{"type":25,"value":968},{"type":20,"tag":87,"props":8076,"children":8077},{"style":94},[8078],{"type":25,"value":1062},{"type":20,"tag":87,"props":8080,"children":8081},{"style":773},[8082],{"type":25,"value":968},{"type":20,"tag":87,"props":8084,"children":8085},{"style":94},[8086],{"type":25,"value":1071},{"type":20,"tag":87,"props":8088,"children":8090},{"class":89,"line":8089},250,[8091],{"type":20,"tag":87,"props":8092,"children":8093},{"emptyLinePlaceholder":399},[8094],{"type":25,"value":402},{"type":20,"tag":87,"props":8096,"children":8098},{"class":89,"line":8097},251,[8099,8103,8107,8111,8115],{"type":20,"tag":87,"props":8100,"children":8101},{"style":313},[8102],{"type":25,"value":958},{"type":20,"tag":87,"props":8104,"children":8105},{"style":94},[8106],{"type":25,"value":963},{"type":20,"tag":87,"props":8108,"children":8109},{"style":313},[8110],{"type":25,"value":4648},{"type":20,"tag":87,"props":8112,"children":8113},{"style":773},[8114],{"type":25,"value":968},{"type":20,"tag":87,"props":8116,"children":8117},{"style":94},[8118],{"type":25,"value":8119},".paused)\n",{"type":20,"tag":87,"props":8121,"children":8123},{"class":89,"line":8122},252,[8124],{"type":20,"tag":87,"props":8125,"children":8126},{"style":94},[8127],{"type":25,"value":982},{"type":20,"tag":87,"props":8129,"children":8131},{"class":89,"line":8130},253,[8132,8136,8140,8144],{"type":20,"tag":87,"props":8133,"children":8134},{"style":773},[8135],{"type":25,"value":991},{"type":20,"tag":87,"props":8137,"children":8138},{"style":94},[8139],{"type":25,"value":1296},{"type":20,"tag":87,"props":8141,"children":8142},{"style":124},[8143],{"type":25,"value":1301},{"type":20,"tag":87,"props":8145,"children":8146},{"style":94},[8147],{"type":25,"value":366},{"type":20,"tag":87,"props":8149,"children":8151},{"class":89,"line":8150},254,[8152],{"type":20,"tag":87,"props":8153,"children":8154},{"style":94},[8155],{"type":25,"value":1080},{"type":20,"tag":87,"props":8157,"children":8159},{"class":89,"line":8158},255,[8160],{"type":20,"tag":87,"props":8161,"children":8162},{"style":94},[8163],{"type":25,"value":3087},{"type":20,"tag":87,"props":8165,"children":8167},{"class":89,"line":8166},256,[8168],{"type":20,"tag":87,"props":8169,"children":8170},{"emptyLinePlaceholder":399},[8171],{"type":25,"value":402},{"type":20,"tag":87,"props":8173,"children":8175},{"class":89,"line":8174},257,[8176],{"type":20,"tag":87,"props":8177,"children":8178},{"style":540},[8179],{"type":25,"value":1366},{"type":20,"tag":87,"props":8181,"children":8183},{"class":89,"line":8182},258,[8184],{"type":20,"tag":87,"props":8185,"children":8186},{"style":540},[8187],{"type":25,"value":8188}," * Called when the full file has been uploaded.\n",{"type":20,"tag":87,"props":8190,"children":8192},{"class":89,"line":8191},259,[8193],{"type":20,"tag":87,"props":8194,"children":8195},{"style":540},[8196],{"type":25,"value":1384},{"type":20,"tag":87,"props":8198,"children":8200},{"class":89,"line":8199},260,[8201,8205,8209,8213,8217,8221,8225,8229],{"type":20,"tag":87,"props":8202,"children":8203},{"style":773},[8204],{"type":25,"value":1393},{"type":20,"tag":87,"props":8206,"children":8207},{"style":94},[8208],{"type":25,"value":1296},{"type":20,"tag":87,"props":8210,"children":8211},{"style":773},[8212],{"type":25,"value":1402},{"type":20,"tag":87,"props":8214,"children":8215},{"style":94},[8216],{"type":25,"value":1296},{"type":20,"tag":87,"props":8218,"children":8219},{"style":124},[8220],{"type":25,"value":7885},{"type":20,"tag":87,"props":8222,"children":8223},{"style":313},[8224],{"type":25,"value":1415},{"type":20,"tag":87,"props":8226,"children":8227},{"style":313},[8228],{"type":25,"value":1420},{"type":20,"tag":87,"props":8230,"children":8231},{"style":94},[8232],{"type":25,"value":1425},{"type":20,"tag":87,"props":8234,"children":8236},{"class":89,"line":8235},261,[8237,8241,8245,8249,8253,8258,8262,8266],{"type":20,"tag":87,"props":8238,"children":8239},{"style":773},[8240],{"type":25,"value":796},{"type":20,"tag":87,"props":8242,"children":8243},{"style":94},[8244],{"type":25,"value":1331},{"type":20,"tag":87,"props":8246,"children":8247},{"style":124},[8248],{"type":25,"value":3022},{"type":20,"tag":87,"props":8250,"children":8251},{"style":94},[8252],{"type":25,"value":2758},{"type":20,"tag":87,"props":8254,"children":8255},{"style":773},[8256],{"type":25,"value":8257},"FILE_UPLOAD_FINISHED",{"type":20,"tag":87,"props":8259,"children":8260},{"style":94},[8261],{"type":25,"value":7553},{"type":20,"tag":87,"props":8263,"children":8264},{"style":773},[8265],{"type":25,"value":968},{"type":20,"tag":87,"props":8267,"children":8268},{"style":94},[8269],{"type":25,"value":7954},{"type":20,"tag":87,"props":8271,"children":8273},{"class":89,"line":8272},262,[8274,8279,8283,8288,8292],{"type":20,"tag":87,"props":8275,"children":8276},{"style":94},[8277],{"type":25,"value":8278},"        file_size:",{"type":20,"tag":87,"props":8280,"children":8281},{"style":773},[8282],{"type":25,"value":968},{"type":20,"tag":87,"props":8284,"children":8285},{"style":94},[8286],{"type":25,"value":8287},".file.size, file_type:",{"type":20,"tag":87,"props":8289,"children":8290},{"style":773},[8291],{"type":25,"value":968},{"type":20,"tag":87,"props":8293,"children":8294},{"style":94},[8295],{"type":25,"value":8296},".file.type,\n",{"type":20,"tag":87,"props":8298,"children":8300},{"class":89,"line":8299},263,[8301,8305,8309,8313,8317,8321,8325],{"type":20,"tag":87,"props":8302,"children":8303},{"style":94},[8304],{"type":25,"value":7963},{"type":20,"tag":87,"props":8306,"children":8307},{"style":773},[8308],{"type":25,"value":968},{"type":20,"tag":87,"props":8310,"children":8311},{"style":94},[8312],{"type":25,"value":1296},{"type":20,"tag":87,"props":8314,"children":8315},{"style":124},[8316],{"type":25,"value":7976},{"type":20,"tag":87,"props":8318,"children":8319},{"style":94},[8320],{"type":25,"value":264},{"type":20,"tag":87,"props":8322,"children":8323},{"style":773},[8324],{"type":25,"value":968},{"type":20,"tag":87,"props":8326,"children":8327},{"style":94},[8328],{"type":25,"value":8329},".xhr.responseText)});\n",{"type":20,"tag":87,"props":8331,"children":8333},{"class":89,"line":8332},264,[8334],{"type":20,"tag":87,"props":8335,"children":8336},{"style":94},[8337],{"type":25,"value":3087},{"type":20,"tag":87,"props":8339,"children":8341},{"class":89,"line":8340},265,[8342],{"type":20,"tag":87,"props":8343,"children":8344},{"emptyLinePlaceholder":399},[8345],{"type":25,"value":402},{"type":20,"tag":87,"props":8347,"children":8349},{"class":89,"line":8348},266,[8350],{"type":20,"tag":87,"props":8351,"children":8352},{"style":540},[8353],{"type":25,"value":1366},{"type":20,"tag":87,"props":8355,"children":8357},{"class":89,"line":8356},267,[8358],{"type":20,"tag":87,"props":8359,"children":8360},{"style":540},[8361],{"type":25,"value":8362}," * Try to parse the response as a JSON, and on failure return the error and the plaintext.\n",{"type":20,"tag":87,"props":8364,"children":8366},{"class":89,"line":8365},268,[8367,8371,8375],{"type":20,"tag":87,"props":8368,"children":8369},{"style":540},[8370],{"type":25,"value":3356},{"type":20,"tag":87,"props":8372,"children":8373},{"style":313},[8374],{"type":25,"value":655},{"type":20,"tag":87,"props":8376,"children":8377},{"style":94},[8378],{"type":25,"value":8379}," response\n",{"type":20,"tag":87,"props":8381,"children":8383},{"class":89,"line":8382},269,[8384,8388,8392],{"type":20,"tag":87,"props":8385,"children":8386},{"style":540},[8387],{"type":25,"value":3356},{"type":20,"tag":87,"props":8389,"children":8390},{"style":313},[8391],{"type":25,"value":688},{"type":20,"tag":87,"props":8393,"children":8394},{"style":124},[8395],{"type":25,"value":8396}," {Object}\n",{"type":20,"tag":87,"props":8398,"children":8400},{"class":89,"line":8399},270,[8401],{"type":20,"tag":87,"props":8402,"children":8403},{"style":540},[8404],{"type":25,"value":1384},{"type":20,"tag":87,"props":8406,"children":8408},{"class":89,"line":8407},271,[8409,8413,8417,8421,8425,8429,8433,8437,8441,8446],{"type":20,"tag":87,"props":8410,"children":8411},{"style":773},[8412],{"type":25,"value":1393},{"type":20,"tag":87,"props":8414,"children":8415},{"style":94},[8416],{"type":25,"value":1296},{"type":20,"tag":87,"props":8418,"children":8419},{"style":773},[8420],{"type":25,"value":1402},{"type":20,"tag":87,"props":8422,"children":8423},{"style":94},[8424],{"type":25,"value":1296},{"type":20,"tag":87,"props":8426,"children":8427},{"style":124},[8428],{"type":25,"value":7976},{"type":20,"tag":87,"props":8430,"children":8431},{"style":313},[8432],{"type":25,"value":1415},{"type":20,"tag":87,"props":8434,"children":8435},{"style":313},[8436],{"type":25,"value":1420},{"type":20,"tag":87,"props":8438,"children":8439},{"style":94},[8440],{"type":25,"value":264},{"type":20,"tag":87,"props":8442,"children":8443},{"style":323},[8444],{"type":25,"value":8445},"response",{"type":20,"tag":87,"props":8447,"children":8448},{"style":94},[8449],{"type":25,"value":3001},{"type":20,"tag":87,"props":8451,"children":8453},{"class":89,"line":8452},272,[8454],{"type":20,"tag":87,"props":8455,"children":8456},{"style":94},[8457],{"type":25,"value":3423},{"type":20,"tag":87,"props":8459,"children":8461},{"class":89,"line":8460},273,[8462,8466],{"type":20,"tag":87,"props":8463,"children":8464},{"style":313},[8465],{"type":25,"value":2361},{"type":20,"tag":87,"props":8467,"children":8468},{"style":94},[8469],{"type":25,"value":8470}," response;\n",{"type":20,"tag":87,"props":8472,"children":8474},{"class":89,"line":8473},274,[8475,8480],{"type":20,"tag":87,"props":8476,"children":8477},{"style":313},[8478],{"type":25,"value":8479},"    try",{"type":20,"tag":87,"props":8481,"children":8482},{"style":94},[8483],{"type":25,"value":3423},{"type":20,"tag":87,"props":8485,"children":8487},{"class":89,"line":8486},275,[8488,8493,8497,8502,8506,8511,8515,8519],{"type":20,"tag":87,"props":8489,"children":8490},{"style":94},[8491],{"type":25,"value":8492},"        response ",{"type":20,"tag":87,"props":8494,"children":8495},{"style":313},[8496],{"type":25,"value":132},{"type":20,"tag":87,"props":8498,"children":8499},{"style":773},[8500],{"type":25,"value":8501}," JSON",{"type":20,"tag":87,"props":8503,"children":8504},{"style":94},[8505],{"type":25,"value":1296},{"type":20,"tag":87,"props":8507,"children":8508},{"style":124},[8509],{"type":25,"value":8510},"parse",{"type":20,"tag":87,"props":8512,"children":8513},{"style":94},[8514],{"type":25,"value":264},{"type":20,"tag":87,"props":8516,"children":8517},{"style":773},[8518],{"type":25,"value":968},{"type":20,"tag":87,"props":8520,"children":8521},{"style":94},[8522],{"type":25,"value":8523},".xhr.responseText);\n",{"type":20,"tag":87,"props":8525,"children":8527},{"class":89,"line":8526},276,[8528,8533,8538],{"type":20,"tag":87,"props":8529,"children":8530},{"style":94},[8531],{"type":25,"value":8532},"    }",{"type":20,"tag":87,"props":8534,"children":8535},{"style":313},[8536],{"type":25,"value":8537},"catch",{"type":20,"tag":87,"props":8539,"children":8540},{"style":94},[8541],{"type":25,"value":8542},"(e){\n",{"type":20,"tag":87,"props":8544,"children":8546},{"class":89,"line":8545},277,[8547,8551,8555,8560,8564],{"type":20,"tag":87,"props":8548,"children":8549},{"style":94},[8550],{"type":25,"value":8492},{"type":20,"tag":87,"props":8552,"children":8553},{"style":313},[8554],{"type":25,"value":132},{"type":20,"tag":87,"props":8556,"children":8557},{"style":94},[8558],{"type":25,"value":8559}," {error:e, text:",{"type":20,"tag":87,"props":8561,"children":8562},{"style":773},[8563],{"type":25,"value":968},{"type":20,"tag":87,"props":8565,"children":8566},{"style":94},[8567],{"type":25,"value":8568},".xhr.responseText};\n",{"type":20,"tag":87,"props":8570,"children":8572},{"class":89,"line":8571},278,[8573],{"type":20,"tag":87,"props":8574,"children":8575},{"style":94},[8576],{"type":25,"value":1080},{"type":20,"tag":87,"props":8578,"children":8580},{"class":89,"line":8579},279,[8581,8585],{"type":20,"tag":87,"props":8582,"children":8583},{"style":313},[8584],{"type":25,"value":1322},{"type":20,"tag":87,"props":8586,"children":8587},{"style":94},[8588],{"type":25,"value":8470},{"type":20,"tag":87,"props":8590,"children":8592},{"class":89,"line":8591},280,[8593],{"type":20,"tag":87,"props":8594,"children":8595},{"style":94},[8596],{"type":25,"value":1349},{"type":20,"tag":87,"props":8598,"children":8600},{"class":89,"line":8599},281,[8601],{"type":20,"tag":87,"props":8602,"children":8603},{"emptyLinePlaceholder":399},[8604],{"type":25,"value":402},{"type":20,"tag":87,"props":8606,"children":8608},{"class":89,"line":8607},282,[8609],{"type":20,"tag":87,"props":8610,"children":8611},{"style":540},[8612],{"type":25,"value":1366},{"type":20,"tag":87,"props":8614,"children":8616},{"class":89,"line":8615},283,[8617],{"type":20,"tag":87,"props":8618,"children":8619},{"style":540},[8620],{"type":25,"value":8621}," * Pause the upload (works for chunked uploads only).\n",{"type":20,"tag":87,"props":8623,"children":8625},{"class":89,"line":8624},284,[8626],{"type":20,"tag":87,"props":8627,"children":8628},{"style":540},[8629],{"type":25,"value":1384},{"type":20,"tag":87,"props":8631,"children":8633},{"class":89,"line":8632},285,[8634,8638,8642,8646,8650,8655,8659,8663],{"type":20,"tag":87,"props":8635,"children":8636},{"style":773},[8637],{"type":25,"value":1393},{"type":20,"tag":87,"props":8639,"children":8640},{"style":94},[8641],{"type":25,"value":1296},{"type":20,"tag":87,"props":8643,"children":8644},{"style":773},[8645],{"type":25,"value":1402},{"type":20,"tag":87,"props":8647,"children":8648},{"style":94},[8649],{"type":25,"value":1296},{"type":20,"tag":87,"props":8651,"children":8652},{"style":124},[8653],{"type":25,"value":8654},"pause",{"type":20,"tag":87,"props":8656,"children":8657},{"style":313},[8658],{"type":25,"value":1415},{"type":20,"tag":87,"props":8660,"children":8661},{"style":313},[8662],{"type":25,"value":1420},{"type":20,"tag":87,"props":8664,"children":8665},{"style":94},[8666],{"type":25,"value":1425},{"type":20,"tag":87,"props":8668,"children":8670},{"class":89,"line":8669},286,[8671,8675,8679,8683,8687],{"type":20,"tag":87,"props":8672,"children":8673},{"style":773},[8674],{"type":25,"value":796},{"type":20,"tag":87,"props":8676,"children":8677},{"style":94},[8678],{"type":25,"value":873},{"type":20,"tag":87,"props":8680,"children":8681},{"style":313},[8682],{"type":25,"value":132},{"type":20,"tag":87,"props":8684,"children":8685},{"style":773},[8686],{"type":25,"value":3790},{"type":20,"tag":87,"props":8688,"children":8689},{"style":94},[8690],{"type":25,"value":781},{"type":20,"tag":87,"props":8692,"children":8694},{"class":89,"line":8693},287,[8695,8699,8703,8707,8711,8716,8721,8725,8730,8734],{"type":20,"tag":87,"props":8696,"children":8697},{"style":773},[8698],{"type":25,"value":796},{"type":20,"tag":87,"props":8700,"children":8701},{"style":94},[8702],{"type":25,"value":1331},{"type":20,"tag":87,"props":8704,"children":8705},{"style":124},[8706],{"type":25,"value":2867},{"type":20,"tag":87,"props":8708,"children":8709},{"style":94},[8710],{"type":25,"value":2758},{"type":20,"tag":87,"props":8712,"children":8713},{"style":773},[8714],{"type":25,"value":8715},"FILE_UPLOAD_PAUSE",{"type":20,"tag":87,"props":8717,"children":8718},{"style":94},[8719],{"type":25,"value":8720},", current_range:{start:",{"type":20,"tag":87,"props":8722,"children":8723},{"style":773},[8724],{"type":25,"value":968},{"type":20,"tag":87,"props":8726,"children":8727},{"style":94},[8728],{"type":25,"value":8729},".start, end:",{"type":20,"tag":87,"props":8731,"children":8732},{"style":773},[8733],{"type":25,"value":968},{"type":20,"tag":87,"props":8735,"children":8736},{"style":94},[8737],{"type":25,"value":8738},".end,\n",{"type":20,"tag":87,"props":8740,"children":8742},{"class":89,"line":8741},288,[8743,8748,8752],{"type":20,"tag":87,"props":8744,"children":8745},{"style":94},[8746],{"type":25,"value":8747},"        total:",{"type":20,"tag":87,"props":8749,"children":8750},{"style":773},[8751],{"type":25,"value":968},{"type":20,"tag":87,"props":8753,"children":8754},{"style":94},[8755],{"type":25,"value":8756},".file.size}});\n",{"type":20,"tag":87,"props":8758,"children":8760},{"class":89,"line":8759},289,[8761],{"type":20,"tag":87,"props":8762,"children":8763},{"style":94},[8764],{"type":25,"value":1349},{"type":20,"tag":87,"props":8766,"children":8768},{"class":89,"line":8767},290,[8769],{"type":20,"tag":87,"props":8770,"children":8771},{"emptyLinePlaceholder":399},[8772],{"type":25,"value":402},{"type":20,"tag":87,"props":8774,"children":8776},{"class":89,"line":8775},291,[8777],{"type":20,"tag":87,"props":8778,"children":8779},{"style":540},[8780],{"type":25,"value":1366},{"type":20,"tag":87,"props":8782,"children":8784},{"class":89,"line":8783},292,[8785],{"type":20,"tag":87,"props":8786,"children":8787},{"style":540},[8788],{"type":25,"value":8789}," * Resume the upload (works for chunked uploads only).\n",{"type":20,"tag":87,"props":8791,"children":8793},{"class":89,"line":8792},293,[8794],{"type":20,"tag":87,"props":8795,"children":8796},{"style":540},[8797],{"type":25,"value":1384},{"type":20,"tag":87,"props":8799,"children":8801},{"class":89,"line":8800},294,[8802,8806,8810,8814,8818,8823,8827,8831],{"type":20,"tag":87,"props":8803,"children":8804},{"style":773},[8805],{"type":25,"value":1393},{"type":20,"tag":87,"props":8807,"children":8808},{"style":94},[8809],{"type":25,"value":1296},{"type":20,"tag":87,"props":8811,"children":8812},{"style":773},[8813],{"type":25,"value":1402},{"type":20,"tag":87,"props":8815,"children":8816},{"style":94},[8817],{"type":25,"value":1296},{"type":20,"tag":87,"props":8819,"children":8820},{"style":124},[8821],{"type":25,"value":8822},"resume",{"type":20,"tag":87,"props":8824,"children":8825},{"style":313},[8826],{"type":25,"value":1415},{"type":20,"tag":87,"props":8828,"children":8829},{"style":313},[8830],{"type":25,"value":1420},{"type":20,"tag":87,"props":8832,"children":8833},{"style":94},[8834],{"type":25,"value":1425},{"type":20,"tag":87,"props":8836,"children":8838},{"class":89,"line":8837},295,[8839,8843,8847,8851],{"type":20,"tag":87,"props":8840,"children":8841},{"style":313},[8842],{"type":25,"value":958},{"type":20,"tag":87,"props":8844,"children":8845},{"style":94},[8846],{"type":25,"value":963},{"type":20,"tag":87,"props":8848,"children":8849},{"style":773},[8850],{"type":25,"value":968},{"type":20,"tag":87,"props":8852,"children":8853},{"style":94},[8854],{"type":25,"value":8119},{"type":20,"tag":87,"props":8856,"children":8858},{"class":89,"line":8857},296,[8859],{"type":20,"tag":87,"props":8860,"children":8861},{"style":94},[8862],{"type":25,"value":982},{"type":20,"tag":87,"props":8864,"children":8866},{"class":89,"line":8865},297,[8867,8871,8875,8879,8883],{"type":20,"tag":87,"props":8868,"children":8869},{"style":773},[8870],{"type":25,"value":991},{"type":20,"tag":87,"props":8872,"children":8873},{"style":94},[8874],{"type":25,"value":873},{"type":20,"tag":87,"props":8876,"children":8877},{"style":313},[8878],{"type":25,"value":132},{"type":20,"tag":87,"props":8880,"children":8881},{"style":773},[8882],{"type":25,"value":882},{"type":20,"tag":87,"props":8884,"children":8885},{"style":94},[8886],{"type":25,"value":781},{"type":20,"tag":87,"props":8888,"children":8890},{"class":89,"line":8889},298,[8891,8895,8899,8903,8907,8912,8916,8920,8924,8928],{"type":20,"tag":87,"props":8892,"children":8893},{"style":773},[8894],{"type":25,"value":991},{"type":20,"tag":87,"props":8896,"children":8897},{"style":94},[8898],{"type":25,"value":1331},{"type":20,"tag":87,"props":8900,"children":8901},{"style":124},[8902],{"type":25,"value":2867},{"type":20,"tag":87,"props":8904,"children":8905},{"style":94},[8906],{"type":25,"value":2758},{"type":20,"tag":87,"props":8908,"children":8909},{"style":773},[8910],{"type":25,"value":8911},"FILE_UPLOAD_RESUME",{"type":20,"tag":87,"props":8913,"children":8914},{"style":94},[8915],{"type":25,"value":8720},{"type":20,"tag":87,"props":8917,"children":8918},{"style":773},[8919],{"type":25,"value":968},{"type":20,"tag":87,"props":8921,"children":8922},{"style":94},[8923],{"type":25,"value":8729},{"type":20,"tag":87,"props":8925,"children":8926},{"style":773},[8927],{"type":25,"value":968},{"type":20,"tag":87,"props":8929,"children":8930},{"style":94},[8931],{"type":25,"value":8738},{"type":20,"tag":87,"props":8933,"children":8935},{"class":89,"line":8934},299,[8936,8941,8945],{"type":20,"tag":87,"props":8937,"children":8938},{"style":94},[8939],{"type":25,"value":8940},"            total:",{"type":20,"tag":87,"props":8942,"children":8943},{"style":773},[8944],{"type":25,"value":968},{"type":20,"tag":87,"props":8946,"children":8947},{"style":94},[8948],{"type":25,"value":8756},{"type":20,"tag":87,"props":8950,"children":8952},{"class":89,"line":8951},300,[8953,8957,8961,8965],{"type":20,"tag":87,"props":8954,"children":8955},{"style":773},[8956],{"type":25,"value":991},{"type":20,"tag":87,"props":8958,"children":8959},{"style":94},[8960],{"type":25,"value":1296},{"type":20,"tag":87,"props":8962,"children":8963},{"style":124},[8964],{"type":25,"value":1301},{"type":20,"tag":87,"props":8966,"children":8967},{"style":94},[8968],{"type":25,"value":366},{"type":20,"tag":87,"props":8970,"children":8972},{"class":89,"line":8971},301,[8973],{"type":20,"tag":87,"props":8974,"children":8975},{"style":94},[8976],{"type":25,"value":1080},{"type":20,"tag":87,"props":8978,"children":8980},{"class":89,"line":8979},302,[8981],{"type":20,"tag":87,"props":8982,"children":8983},{"style":94},[8984],{"type":25,"value":1349},{"type":20,"tag":87,"props":8986,"children":8988},{"class":89,"line":8987},303,[8989],{"type":20,"tag":87,"props":8990,"children":8991},{"emptyLinePlaceholder":399},[8992],{"type":25,"value":402},{"type":20,"tag":87,"props":8994,"children":8996},{"class":89,"line":8995},304,[8997],{"type":20,"tag":87,"props":8998,"children":8999},{"style":540},[9000],{"type":25,"value":1366},{"type":20,"tag":87,"props":9002,"children":9004},{"class":89,"line":9003},305,[9005],{"type":20,"tag":87,"props":9006,"children":9007},{"style":540},[9008],{"type":25,"value":9009}," * Deferred wrapper for file reader.\n",{"type":20,"tag":87,"props":9011,"children":9013},{"class":89,"line":9012},306,[9014,9018,9022],{"type":20,"tag":87,"props":9015,"children":9016},{"style":540},[9017],{"type":25,"value":3356},{"type":20,"tag":87,"props":9019,"children":9020},{"style":313},[9021],{"type":25,"value":655},{"type":20,"tag":87,"props":9023,"children":9024},{"style":94},[9025],{"type":25,"value":2022},{"type":20,"tag":87,"props":9027,"children":9029},{"class":89,"line":9028},307,[9030,9034,9038],{"type":20,"tag":87,"props":9031,"children":9032},{"style":540},[9033],{"type":25,"value":3356},{"type":20,"tag":87,"props":9035,"children":9036},{"style":313},[9037],{"type":25,"value":655},{"type":20,"tag":87,"props":9039,"children":9040},{"style":94},[9041],{"type":25,"value":676},{"type":20,"tag":87,"props":9043,"children":9045},{"class":89,"line":9044},308,[9046,9050,9054,9058],{"type":20,"tag":87,"props":9047,"children":9048},{"style":540},[9049],{"type":25,"value":3356},{"type":20,"tag":87,"props":9051,"children":9052},{"style":313},[9053],{"type":25,"value":688},{"type":20,"tag":87,"props":9055,"children":9056},{"style":124},[9057],{"type":25,"value":693},{"type":20,"tag":87,"props":9059,"children":9060},{"style":540},[9061],{"type":25,"value":2057},{"type":20,"tag":87,"props":9063,"children":9065},{"class":89,"line":9064},309,[9066,9070],{"type":20,"tag":87,"props":9067,"children":9068},{"style":540},[9069],{"type":25,"value":3356},{"type":20,"tag":87,"props":9071,"children":9072},{"style":313},[9073],{"type":25,"value":710},{"type":20,"tag":87,"props":9075,"children":9077},{"class":89,"line":9076},310,[9078],{"type":20,"tag":87,"props":9079,"children":9080},{"style":540},[9081],{"type":25,"value":1384},{"type":20,"tag":87,"props":9083,"children":9085},{"class":89,"line":9084},311,[9086,9090,9094,9098,9102,9106,9110],{"type":20,"tag":87,"props":9087,"children":9088},{"style":313},[9089],{"type":25,"value":316},{"type":20,"tag":87,"props":9091,"children":9092},{"style":124},[9093],{"type":25,"value":2087},{"type":20,"tag":87,"props":9095,"children":9096},{"style":94},[9097],{"type":25,"value":264},{"type":20,"tag":87,"props":9099,"children":9100},{"style":323},[9101],{"type":25,"value":2096},{"type":20,"tag":87,"props":9103,"children":9104},{"style":94},[9105],{"type":25,"value":310},{"type":20,"tag":87,"props":9107,"children":9108},{"style":323},[9109],{"type":25,"value":749},{"type":20,"tag":87,"props":9111,"children":9112},{"style":94},[9113],{"type":25,"value":331},{"type":20,"tag":87,"props":9115,"children":9117},{"class":89,"line":9116},312,[9118,9122,9126,9130,9134,9138],{"type":20,"tag":87,"props":9119,"children":9120},{"style":773},[9121],{"type":25,"value":796},{"type":20,"tag":87,"props":9123,"children":9124},{"style":94},[9125],{"type":25,"value":801},{"type":20,"tag":87,"props":9127,"children":9128},{"style":313},[9129],{"type":25,"value":132},{"type":20,"tag":87,"props":9131,"children":9132},{"style":94},[9133],{"type":25,"value":810},{"type":20,"tag":87,"props":9135,"children":9136},{"style":124},[9137],{"type":25,"value":815},{"type":20,"tag":87,"props":9139,"children":9140},{"style":94},[9141],{"type":25,"value":366},{"type":20,"tag":87,"props":9143,"children":9145},{"class":89,"line":9144},313,[9146,9150,9154,9158,9162,9166],{"type":20,"tag":87,"props":9147,"children":9148},{"style":773},[9149],{"type":25,"value":796},{"type":20,"tag":87,"props":9151,"children":9152},{"style":94},[9153],{"type":25,"value":2147},{"type":20,"tag":87,"props":9155,"children":9156},{"style":313},[9157],{"type":25,"value":132},{"type":20,"tag":87,"props":9159,"children":9160},{"style":313},[9161],{"type":25,"value":932},{"type":20,"tag":87,"props":9163,"children":9164},{"style":124},[9165],{"type":25,"value":2160},{"type":20,"tag":87,"props":9167,"children":9168},{"style":94},[9169],{"type":25,"value":366},{"type":20,"tag":87,"props":9171,"children":9173},{"class":89,"line":9172},314,[9174,9178,9182,9186],{"type":20,"tag":87,"props":9175,"children":9176},{"style":773},[9177],{"type":25,"value":796},{"type":20,"tag":87,"props":9179,"children":9180},{"style":94},[9181],{"type":25,"value":831},{"type":20,"tag":87,"props":9183,"children":9184},{"style":313},[9185],{"type":25,"value":132},{"type":20,"tag":87,"props":9187,"children":9188},{"style":94},[9189],{"type":25,"value":840},{"type":20,"tag":87,"props":9191,"children":9193},{"class":89,"line":9192},315,[9194,9198,9202,9206],{"type":20,"tag":87,"props":9195,"children":9196},{"style":773},[9197],{"type":25,"value":796},{"type":20,"tag":87,"props":9199,"children":9200},{"style":94},[9201],{"type":25,"value":2195},{"type":20,"tag":87,"props":9203,"children":9204},{"style":313},[9205],{"type":25,"value":132},{"type":20,"tag":87,"props":9207,"children":9208},{"style":94},[9209],{"type":25,"value":2204},{"type":20,"tag":87,"props":9211,"children":9213},{"class":89,"line":9212},316,[9214],{"type":20,"tag":87,"props":9215,"children":9216},{"emptyLinePlaceholder":399},[9217],{"type":25,"value":402},{"type":20,"tag":87,"props":9219,"children":9221},{"class":89,"line":9220},317,[9222,9226,9230,9234],{"type":20,"tag":87,"props":9223,"children":9224},{"style":773},[9225],{"type":25,"value":796},{"type":20,"tag":87,"props":9227,"children":9228},{"style":94},[9229],{"type":25,"value":1296},{"type":20,"tag":87,"props":9231,"children":9232},{"style":124},[9233],{"type":25,"value":2227},{"type":20,"tag":87,"props":9235,"children":9236},{"style":94},[9237],{"type":25,"value":366},{"type":20,"tag":87,"props":9239,"children":9241},{"class":89,"line":9240},318,[9242,9246],{"type":20,"tag":87,"props":9243,"children":9244},{"style":773},[9245],{"type":25,"value":796},{"type":20,"tag":87,"props":9247,"children":9248},{"style":94},[9249],{"type":25,"value":2243},{"type":20,"tag":87,"props":9251,"children":9253},{"class":89,"line":9252},319,[9254],{"type":20,"tag":87,"props":9255,"children":9256},{"emptyLinePlaceholder":399},[9257],{"type":25,"value":402},{"type":20,"tag":87,"props":9259,"children":9261},{"class":89,"line":9260},320,[9262,9266,9270,9274,9278],{"type":20,"tag":87,"props":9263,"children":9264},{"style":313},[9265],{"type":25,"value":1322},{"type":20,"tag":87,"props":9267,"children":9268},{"style":773},[9269],{"type":25,"value":776},{"type":20,"tag":87,"props":9271,"children":9272},{"style":94},[9273],{"type":25,"value":1331},{"type":20,"tag":87,"props":9275,"children":9276},{"style":124},[9277],{"type":25,"value":1336},{"type":20,"tag":87,"props":9279,"children":9280},{"style":94},[9281],{"type":25,"value":366},{"type":20,"tag":87,"props":9283,"children":9285},{"class":89,"line":9284},321,[9286],{"type":20,"tag":87,"props":9287,"children":9288},{"style":94},[9289],{"type":25,"value":1349},{"type":20,"tag":87,"props":9291,"children":9293},{"class":89,"line":9292},322,[9294],{"type":20,"tag":87,"props":9295,"children":9296},{"emptyLinePlaceholder":399},[9297],{"type":25,"value":402},{"type":20,"tag":87,"props":9299,"children":9301},{"class":89,"line":9300},323,[9302],{"type":20,"tag":87,"props":9303,"children":9304},{"style":540},[9305],{"type":25,"value":1366},{"type":20,"tag":87,"props":9307,"children":9309},{"class":89,"line":9308},324,[9310],{"type":20,"tag":87,"props":9311,"children":9312},{"style":540},[9313],{"type":25,"value":2302},{"type":20,"tag":87,"props":9315,"children":9317},{"class":89,"line":9316},325,[9318],{"type":20,"tag":87,"props":9319,"children":9320},{"style":540},[9321],{"type":25,"value":2310},{"type":20,"tag":87,"props":9323,"children":9325},{"class":89,"line":9324},326,[9326],{"type":20,"tag":87,"props":9327,"children":9328},{"style":540},[9329],{"type":25,"value":1384},{"type":20,"tag":87,"props":9331,"children":9333},{"class":89,"line":9332},327,[9334,9338,9342,9346,9350,9354,9358,9362],{"type":20,"tag":87,"props":9335,"children":9336},{"style":773},[9337],{"type":25,"value":2325},{"type":20,"tag":87,"props":9339,"children":9340},{"style":94},[9341],{"type":25,"value":1296},{"type":20,"tag":87,"props":9343,"children":9344},{"style":773},[9345],{"type":25,"value":1402},{"type":20,"tag":87,"props":9347,"children":9348},{"style":94},[9349],{"type":25,"value":1296},{"type":20,"tag":87,"props":9351,"children":9352},{"style":124},[9353],{"type":25,"value":2227},{"type":20,"tag":87,"props":9355,"children":9356},{"style":313},[9357],{"type":25,"value":1415},{"type":20,"tag":87,"props":9359,"children":9360},{"style":313},[9361],{"type":25,"value":1420},{"type":20,"tag":87,"props":9363,"children":9364},{"style":94},[9365],{"type":25,"value":1425},{"type":20,"tag":87,"props":9367,"children":9369},{"class":89,"line":9368},328,[9370,9374,9378,9382,9386],{"type":20,"tag":87,"props":9371,"children":9372},{"style":313},[9373],{"type":25,"value":2361},{"type":20,"tag":87,"props":9375,"children":9376},{"style":94},[9377],{"type":25,"value":766},{"type":20,"tag":87,"props":9379,"children":9380},{"style":313},[9381],{"type":25,"value":132},{"type":20,"tag":87,"props":9383,"children":9384},{"style":773},[9385],{"type":25,"value":776},{"type":20,"tag":87,"props":9387,"children":9388},{"style":94},[9389],{"type":25,"value":781},{"type":20,"tag":87,"props":9391,"children":9393},{"class":89,"line":9392},329,[9394],{"type":20,"tag":87,"props":9395,"children":9396},{"emptyLinePlaceholder":399},[9397],{"type":25,"value":402},{"type":20,"tag":87,"props":9399,"children":9401},{"class":89,"line":9400},330,[9402,9406,9410,9414,9418,9422,9426,9430,9434,9438],{"type":20,"tag":87,"props":9403,"children":9404},{"style":773},[9405],{"type":25,"value":796},{"type":20,"tag":87,"props":9407,"children":9408},{"style":94},[9409],{"type":25,"value":2396},{"type":20,"tag":87,"props":9411,"children":9412},{"style":124},[9413],{"type":25,"value":1106},{"type":20,"tag":87,"props":9415,"children":9416},{"style":94},[9417],{"type":25,"value":264},{"type":20,"tag":87,"props":9419,"children":9420},{"style":135},[9421],{"type":25,"value":1238},{"type":20,"tag":87,"props":9423,"children":9424},{"style":94},[9425],{"type":25,"value":310},{"type":20,"tag":87,"props":9427,"children":9428},{"style":313},[9429],{"type":25,"value":316},{"type":20,"tag":87,"props":9431,"children":9432},{"style":94},[9433],{"type":25,"value":264},{"type":20,"tag":87,"props":9435,"children":9436},{"style":323},[9437],{"type":25,"value":326},{"type":20,"tag":87,"props":9439,"children":9440},{"style":94},[9441],{"type":25,"value":331},{"type":20,"tag":87,"props":9443,"children":9445},{"class":89,"line":9444},331,[9446,9450,9454,9458],{"type":20,"tag":87,"props":9447,"children":9448},{"style":313},[9449],{"type":25,"value":761},{"type":20,"tag":87,"props":9451,"children":9452},{"style":94},[9453],{"type":25,"value":2440},{"type":20,"tag":87,"props":9455,"children":9456},{"style":313},[9457],{"type":25,"value":132},{"type":20,"tag":87,"props":9459,"children":9460},{"style":94},[9461],{"type":25,"value":2449},{"type":20,"tag":87,"props":9463,"children":9465},{"class":89,"line":9464},332,[9466,9470,9474],{"type":20,"tag":87,"props":9467,"children":9468},{"style":94},[9469],{"type":25,"value":2457},{"type":20,"tag":87,"props":9471,"children":9472},{"style":313},[9473],{"type":25,"value":132},{"type":20,"tag":87,"props":9475,"children":9476},{"style":94},[9477],{"type":25,"value":2466},{"type":20,"tag":87,"props":9479,"children":9481},{"class":89,"line":9480},333,[9482,9486,9490,9494,9498,9502,9506,9510,9514],{"type":20,"tag":87,"props":9483,"children":9484},{"style":94},[9485],{"type":25,"value":2474},{"type":20,"tag":87,"props":9487,"children":9488},{"style":313},[9489],{"type":25,"value":132},{"type":20,"tag":87,"props":9491,"children":9492},{"style":135},[9493],{"type":25,"value":2483},{"type":20,"tag":87,"props":9495,"children":9496},{"style":313},[9497],{"type":25,"value":1053},{"type":20,"tag":87,"props":9499,"children":9500},{"style":773},[9501],{"type":25,"value":968},{"type":20,"tag":87,"props":9503,"children":9504},{"style":94},[9505],{"type":25,"value":2496},{"type":20,"tag":87,"props":9507,"children":9508},{"style":313},[9509],{"type":25,"value":1053},{"type":20,"tag":87,"props":9511,"children":9512},{"style":135},[9513],{"type":25,"value":2505},{"type":20,"tag":87,"props":9515,"children":9516},{"style":94},[9517],{"type":25,"value":781},{"type":20,"tag":87,"props":9519,"children":9521},{"class":89,"line":9520},334,[9522,9526],{"type":20,"tag":87,"props":9523,"children":9524},{"style":313},[9525],{"type":25,"value":2517},{"type":20,"tag":87,"props":9527,"children":9528},{"style":94},[9529],{"type":25,"value":2522},{"type":20,"tag":87,"props":9531,"children":9533},{"class":89,"line":9532},335,[9534],{"type":20,"tag":87,"props":9535,"children":9536},{"style":94},[9537],{"type":25,"value":2530},{"type":20,"tag":87,"props":9539,"children":9541},{"class":89,"line":9540},336,[9542,9546,9550,9554],{"type":20,"tag":87,"props":9543,"children":9544},{"style":313},[9545],{"type":25,"value":2538},{"type":20,"tag":87,"props":9547,"children":9548},{"style":94},[9549],{"type":25,"value":2543},{"type":20,"tag":87,"props":9551,"children":9552},{"style":773},[9553],{"type":25,"value":2548},{"type":20,"tag":87,"props":9555,"children":9556},{"style":94},[9557],{"type":25,"value":2553},{"type":20,"tag":87,"props":9559,"children":9561},{"class":89,"line":9560},337,[9562,9566,9570,9574],{"type":20,"tag":87,"props":9563,"children":9564},{"style":94},[9565],{"type":25,"value":2561},{"type":20,"tag":87,"props":9567,"children":9568},{"style":313},[9569],{"type":25,"value":2566},{"type":20,"tag":87,"props":9571,"children":9572},{"style":135},[9573],{"type":25,"value":2571},{"type":20,"tag":87,"props":9575,"children":9576},{"style":94},[9577],{"type":25,"value":781},{"type":20,"tag":87,"props":9579,"children":9581},{"class":89,"line":9580},338,[9582,9586],{"type":20,"tag":87,"props":9583,"children":9584},{"style":313},[9585],{"type":25,"value":2583},{"type":20,"tag":87,"props":9587,"children":9588},{"style":94},[9589],{"type":25,"value":781},{"type":20,"tag":87,"props":9591,"children":9593},{"class":89,"line":9592},339,[9594,9598,9602,9606],{"type":20,"tag":87,"props":9595,"children":9596},{"style":313},[9597],{"type":25,"value":2538},{"type":20,"tag":87,"props":9599,"children":9600},{"style":94},[9601],{"type":25,"value":2543},{"type":20,"tag":87,"props":9603,"children":9604},{"style":773},[9605],{"type":25,"value":2603},{"type":20,"tag":87,"props":9607,"children":9608},{"style":94},[9609],{"type":25,"value":2553},{"type":20,"tag":87,"props":9611,"children":9613},{"class":89,"line":9612},340,[9614,9618,9622,9626],{"type":20,"tag":87,"props":9615,"children":9616},{"style":94},[9617],{"type":25,"value":2561},{"type":20,"tag":87,"props":9619,"children":9620},{"style":313},[9621],{"type":25,"value":2566},{"type":20,"tag":87,"props":9623,"children":9624},{"style":135},[9625],{"type":25,"value":2623},{"type":20,"tag":87,"props":9627,"children":9628},{"style":94},[9629],{"type":25,"value":781},{"type":20,"tag":87,"props":9631,"children":9633},{"class":89,"line":9632},341,[9634,9638],{"type":20,"tag":87,"props":9635,"children":9636},{"style":313},[9637],{"type":25,"value":2583},{"type":20,"tag":87,"props":9639,"children":9640},{"style":94},[9641],{"type":25,"value":781},{"type":20,"tag":87,"props":9643,"children":9645},{"class":89,"line":9644},342,[9646,9650,9654,9658],{"type":20,"tag":87,"props":9647,"children":9648},{"style":313},[9649],{"type":25,"value":2538},{"type":20,"tag":87,"props":9651,"children":9652},{"style":94},[9653],{"type":25,"value":2543},{"type":20,"tag":87,"props":9655,"children":9656},{"style":773},[9657],{"type":25,"value":2654},{"type":20,"tag":87,"props":9659,"children":9660},{"style":94},[9661],{"type":25,"value":2553},{"type":20,"tag":87,"props":9663,"children":9665},{"class":89,"line":9664},343,[9666,9670,9674,9678],{"type":20,"tag":87,"props":9667,"children":9668},{"style":94},[9669],{"type":25,"value":2561},{"type":20,"tag":87,"props":9671,"children":9672},{"style":313},[9673],{"type":25,"value":2566},{"type":20,"tag":87,"props":9675,"children":9676},{"style":135},[9677],{"type":25,"value":2674},{"type":20,"tag":87,"props":9679,"children":9680},{"style":94},[9681],{"type":25,"value":781},{"type":20,"tag":87,"props":9683,"children":9685},{"class":89,"line":9684},344,[9686,9690],{"type":20,"tag":87,"props":9687,"children":9688},{"style":313},[9689],{"type":25,"value":2583},{"type":20,"tag":87,"props":9691,"children":9692},{"style":94},[9693],{"type":25,"value":781},{"type":20,"tag":87,"props":9695,"children":9697},{"class":89,"line":9696},345,[9698,9702],{"type":20,"tag":87,"props":9699,"children":9700},{"style":313},[9701],{"type":25,"value":2697},{"type":20,"tag":87,"props":9703,"children":9704},{"style":94},[9705],{"type":25,"value":2553},{"type":20,"tag":87,"props":9707,"children":9709},{"class":89,"line":9708},346,[9710,9714,9718,9722],{"type":20,"tag":87,"props":9711,"children":9712},{"style":94},[9713],{"type":25,"value":2561},{"type":20,"tag":87,"props":9715,"children":9716},{"style":313},[9717],{"type":25,"value":2566},{"type":20,"tag":87,"props":9719,"children":9720},{"style":135},[9721],{"type":25,"value":2717},{"type":20,"tag":87,"props":9723,"children":9724},{"style":94},[9725],{"type":25,"value":781},{"type":20,"tag":87,"props":9727,"children":9729},{"class":89,"line":9728},347,[9730,9734],{"type":20,"tag":87,"props":9731,"children":9732},{"style":313},[9733],{"type":25,"value":2583},{"type":20,"tag":87,"props":9735,"children":9736},{"style":94},[9737],{"type":25,"value":781},{"type":20,"tag":87,"props":9739,"children":9741},{"class":89,"line":9740},348,[9742],{"type":20,"tag":87,"props":9743,"children":9744},{"style":94},[9745],{"type":25,"value":2740},{"type":20,"tag":87,"props":9747,"children":9749},{"class":89,"line":9748},349,[9750,9754,9758,9762,9766],{"type":20,"tag":87,"props":9751,"children":9752},{"style":94},[9753],{"type":25,"value":2748},{"type":20,"tag":87,"props":9755,"children":9756},{"style":124},[9757],{"type":25,"value":2753},{"type":20,"tag":87,"props":9759,"children":9760},{"style":94},[9761],{"type":25,"value":2758},{"type":20,"tag":87,"props":9763,"children":9764},{"style":773},[9765],{"type":25,"value":2763},{"type":20,"tag":87,"props":9767,"children":9768},{"style":94},[9769],{"type":25,"value":2768},{"type":20,"tag":87,"props":9771,"children":9773},{"class":89,"line":9772},350,[9774,9778,9782],{"type":20,"tag":87,"props":9775,"children":9776},{"style":94},[9777],{"type":25,"value":2776},{"type":20,"tag":87,"props":9779,"children":9780},{"style":773},[9781],{"type":25,"value":1143},{"type":20,"tag":87,"props":9783,"children":9784},{"style":94},[9785],{"type":25,"value":1148},{"type":20,"tag":87,"props":9787,"children":9789},{"class":89,"line":9788},351,[9790],{"type":20,"tag":87,"props":9791,"children":9792},{"emptyLinePlaceholder":399},[9793],{"type":25,"value":402},{"type":20,"tag":87,"props":9795,"children":9797},{"class":89,"line":9796},352,[9798,9802,9806,9810,9814,9818,9822,9826,9830,9834],{"type":20,"tag":87,"props":9799,"children":9800},{"style":773},[9801],{"type":25,"value":796},{"type":20,"tag":87,"props":9803,"children":9804},{"style":94},[9805],{"type":25,"value":2396},{"type":20,"tag":87,"props":9807,"children":9808},{"style":124},[9809],{"type":25,"value":1106},{"type":20,"tag":87,"props":9811,"children":9812},{"style":94},[9813],{"type":25,"value":264},{"type":20,"tag":87,"props":9815,"children":9816},{"style":135},[9817],{"type":25,"value":1174},{"type":20,"tag":87,"props":9819,"children":9820},{"style":94},[9821],{"type":25,"value":310},{"type":20,"tag":87,"props":9823,"children":9824},{"style":313},[9825],{"type":25,"value":316},{"type":20,"tag":87,"props":9827,"children":9828},{"style":94},[9829],{"type":25,"value":264},{"type":20,"tag":87,"props":9831,"children":9832},{"style":323},[9833],{"type":25,"value":326},{"type":20,"tag":87,"props":9835,"children":9836},{"style":94},[9837],{"type":25,"value":331},{"type":20,"tag":87,"props":9839,"children":9841},{"class":89,"line":9840},353,[9842,9846],{"type":20,"tag":87,"props":9843,"children":9844},{"style":313},[9845],{"type":25,"value":2842},{"type":20,"tag":87,"props":9847,"children":9848},{"style":94},[9849],{"type":25,"value":2847},{"type":20,"tag":87,"props":9851,"children":9853},{"class":89,"line":9852},354,[9854],{"type":20,"tag":87,"props":9855,"children":9856},{"style":94},[9857],{"type":25,"value":2530},{"type":20,"tag":87,"props":9859,"children":9861},{"class":89,"line":9860},355,[9862,9866,9870,9874,9878],{"type":20,"tag":87,"props":9863,"children":9864},{"style":94},[9865],{"type":25,"value":2862},{"type":20,"tag":87,"props":9867,"children":9868},{"style":124},[9869],{"type":25,"value":2867},{"type":20,"tag":87,"props":9871,"children":9872},{"style":94},[9873],{"type":25,"value":2758},{"type":20,"tag":87,"props":9875,"children":9876},{"style":773},[9877],{"type":25,"value":2876},{"type":20,"tag":87,"props":9879,"children":9880},{"style":94},[9881],{"type":25,"value":2881},{"type":20,"tag":87,"props":9883,"children":9885},{"class":89,"line":9884},356,[9886,9890,9894],{"type":20,"tag":87,"props":9887,"children":9888},{"style":94},[9889],{"type":25,"value":2889},{"type":20,"tag":87,"props":9891,"children":9892},{"style":313},[9893],{"type":25,"value":2894},{"type":20,"tag":87,"props":9895,"children":9896},{"style":94},[9897],{"type":25,"value":2899},{"type":20,"tag":87,"props":9899,"children":9901},{"class":89,"line":9900},357,[9902],{"type":20,"tag":87,"props":9903,"children":9904},{"style":94},[9905],{"type":25,"value":2740},{"type":20,"tag":87,"props":9907,"children":9909},{"class":89,"line":9908},358,[9910],{"type":20,"tag":87,"props":9911,"children":9912},{"style":94},[9913],{"type":25,"value":2915},{"type":20,"tag":87,"props":9915,"children":9917},{"class":89,"line":9916},359,[9918],{"type":20,"tag":87,"props":9919,"children":9920},{"emptyLinePlaceholder":399},[9921],{"type":25,"value":402},{"type":20,"tag":87,"props":9923,"children":9925},{"class":89,"line":9924},360,[9926,9930,9934,9938,9942,9946,9950,9954,9958,9962],{"type":20,"tag":87,"props":9927,"children":9928},{"style":773},[9929],{"type":25,"value":796},{"type":20,"tag":87,"props":9931,"children":9932},{"style":94},[9933],{"type":25,"value":2396},{"type":20,"tag":87,"props":9935,"children":9936},{"style":124},[9937],{"type":25,"value":1106},{"type":20,"tag":87,"props":9939,"children":9940},{"style":94},[9941],{"type":25,"value":264},{"type":20,"tag":87,"props":9943,"children":9944},{"style":135},[9945],{"type":25,"value":2948},{"type":20,"tag":87,"props":9947,"children":9948},{"style":94},[9949],{"type":25,"value":310},{"type":20,"tag":87,"props":9951,"children":9952},{"style":313},[9953],{"type":25,"value":316},{"type":20,"tag":87,"props":9955,"children":9956},{"style":94},[9957],{"type":25,"value":264},{"type":20,"tag":87,"props":9959,"children":9960},{"style":323},[9961],{"type":25,"value":326},{"type":20,"tag":87,"props":9963,"children":9964},{"style":94},[9965],{"type":25,"value":331},{"type":20,"tag":87,"props":9967,"children":9969},{"class":89,"line":9968},361,[9970,9974,9978,9982,9986,9990],{"type":20,"tag":87,"props":9971,"children":9972},{"style":313},[9973],{"type":25,"value":2842},{"type":20,"tag":87,"props":9975,"children":9976},{"style":94},[9977],{"type":25,"value":2981},{"type":20,"tag":87,"props":9979,"children":9980},{"style":313},[9981],{"type":25,"value":2986},{"type":20,"tag":87,"props":9983,"children":9984},{"style":94},[9985],{"type":25,"value":2991},{"type":20,"tag":87,"props":9987,"children":9988},{"style":773},[9989],{"type":25,"value":2996},{"type":20,"tag":87,"props":9991,"children":9992},{"style":94},[9993],{"type":25,"value":3001},{"type":20,"tag":87,"props":9995,"children":9997},{"class":89,"line":9996},362,[9998],{"type":20,"tag":87,"props":9999,"children":10000},{"style":94},[10001],{"type":25,"value":2530},{"type":20,"tag":87,"props":10003,"children":10005},{"class":89,"line":10004},363,[10006,10010,10014,10018,10022],{"type":20,"tag":87,"props":10007,"children":10008},{"style":94},[10009],{"type":25,"value":2862},{"type":20,"tag":87,"props":10011,"children":10012},{"style":124},[10013],{"type":25,"value":3022},{"type":20,"tag":87,"props":10015,"children":10016},{"style":94},[10017],{"type":25,"value":2758},{"type":20,"tag":87,"props":10019,"children":10020},{"style":773},[10021],{"type":25,"value":3031},{"type":20,"tag":87,"props":10023,"children":10024},{"style":94},[10025],{"type":25,"value":3036},{"type":20,"tag":87,"props":10027,"children":10029},{"class":89,"line":10028},364,[10030],{"type":20,"tag":87,"props":10031,"children":10032},{"style":94},[10033],{"type":25,"value":3045},{"type":20,"tag":87,"props":10035,"children":10037},{"class":89,"line":10036},365,[10038],{"type":20,"tag":87,"props":10039,"children":10040},{"style":94},[10041],{"type":25,"value":3054},{"type":20,"tag":87,"props":10043,"children":10045},{"class":89,"line":10044},366,[10046],{"type":20,"tag":87,"props":10047,"children":10048},{"style":94},[10049],{"type":25,"value":2740},{"type":20,"tag":87,"props":10051,"children":10053},{"class":89,"line":10052},367,[10054,10058,10062],{"type":20,"tag":87,"props":10055,"children":10056},{"style":94},[10057],{"type":25,"value":2776},{"type":20,"tag":87,"props":10059,"children":10060},{"style":773},[10061],{"type":25,"value":1143},{"type":20,"tag":87,"props":10063,"children":10064},{"style":94},[10065],{"type":25,"value":1148},{"type":20,"tag":87,"props":10067,"children":10069},{"class":89,"line":10068},368,[10070],{"type":20,"tag":87,"props":10071,"children":10072},{"style":94},[10073],{"type":25,"value":3087},{"type":20,"tag":87,"props":10075,"children":10077},{"class":89,"line":10076},369,[10078],{"type":20,"tag":87,"props":10079,"children":10080},{"emptyLinePlaceholder":399},[10081],{"type":25,"value":402},{"type":20,"tag":87,"props":10083,"children":10085},{"class":89,"line":10084},370,[10086],{"type":20,"tag":87,"props":10087,"children":10088},{"style":540},[10089],{"type":25,"value":1366},{"type":20,"tag":87,"props":10091,"children":10093},{"class":89,"line":10092},371,[10094],{"type":20,"tag":87,"props":10095,"children":10096},{"style":540},[10097],{"type":25,"value":10098}," * Entry point for calling the reader/uploader, with the element to be used as input specified.\n",{"type":20,"tag":87,"props":10100,"children":10102},{"class":89,"line":10101},372,[10103],{"type":20,"tag":87,"props":10104,"children":10105},{"style":540},[10106],{"type":25,"value":10107}," * Usage:\n",{"type":20,"tag":87,"props":10109,"children":10111},{"class":89,"line":10110},373,[10112],{"type":20,"tag":87,"props":10113,"children":10114},{"style":540},[10115],{"type":25,"value":10116}," * $('#input').hup({options}).on('events') --OR--\n",{"type":20,"tag":87,"props":10118,"children":10120},{"class":89,"line":10119},374,[10121],{"type":20,"tag":87,"props":10122,"children":10123},{"style":540},[10124],{"type":25,"value":10125}," * $('.inputs').hup({options}).on('events')\n",{"type":20,"tag":87,"props":10127,"children":10129},{"class":89,"line":10128},375,[10130,10134,10138],{"type":20,"tag":87,"props":10131,"children":10132},{"style":540},[10133],{"type":25,"value":3356},{"type":20,"tag":87,"props":10135,"children":10136},{"style":313},[10137],{"type":25,"value":655},{"type":20,"tag":87,"props":10139,"children":10140},{"style":94},[10141],{"type":25,"value":660},{"type":20,"tag":87,"props":10143,"children":10145},{"class":89,"line":10144},376,[10146,10150,10154,10159],{"type":20,"tag":87,"props":10147,"children":10148},{"style":540},[10149],{"type":25,"value":3356},{"type":20,"tag":87,"props":10151,"children":10152},{"style":313},[10153],{"type":25,"value":688},{"type":20,"tag":87,"props":10155,"children":10156},{"style":124},[10157],{"type":25,"value":10158}," {Hup}",{"type":20,"tag":87,"props":10160,"children":10161},{"style":540},[10162],{"type":25,"value":10163}," Promise deferred from Hup.\n",{"type":20,"tag":87,"props":10165,"children":10167},{"class":89,"line":10166},377,[10168],{"type":20,"tag":87,"props":10169,"children":10170},{"style":540},[10171],{"type":25,"value":1384},{"type":20,"tag":87,"props":10173,"children":10175},{"class":89,"line":10174},378,[10176,10181,10186,10190,10194,10198,10202],{"type":20,"tag":87,"props":10177,"children":10178},{"style":94},[10179],{"type":25,"value":10180},"$.fn.",{"type":20,"tag":87,"props":10182,"children":10183},{"style":124},[10184],{"type":25,"value":10185},"hup",{"type":20,"tag":87,"props":10187,"children":10188},{"style":313},[10189],{"type":25,"value":1415},{"type":20,"tag":87,"props":10191,"children":10192},{"style":313},[10193],{"type":25,"value":1420},{"type":20,"tag":87,"props":10195,"children":10196},{"style":94},[10197],{"type":25,"value":264},{"type":20,"tag":87,"props":10199,"children":10200},{"style":323},[10201],{"type":25,"value":740},{"type":20,"tag":87,"props":10203,"children":10204},{"style":94},[10205],{"type":25,"value":331},{"type":20,"tag":87,"props":10207,"children":10209},{"class":89,"line":10208},379,[10210,10214,10219,10223,10228,10232],{"type":20,"tag":87,"props":10211,"children":10212},{"style":313},[10213],{"type":25,"value":2361},{"type":20,"tag":87,"props":10215,"children":10216},{"style":94},[10217],{"type":25,"value":10218}," options ",{"type":20,"tag":87,"props":10220,"children":10221},{"style":313},[10222],{"type":25,"value":132},{"type":20,"tag":87,"props":10224,"children":10225},{"style":94},[10226],{"type":25,"value":10227}," (options ",{"type":20,"tag":87,"props":10229,"children":10230},{"style":313},[10231],{"type":25,"value":1868},{"type":20,"tag":87,"props":10233,"children":10234},{"style":94},[10235],{"type":25,"value":10236}," {});\n",{"type":20,"tag":87,"props":10238,"children":10240},{"class":89,"line":10239},380,[10241,10245,10249,10253,10258,10262,10266],{"type":20,"tag":87,"props":10242,"children":10243},{"style":313},[10244],{"type":25,"value":1322},{"type":20,"tag":87,"props":10246,"children":10247},{"style":773},[10248],{"type":25,"value":776},{"type":20,"tag":87,"props":10250,"children":10251},{"style":94},[10252],{"type":25,"value":1296},{"type":20,"tag":87,"props":10254,"children":10255},{"style":124},[10256],{"type":25,"value":10257},"each",{"type":20,"tag":87,"props":10259,"children":10260},{"style":94},[10261],{"type":25,"value":264},{"type":20,"tag":87,"props":10263,"children":10264},{"style":313},[10265],{"type":25,"value":316},{"type":20,"tag":87,"props":10267,"children":10268},{"style":94},[10269],{"type":25,"value":1425},{"type":20,"tag":87,"props":10271,"children":10273},{"class":89,"line":10272},381,[10274,10279,10283,10287],{"type":20,"tag":87,"props":10275,"children":10276},{"style":94},[10277],{"type":25,"value":10278},"        options.input ",{"type":20,"tag":87,"props":10280,"children":10281},{"style":313},[10282],{"type":25,"value":132},{"type":20,"tag":87,"props":10284,"children":10285},{"style":773},[10286],{"type":25,"value":776},{"type":20,"tag":87,"props":10288,"children":10289},{"style":94},[10290],{"type":25,"value":781},{"type":20,"tag":87,"props":10292,"children":10294},{"class":89,"line":10293},382,[10295,10299,10304,10308,10312,10316,10320],{"type":20,"tag":87,"props":10296,"children":10297},{"style":313},[10298],{"type":25,"value":761},{"type":20,"tag":87,"props":10300,"children":10301},{"style":94},[10302],{"type":25,"value":10303}," $this ",{"type":20,"tag":87,"props":10305,"children":10306},{"style":313},[10307],{"type":25,"value":132},{"type":20,"tag":87,"props":10309,"children":10310},{"style":124},[10311],{"type":25,"value":3665},{"type":20,"tag":87,"props":10313,"children":10314},{"style":94},[10315],{"type":25,"value":264},{"type":20,"tag":87,"props":10317,"children":10318},{"style":773},[10319],{"type":25,"value":968},{"type":20,"tag":87,"props":10321,"children":10322},{"style":94},[10323],{"type":25,"value":10324},"),\n",{"type":20,"tag":87,"props":10326,"children":10328},{"class":89,"line":10327},383,[10329,10334,10338,10343,10348,10352,10357],{"type":20,"tag":87,"props":10330,"children":10331},{"style":94},[10332],{"type":25,"value":10333},"            hup ",{"type":20,"tag":87,"props":10335,"children":10336},{"style":313},[10337],{"type":25,"value":132},{"type":20,"tag":87,"props":10339,"children":10340},{"style":94},[10341],{"type":25,"value":10342}," $this.",{"type":20,"tag":87,"props":10344,"children":10345},{"style":124},[10346],{"type":25,"value":10347},"data",{"type":20,"tag":87,"props":10349,"children":10350},{"style":94},[10351],{"type":25,"value":264},{"type":20,"tag":87,"props":10353,"children":10354},{"style":135},[10355],{"type":25,"value":10356},"'hup'",{"type":20,"tag":87,"props":10358,"children":10359},{"style":94},[10360],{"type":25,"value":1148},{"type":20,"tag":87,"props":10362,"children":10364},{"class":89,"line":10363},384,[10365,10369,10373,10377],{"type":20,"tag":87,"props":10366,"children":10367},{"style":313},[10368],{"type":25,"value":2842},{"type":20,"tag":87,"props":10370,"children":10371},{"style":94},[10372],{"type":25,"value":963},{"type":20,"tag":87,"props":10374,"children":10375},{"style":313},[10376],{"type":25,"value":4648},{"type":20,"tag":87,"props":10378,"children":10379},{"style":94},[10380],{"type":25,"value":10381},"hup)\n",{"type":20,"tag":87,"props":10383,"children":10385},{"class":89,"line":10384},385,[10386],{"type":20,"tag":87,"props":10387,"children":10388},{"style":94},[10389],{"type":25,"value":2530},{"type":20,"tag":87,"props":10391,"children":10393},{"class":89,"line":10392},386,[10394,10399,10403,10407,10411,10415,10420,10424],{"type":20,"tag":87,"props":10395,"children":10396},{"style":94},[10397],{"type":25,"value":10398},"            $this.",{"type":20,"tag":87,"props":10400,"children":10401},{"style":124},[10402],{"type":25,"value":10347},{"type":20,"tag":87,"props":10404,"children":10405},{"style":94},[10406],{"type":25,"value":264},{"type":20,"tag":87,"props":10408,"children":10409},{"style":135},[10410],{"type":25,"value":10356},{"type":20,"tag":87,"props":10412,"children":10413},{"style":94},[10414],{"type":25,"value":310},{"type":20,"tag":87,"props":10416,"children":10417},{"style":313},[10418],{"type":25,"value":10419},"new",{"type":20,"tag":87,"props":10421,"children":10422},{"style":124},[10423],{"type":25,"value":3286},{"type":20,"tag":87,"props":10425,"children":10426},{"style":94},[10427],{"type":25,"value":10428},"(options));\n",{"type":20,"tag":87,"props":10430,"children":10432},{"class":89,"line":10431},387,[10433],{"type":20,"tag":87,"props":10434,"children":10435},{"style":94},[10436],{"type":25,"value":2740},{"type":20,"tag":87,"props":10438,"children":10440},{"class":89,"line":10439},388,[10441,10446,10451,10456,10461,10465],{"type":20,"tag":87,"props":10442,"children":10443},{"style":313},[10444],{"type":25,"value":10445},"        else",{"type":20,"tag":87,"props":10447,"children":10448},{"style":313},[10449],{"type":25,"value":10450}," if",{"type":20,"tag":87,"props":10452,"children":10453},{"style":94},[10454],{"type":25,"value":10455}," (hup ",{"type":20,"tag":87,"props":10457,"children":10458},{"style":313},[10459],{"type":25,"value":10460},"instanceof",{"type":20,"tag":87,"props":10462,"children":10463},{"style":124},[10464],{"type":25,"value":3286},{"type":20,"tag":87,"props":10466,"children":10467},{"style":94},[10468],{"type":25,"value":3001},{"type":20,"tag":87,"props":10470,"children":10472},{"class":89,"line":10471},389,[10473],{"type":20,"tag":87,"props":10474,"children":10475},{"style":94},[10476],{"type":25,"value":2530},{"type":20,"tag":87,"props":10478,"children":10480},{"class":89,"line":10479},390,[10481,10486,10490],{"type":20,"tag":87,"props":10482,"children":10483},{"style":94},[10484],{"type":25,"value":10485},"            hup.",{"type":20,"tag":87,"props":10487,"children":10488},{"style":124},[10489],{"type":25,"value":3314},{"type":20,"tag":87,"props":10491,"children":10492},{"style":94},[10493],{"type":25,"value":3319},{"type":20,"tag":87,"props":10495,"children":10497},{"class":89,"line":10496},391,[10498],{"type":20,"tag":87,"props":10499,"children":10500},{"style":94},[10501],{"type":25,"value":2740},{"type":20,"tag":87,"props":10503,"children":10505},{"class":89,"line":10504},392,[10506],{"type":20,"tag":87,"props":10507,"children":10508},{"style":94},[10509],{"type":25,"value":2915},{"type":20,"tag":87,"props":10511,"children":10513},{"class":89,"line":10512},393,[10514],{"type":20,"tag":87,"props":10515,"children":10516},{"style":94},[10517],{"type":25,"value":3087},{"type":20,"tag":87,"props":10519,"children":10521},{"class":89,"line":10520},394,[10522],{"type":20,"tag":87,"props":10523,"children":10524},{"style":94},[10525],{"type":25,"value":10526},"})(jQuery);\n",{"type":20,"tag":10528,"props":10529,"children":10530},"style",{},[10531],{"type":25,"value":10532},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":8,"searchDepth":160,"depth":160,"links":10534},[10535,10536,10537,10538],{"id":50,"depth":111,"text":53},{"id":603,"depth":111,"text":606},{"id":1943,"depth":111,"text":1946},{"id":3113,"depth":111,"text":3116},"markdown","content:ckeefer:2014-2:ajax-upload-2.md","content","ckeefer/2014-2/ajax-upload-2.md","ckeefer/2014-2/ajax-upload-2","md",{"user":10546,"name":10547},"ckeefer","Christopher Keefer",1780330272533]