lfr-amd-loader
Advanced tools
Comparing version 1.1.7 to 1.1.8
{ | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/event-emitter.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/event-emitter.js","s":{"1":14,"2":14,"3":14,"4":14,"5":14,"6":0,"7":14,"8":1,"9":19,"10":14,"11":12,"12":12,"13":9,"14":9,"15":5,"16":5,"17":4,"18":1,"19":4,"20":22,"21":22,"22":9,"23":9,"24":10,"25":10,"26":13,"27":14},"b":{"1":[14,0],"2":[14,14],"3":[0,14],"4":[14,12],"5":[14,0],"6":[12,7],"7":[5,4],"8":[4,1],"9":[9,13]},"f":{"1":14,"2":14,"3":19,"4":12,"5":9,"6":22},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"EventEmitter","line":27,"loc":{"start":{"line":27,"column":0},"end":{"line":27,"column":24}}},"4":{"name":"(anonymous_4)","line":40,"loc":{"start":{"line":40,"column":8},"end":{"line":40,"column":35}}},"5":{"name":"(anonymous_5)","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":52,"column":36}}},"6":{"name":"(anonymous_6)","line":75,"loc":{"start":{"line":75,"column":10},"end":{"line":75,"column":33}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":97,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":32}},"8":{"start":{"line":27,"column":0},"end":{"line":29,"column":1}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":22}},"10":{"start":{"line":31,"column":0},"end":{"line":94,"column":2}},"11":{"start":{"line":41,"column":8},"end":{"line":41,"column":72}},"12":{"start":{"line":43,"column":8},"end":{"line":43,"column":33}},"13":{"start":{"line":53,"column":8},"end":{"line":53,"column":44}},"14":{"start":{"line":55,"column":8},"end":{"line":65,"column":9}},"15":{"start":{"line":56,"column":12},"end":{"line":56,"column":60}},"16":{"start":{"line":58,"column":12},"end":{"line":62,"column":13}},"17":{"start":{"line":59,"column":16},"end":{"line":59,"column":51}},"18":{"start":{"line":61,"column":16},"end":{"line":61,"column":86}},"19":{"start":{"line":64,"column":12},"end":{"line":64,"column":76}},"20":{"start":{"line":76,"column":8},"end":{"line":76,"column":44}},"21":{"start":{"line":78,"column":8},"end":{"line":92,"column":9}},"22":{"start":{"line":83,"column":12},"end":{"line":83,"column":43}},"23":{"start":{"line":85,"column":12},"end":{"line":89,"column":13}},"24":{"start":{"line":86,"column":16},"end":{"line":86,"column":44}},"25":{"start":{"line":88,"column":16},"end":{"line":88,"column":46}},"26":{"start":{"line":91,"column":12},"end":{"line":91,"column":61}},"27":{"start":{"line":96,"column":4},"end":{"line":96,"column":24}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":41,"type":"binary-expr","locations":[{"start":{"line":41,"column":46},"end":{"line":41,"column":65}},{"start":{"line":41,"column":69},"end":{"line":41,"column":71}}]},"7":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":8},"end":{"line":55,"column":8}},{"start":{"line":55,"column":8},"end":{"line":55,"column":8}}]},"8":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":12},"end":{"line":58,"column":12}},{"start":{"line":58,"column":12},"end":{"line":58,"column":12}}]},"9":{"line":78,"type":"if","locations":[{"start":{"line":78,"column":8},"end":{"line":78,"column":8}},{"start":{"line":78,"column":8},"end":{"line":78,"column":8}}]}},"l":{"1":14,"4":14,"7":14,"8":14,"12":14,"13":1,"16":14,"27":1,"28":19,"31":14,"41":12,"43":12,"53":9,"55":9,"56":5,"58":5,"59":4,"61":1,"64":4,"76":22,"78":22,"83":9,"85":9,"86":10,"88":10,"91":13,"96":14}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/config-parser.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/config-parser.js","s":{"1":14,"2":14,"3":14,"4":14,"5":14,"6":0,"7":14,"8":14,"9":1,"10":29,"11":29,"12":29,"13":29,"14":14,"15":261,"16":261,"17":15,"18":44,"19":44,"20":246,"21":261,"22":39,"23":62,"24":176,"25":78,"26":78,"27":14,"28":64,"29":78,"30":82,"31":82,"32":124,"33":124,"34":7,"35":7,"36":7,"37":78,"38":29,"39":83,"40":83,"41":20,"42":63,"43":29,"44":20,"45":231,"46":231,"47":231,"48":231,"49":20,"50":261,"51":17,"52":17,"53":13,"54":17,"55":14},"b":{"1":[14,0],"2":[14,14],"3":[0,14],"4":[14,12],"5":[14,0],"6":[15,246],"7":[44,0],"8":[14,64],"9":[124,0],"10":[7,117],"11":[124,117],"12":[14,64],"13":[83,0],"14":[20,63],"15":[231,0],"16":[17,244],"17":[13,4]},"f":{"1":14,"2":14,"3":29,"4":261,"5":39,"6":62,"7":176,"8":78,"9":29,"10":20,"11":261},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"ConfigParser","line":30,"loc":{"start":{"line":30,"column":0},"end":{"line":30,"column":30}}},"4":{"name":"(anonymous_4)","line":55,"loc":{"start":{"line":55,"column":15},"end":{"line":55,"column":33}}},"5":{"name":"(anonymous_5)","line":80,"loc":{"start":{"line":80,"column":15},"end":{"line":80,"column":27}}},"6":{"name":"(anonymous_6)","line":89,"loc":{"start":{"line":89,"column":27},"end":{"line":89,"column":39}}},"7":{"name":"(anonymous_7)","line":98,"loc":{"start":{"line":98,"column":16},"end":{"line":98,"column":28}}},"8":{"name":"(anonymous_8)","line":117,"loc":{"start":{"line":117,"column":15},"end":{"line":117,"column":32}}},"9":{"name":"(anonymous_9)","line":152,"loc":{"start":{"line":152,"column":18},"end":{"line":152,"column":36}}},"10":{"name":"(anonymous_10)","line":173,"loc":{"start":{"line":173,"column":19},"end":{"line":173,"column":38}}},"11":{"name":"(anonymous_11)","line":193,"loc":{"start":{"line":193,"column":32},"end":{"line":193,"column":50}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":208,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":32}},"8":{"start":{"line":21,"column":0},"end":{"line":21,"column":53}},"9":{"start":{"line":30,"column":0},"end":{"line":36,"column":1}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":22}},"11":{"start":{"line":32,"column":4},"end":{"line":32,"column":23}},"12":{"start":{"line":33,"column":4},"end":{"line":33,"column":34}},"13":{"start":{"line":35,"column":4},"end":{"line":35,"column":30}},"14":{"start":{"line":38,"column":0},"end":{"line":205,"column":2}},"15":{"start":{"line":60,"column":8},"end":{"line":60,"column":58}},"16":{"start":{"line":62,"column":8},"end":{"line":70,"column":9}},"17":{"start":{"line":63,"column":12},"end":{"line":67,"column":13}},"18":{"start":{"line":64,"column":16},"end":{"line":66,"column":17}},"19":{"start":{"line":65,"column":20},"end":{"line":65,"column":56}},"20":{"start":{"line":69,"column":12},"end":{"line":69,"column":48}},"21":{"start":{"line":72,"column":8},"end":{"line":72,"column":48}},"22":{"start":{"line":81,"column":8},"end":{"line":81,"column":28}},"23":{"start":{"line":90,"column":8},"end":{"line":90,"column":40}},"24":{"start":{"line":99,"column":8},"end":{"line":99,"column":29}},"25":{"start":{"line":118,"column":8},"end":{"line":118,"column":20}},"26":{"start":{"line":120,"column":8},"end":{"line":124,"column":9}},"27":{"start":{"line":121,"column":12},"end":{"line":121,"column":29}},"28":{"start":{"line":123,"column":12},"end":{"line":123,"column":31}},"29":{"start":{"line":126,"column":8},"end":{"line":140,"column":9}},"30":{"start":{"line":127,"column":12},"end":{"line":127,"column":39}},"31":{"start":{"line":129,"column":12},"end":{"line":139,"column":13}},"32":{"start":{"line":131,"column":16},"end":{"line":138,"column":17}},"33":{"start":{"line":132,"column":20},"end":{"line":137,"column":21}},"34":{"start":{"line":133,"column":24},"end":{"line":133,"column":97}},"35":{"start":{"line":134,"column":24},"end":{"line":134,"column":47}},"36":{"start":{"line":136,"column":24},"end":{"line":136,"column":30}},"37":{"start":{"line":142,"column":8},"end":{"line":142,"column":60}},"38":{"start":{"line":153,"column":8},"end":{"line":161,"column":9}},"39":{"start":{"line":154,"column":12},"end":{"line":160,"column":13}},"40":{"start":{"line":155,"column":16},"end":{"line":159,"column":17}},"41":{"start":{"line":156,"column":20},"end":{"line":156,"column":52}},"42":{"start":{"line":158,"column":20},"end":{"line":158,"column":52}},"43":{"start":{"line":163,"column":8},"end":{"line":163,"column":28}},"44":{"start":{"line":174,"column":8},"end":{"line":182,"column":9}},"45":{"start":{"line":175,"column":12},"end":{"line":181,"column":13}},"46":{"start":{"line":176,"column":16},"end":{"line":176,"column":42}},"47":{"start":{"line":178,"column":16},"end":{"line":178,"column":34}},"48":{"start":{"line":180,"column":16},"end":{"line":180,"column":39}},"49":{"start":{"line":184,"column":8},"end":{"line":184,"column":29}},"50":{"start":{"line":195,"column":8},"end":{"line":203,"column":9}},"51":{"start":{"line":196,"column":12},"end":{"line":196,"column":85}},"52":{"start":{"line":198,"column":12},"end":{"line":200,"column":13}},"53":{"start":{"line":199,"column":16},"end":{"line":199,"column":90}},"54":{"start":{"line":202,"column":12},"end":{"line":202,"column":46}},"55":{"start":{"line":207,"column":4},"end":{"line":207,"column":24}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":8},"end":{"line":62,"column":8}},{"start":{"line":62,"column":8},"end":{"line":62,"column":8}}]},"7":{"line":64,"type":"if","locations":[{"start":{"line":64,"column":16},"end":{"line":64,"column":16}},{"start":{"line":64,"column":16},"end":{"line":64,"column":16}}]},"8":{"line":120,"type":"if","locations":[{"start":{"line":120,"column":8},"end":{"line":120,"column":8}},{"start":{"line":120,"column":8},"end":{"line":120,"column":8}}]},"9":{"line":131,"type":"if","locations":[{"start":{"line":131,"column":16},"end":{"line":131,"column":16}},{"start":{"line":131,"column":16},"end":{"line":131,"column":16},"skip":true}]},"10":{"line":132,"type":"if","locations":[{"start":{"line":132,"column":20},"end":{"line":132,"column":20}},{"start":{"line":132,"column":20},"end":{"line":132,"column":20}}]},"11":{"line":132,"type":"binary-expr","locations":[{"start":{"line":132,"column":24},"end":{"line":132,"column":43}},{"start":{"line":132,"column":47},"end":{"line":132,"column":83}}]},"12":{"line":142,"type":"cond-expr","locations":[{"start":{"line":142,"column":39},"end":{"line":142,"column":46}},{"start":{"line":142,"column":49},"end":{"line":142,"column":59}}]},"13":{"line":154,"type":"if","locations":[{"start":{"line":154,"column":12},"end":{"line":154,"column":12}},{"start":{"line":154,"column":12},"end":{"line":154,"column":12},"skip":true}]},"14":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":16},"end":{"line":155,"column":16}},{"start":{"line":155,"column":16},"end":{"line":155,"column":16}}]},"15":{"line":175,"type":"if","locations":[{"start":{"line":175,"column":12},"end":{"line":175,"column":12}},{"start":{"line":175,"column":12},"end":{"line":175,"column":12},"skip":true}]},"16":{"line":195,"type":"if","locations":[{"start":{"line":195,"column":8},"end":{"line":195,"column":8}},{"start":{"line":195,"column":8},"end":{"line":195,"column":8}}]},"17":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":12},"end":{"line":198,"column":12}},{"start":{"line":198,"column":12},"end":{"line":198,"column":12}}]}},"l":{"1":14,"4":14,"7":14,"8":14,"12":14,"13":1,"16":14,"21":14,"30":1,"31":29,"32":29,"33":29,"35":29,"38":14,"60":261,"62":261,"63":15,"64":44,"65":44,"69":246,"72":261,"81":39,"90":62,"99":176,"118":78,"120":78,"121":14,"123":64,"126":78,"127":82,"129":82,"131":124,"132":124,"133":7,"134":7,"136":7,"142":78,"153":29,"154":83,"155":83,"156":20,"158":63,"163":29,"174":20,"175":231,"176":231,"178":231,"180":231,"184":20,"195":261,"196":17,"198":17,"199":13,"202":17,"207":14}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/dependency-builder.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/dependency-builder.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":1,"8":1,"9":1,"10":21,"11":21,"12":1,"13":22,"14":22,"15":22,"16":22,"17":18,"18":22,"19":18,"20":22,"21":22,"22":229,"23":229,"24":229,"25":229,"26":229,"27":22,"28":22,"29":60,"30":60,"31":5,"32":5,"33":6,"34":6,"35":4,"36":5,"37":22,"38":22,"39":25,"40":25,"41":24,"42":6,"43":1,"44":5,"45":63,"46":3,"47":60,"48":60,"49":50,"50":50,"51":50,"52":55,"53":55,"54":15,"55":40,"56":40,"57":40,"58":1,"59":39,"60":43,"61":43,"62":43,"63":1},"b":{"1":[1,0],"2":[1,1],"3":[0,1],"4":[1,0],"5":[1,0],"6":[229,0],"7":[5,55],"8":[60,6],"9":[4,2],"10":[6,6],"11":[24,1],"12":[1,5],"13":[3,60],"14":[50,10],"15":[15,40],"16":[55,42],"17":[1,39]},"f":{"1":1,"2":1,"3":21,"4":22,"5":22,"6":60,"7":22,"8":6,"9":63},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"DependencyBuilder","line":30,"loc":{"start":{"line":30,"column":0},"end":{"line":30,"column":41}}},"4":{"name":"(anonymous_4)","line":45,"loc":{"start":{"line":45,"column":25},"end":{"line":45,"column":44}}},"5":{"name":"(anonymous_5)","line":71,"loc":{"start":{"line":71,"column":14},"end":{"line":71,"column":26}}},"6":{"name":"(anonymous_6)","line":97,"loc":{"start":{"line":97,"column":32},"end":{"line":97,"column":50}}},"7":{"name":"(anonymous_7)","line":125,"loc":{"start":{"line":125,"column":26},"end":{"line":125,"column":38}}},"8":{"name":"(anonymous_8)","line":146,"loc":{"start":{"line":146,"column":28},"end":{"line":146,"column":52}}},"9":{"name":"(anonymous_9)","line":161,"loc":{"start":{"line":161,"column":12},"end":{"line":161,"column":30}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":215,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":37}},"8":{"start":{"line":21,"column":0},"end":{"line":21,"column":53}},"9":{"start":{"line":30,"column":0},"end":{"line":34,"column":1}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":38}},"11":{"start":{"line":33,"column":4},"end":{"line":33,"column":22}},"12":{"start":{"line":36,"column":0},"end":{"line":212,"column":2}},"13":{"start":{"line":48,"column":8},"end":{"line":48,"column":39}},"14":{"start":{"line":50,"column":8},"end":{"line":50,"column":19}},"15":{"start":{"line":52,"column":8},"end":{"line":61,"column":9}},"16":{"start":{"line":53,"column":12},"end":{"line":53,"column":40}},"17":{"start":{"line":57,"column":12},"end":{"line":57,"column":53}},"18":{"start":{"line":60,"column":12},"end":{"line":60,"column":28}},"19":{"start":{"line":63,"column":8},"end":{"line":63,"column":22}},"20":{"start":{"line":72,"column":8},"end":{"line":72,"column":54}},"21":{"start":{"line":76,"column":8},"end":{"line":84,"column":9}},"22":{"start":{"line":77,"column":12},"end":{"line":83,"column":13}},"23":{"start":{"line":78,"column":16},"end":{"line":78,"column":42}},"24":{"start":{"line":80,"column":16},"end":{"line":80,"column":47}},"25":{"start":{"line":81,"column":16},"end":{"line":81,"column":36}},"26":{"start":{"line":82,"column":16},"end":{"line":82,"column":39}},"27":{"start":{"line":86,"column":8},"end":{"line":86,"column":31}},"28":{"start":{"line":87,"column":8},"end":{"line":87,"column":32}},"29":{"start":{"line":98,"column":8},"end":{"line":98,"column":89}},"30":{"start":{"line":102,"column":8},"end":{"line":115,"column":9}},"31":{"start":{"line":103,"column":12},"end":{"line":103,"column":58}},"32":{"start":{"line":105,"column":12},"end":{"line":112,"column":13}},"33":{"start":{"line":106,"column":16},"end":{"line":106,"column":71}},"34":{"start":{"line":108,"column":16},"end":{"line":111,"column":17}},"35":{"start":{"line":110,"column":20},"end":{"line":110,"column":61}},"36":{"start":{"line":114,"column":12},"end":{"line":114,"column":42}},"37":{"start":{"line":128,"column":8},"end":{"line":128,"column":54}},"38":{"start":{"line":130,"column":8},"end":{"line":136,"column":9}},"39":{"start":{"line":131,"column":12},"end":{"line":131,"column":49}},"40":{"start":{"line":133,"column":12},"end":{"line":135,"column":13}},"41":{"start":{"line":134,"column":16},"end":{"line":134,"column":36}},"42":{"start":{"line":147,"column":8},"end":{"line":151,"column":9}},"43":{"start":{"line":148,"column":12},"end":{"line":148,"column":34}},"44":{"start":{"line":150,"column":12},"end":{"line":150,"column":54}},"45":{"start":{"line":163,"column":8},"end":{"line":165,"column":9}},"46":{"start":{"line":164,"column":12},"end":{"line":164,"column":140}},"47":{"start":{"line":168,"column":8},"end":{"line":168,"column":48}},"48":{"start":{"line":170,"column":8},"end":{"line":199,"column":9}},"49":{"start":{"line":171,"column":12},"end":{"line":171,"column":34}},"50":{"start":{"line":173,"column":12},"end":{"line":173,"column":58}},"51":{"start":{"line":175,"column":12},"end":{"line":192,"column":13}},"52":{"start":{"line":176,"column":16},"end":{"line":176,"column":60}},"53":{"start":{"line":178,"column":16},"end":{"line":180,"column":17}},"54":{"start":{"line":179,"column":20},"end":{"line":179,"column":29}},"55":{"start":{"line":183,"column":16},"end":{"line":183,"column":78}},"56":{"start":{"line":185,"column":16},"end":{"line":185,"column":63}},"57":{"start":{"line":187,"column":16},"end":{"line":189,"column":17}},"58":{"start":{"line":188,"column":20},"end":{"line":188,"column":164}},"59":{"start":{"line":191,"column":16},"end":{"line":191,"column":55}},"60":{"start":{"line":194,"column":12},"end":{"line":194,"column":31}},"61":{"start":{"line":196,"column":12},"end":{"line":196,"column":35}},"62":{"start":{"line":198,"column":12},"end":{"line":198,"column":46}},"63":{"start":{"line":214,"column":4},"end":{"line":214,"column":29}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":12},"end":{"line":77,"column":12}},{"start":{"line":77,"column":12},"end":{"line":77,"column":12},"skip":true}]},"7":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":8}},{"start":{"line":102,"column":8},"end":{"line":102,"column":8}}]},"8":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":12},"end":{"line":102,"column":30}},{"start":{"line":102,"column":34},"end":{"line":102,"column":57}}]},"9":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":16},"end":{"line":108,"column":16}},{"start":{"line":108,"column":16},"end":{"line":108,"column":16}}]},"10":{"line":108,"type":"binary-expr","locations":[{"start":{"line":108,"column":20},"end":{"line":108,"column":70}},{"start":{"line":108,"column":74},"end":{"line":108,"column":135}}]},"11":{"line":133,"type":"if","locations":[{"start":{"line":133,"column":12},"end":{"line":133,"column":12}},{"start":{"line":133,"column":12},"end":{"line":133,"column":12}}]},"12":{"line":147,"type":"if","locations":[{"start":{"line":147,"column":8},"end":{"line":147,"column":8}},{"start":{"line":147,"column":8},"end":{"line":147,"column":8}}]},"13":{"line":163,"type":"if","locations":[{"start":{"line":163,"column":8},"end":{"line":163,"column":8}},{"start":{"line":163,"column":8},"end":{"line":163,"column":8}}]},"14":{"line":170,"type":"if","locations":[{"start":{"line":170,"column":8},"end":{"line":170,"column":8}},{"start":{"line":170,"column":8},"end":{"line":170,"column":8}}]},"15":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":16},"end":{"line":178,"column":16}},{"start":{"line":178,"column":16},"end":{"line":178,"column":16}}]},"16":{"line":178,"type":"binary-expr","locations":[{"start":{"line":178,"column":20},"end":{"line":178,"column":48}},{"start":{"line":178,"column":52},"end":{"line":178,"column":79}}]},"17":{"line":187,"type":"if","locations":[{"start":{"line":187,"column":16},"end":{"line":187,"column":16}},{"start":{"line":187,"column":16},"end":{"line":187,"column":16}}]}},"l":{"1":1,"4":1,"7":1,"8":1,"12":1,"13":1,"16":1,"21":1,"30":1,"31":21,"33":21,"36":1,"48":22,"50":22,"52":22,"53":22,"57":18,"60":22,"63":18,"72":22,"76":22,"77":229,"78":229,"80":229,"81":229,"82":229,"86":22,"87":22,"98":60,"102":60,"103":5,"105":5,"106":6,"108":6,"110":4,"114":5,"128":22,"130":22,"131":25,"133":25,"134":24,"147":6,"148":1,"150":5,"163":63,"164":3,"168":60,"170":60,"171":50,"173":50,"175":50,"176":55,"178":55,"179":15,"183":40,"185":40,"187":40,"188":1,"191":39,"194":43,"196":43,"198":43,"214":1}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/url-builder.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/url-builder.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":1,"8":1,"9":1,"10":13,"11":1,"12":13,"13":13,"14":13,"15":13,"16":13,"17":13,"18":5,"19":13,"20":27,"21":27,"22":1,"23":26,"24":26,"25":5,"26":21,"27":20,"28":1,"29":27,"30":13,"31":1,"32":1,"33":13,"34":26,"35":26,"36":26,"37":8,"38":8,"39":3,"40":26,"41":11,"42":26,"43":1},"b":{"1":[1,0],"2":[1,1],"3":[0,1],"4":[1,0],"5":[1,0],"6":[5,8],"7":[1,26],"8":[5,21],"9":[20,1],"10":[1,12],"11":[26,18],"12":[8,0],"13":[3,5],"14":[8,6],"15":[11,15],"16":[26,21]},"f":{"1":1,"2":1,"3":13,"4":13,"5":26},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"URLBuilder","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":34}}},"4":{"name":"(anonymous_4)","line":45,"loc":{"start":{"line":45,"column":11},"end":{"line":45,"column":30}}},"5":{"name":"(anonymous_5)","line":105,"loc":{"start":{"line":105,"column":20},"end":{"line":105,"column":38}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":128,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":30}},"8":{"start":{"line":23,"column":0},"end":{"line":23,"column":57}},"9":{"start":{"line":32,"column":0},"end":{"line":34,"column":1}},"10":{"start":{"line":33,"column":4},"end":{"line":33,"column":38}},"11":{"start":{"line":36,"column":0},"end":{"line":125,"column":2}},"12":{"start":{"line":46,"column":8},"end":{"line":46,"column":24}},"13":{"start":{"line":47,"column":8},"end":{"line":47,"column":24}},"14":{"start":{"line":49,"column":8},"end":{"line":49,"column":64}},"15":{"start":{"line":50,"column":8},"end":{"line":50,"column":52}},"16":{"start":{"line":52,"column":8},"end":{"line":52,"column":39}},"17":{"start":{"line":55,"column":8},"end":{"line":57,"column":9}},"18":{"start":{"line":56,"column":12},"end":{"line":56,"column":28}},"19":{"start":{"line":59,"column":8},"end":{"line":85,"column":9}},"20":{"start":{"line":60,"column":12},"end":{"line":60,"column":55}},"21":{"start":{"line":63,"column":12},"end":{"line":82,"column":13}},"22":{"start":{"line":64,"column":16},"end":{"line":64,"column":45}},"23":{"start":{"line":67,"column":16},"end":{"line":67,"column":55}},"24":{"start":{"line":70,"column":16},"end":{"line":81,"column":17}},"25":{"start":{"line":71,"column":20},"end":{"line":71,"column":38}},"26":{"start":{"line":74,"column":23},"end":{"line":81,"column":17}},"27":{"start":{"line":75,"column":20},"end":{"line":75,"column":62}},"28":{"start":{"line":80,"column":20},"end":{"line":80,"column":38}},"29":{"start":{"line":84,"column":12},"end":{"line":84,"column":36}},"30":{"start":{"line":88,"column":8},"end":{"line":92,"column":9}},"31":{"start":{"line":89,"column":12},"end":{"line":89,"column":77}},"32":{"start":{"line":91,"column":12},"end":{"line":91,"column":30}},"33":{"start":{"line":94,"column":8},"end":{"line":94,"column":22}},"34":{"start":{"line":106,"column":8},"end":{"line":106,"column":46}},"35":{"start":{"line":108,"column":8},"end":{"line":108,"column":57}},"36":{"start":{"line":110,"column":8},"end":{"line":117,"column":9}},"37":{"start":{"line":112,"column":12},"end":{"line":116,"column":13}},"38":{"start":{"line":113,"column":16},"end":{"line":115,"column":17}},"39":{"start":{"line":114,"column":20},"end":{"line":114,"column":67}},"40":{"start":{"line":119,"column":8},"end":{"line":121,"column":9}},"41":{"start":{"line":120,"column":12},"end":{"line":120,"column":26}},"42":{"start":{"line":123,"column":8},"end":{"line":123,"column":20}},"43":{"start":{"line":127,"column":4},"end":{"line":127,"column":22}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":8},"end":{"line":55,"column":8}},{"start":{"line":55,"column":8},"end":{"line":55,"column":8},"skip":true}]},"7":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":12},"end":{"line":63,"column":12}},{"start":{"line":63,"column":12},"end":{"line":63,"column":12}}]},"8":{"line":70,"type":"if","locations":[{"start":{"line":70,"column":16},"end":{"line":70,"column":16}},{"start":{"line":70,"column":16},"end":{"line":70,"column":16}}]},"9":{"line":74,"type":"if","locations":[{"start":{"line":74,"column":23},"end":{"line":74,"column":23}},{"start":{"line":74,"column":23},"end":{"line":74,"column":23}}]},"10":{"line":88,"type":"if","locations":[{"start":{"line":88,"column":8},"end":{"line":88,"column":8}},{"start":{"line":88,"column":8},"end":{"line":88,"column":8}}]},"11":{"line":106,"type":"binary-expr","locations":[{"start":{"line":106,"column":19},"end":{"line":106,"column":30}},{"start":{"line":106,"column":34},"end":{"line":106,"column":45}}]},"12":{"line":112,"type":"if","locations":[{"start":{"line":112,"column":12},"end":{"line":112,"column":12}},{"start":{"line":112,"column":12},"end":{"line":112,"column":12},"skip":true}]},"13":{"line":113,"type":"if","locations":[{"start":{"line":113,"column":16},"end":{"line":113,"column":16}},{"start":{"line":113,"column":16},"end":{"line":113,"column":16}}]},"14":{"line":113,"type":"binary-expr","locations":[{"start":{"line":113,"column":20},"end":{"line":113,"column":32}},{"start":{"line":113,"column":36},"end":{"line":113,"column":65}}]},"15":{"line":119,"type":"if","locations":[{"start":{"line":119,"column":8},"end":{"line":119,"column":8}},{"start":{"line":119,"column":8},"end":{"line":119,"column":8}}]},"16":{"line":119,"type":"binary-expr","locations":[{"start":{"line":119,"column":12},"end":{"line":119,"column":48}},{"start":{"line":119,"column":52},"end":{"line":119,"column":91}}]}},"l":{"1":1,"4":1,"7":1,"8":1,"12":1,"13":1,"16":1,"23":1,"32":1,"33":13,"36":1,"46":13,"47":13,"49":13,"50":13,"52":13,"55":13,"56":5,"59":13,"60":27,"63":27,"64":1,"67":26,"70":26,"71":5,"74":21,"75":20,"80":1,"84":27,"88":13,"89":1,"91":1,"94":13,"106":26,"108":26,"110":26,"112":8,"113":8,"114":3,"119":26,"120":11,"123":26,"127":1}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/script-loader.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/script-loader.js","s":{"1":13,"2":13,"3":13,"4":13,"5":13,"6":0,"7":13,"8":13,"9":13,"10":1,"11":13,"12":13,"13":13,"14":13,"15":15,"16":15,"17":15,"18":15,"19":15,"20":15,"21":15,"22":15,"23":13,"24":15,"25":1,"26":1,"27":13,"28":13,"29":13,"30":13,"31":13,"32":13,"33":10,"34":10,"35":10,"36":3,"37":3,"38":7,"39":4,"40":3,"41":3,"42":3,"43":3,"44":13,"45":13,"46":12,"47":11,"48":11,"49":10,"50":2,"51":2,"52":2,"53":2,"54":2,"55":3,"56":2,"57":2,"58":2,"59":2,"60":130,"61":13,"62":130,"63":13,"64":11,"65":13,"66":11,"67":11,"68":11,"69":13,"70":13,"71":11,"72":8,"73":8,"74":8,"75":12,"76":12,"77":12,"78":18,"79":18,"80":15,"81":12,"82":12,"83":12,"84":12,"85":12,"86":8,"87":8,"88":8,"89":15,"90":8,"91":7,"92":7,"93":1,"94":4,"95":4,"96":0,"97":15,"98":15,"99":15,"100":15,"101":14,"102":14,"103":14,"104":15,"105":1,"106":1,"107":15,"108":13,"109":13,"110":13,"111":13,"112":13,"113":13,"114":16,"115":12,"116":13,"117":12,"118":1,"119":11,"120":11,"121":17,"122":17,"123":3,"124":14,"125":14,"126":14,"127":23,"128":23,"129":14,"130":14,"131":9,"132":1,"133":1,"134":8,"135":8,"136":8,"137":8,"138":14,"139":14,"140":0,"141":14,"142":14,"143":17,"144":17,"145":17,"146":2,"147":2,"148":17,"149":11,"150":11,"151":11,"152":11,"153":17,"154":11,"155":11,"156":11,"157":11,"158":17,"159":11,"160":11,"161":1,"162":13,"163":0,"164":13,"165":13,"166":13,"167":13,"168":13,"169":0,"170":13,"171":13,"172":13,"173":1,"174":13,"175":13,"176":208,"177":208,"178":13,"179":13},"b":{"1":[13,0],"2":[13,13],"3":[0,13],"4":[13,12],"5":[13,0],"6":[13,13],"7":[15,15],"8":[13,2],"9":[13,0],"10":[10,3],"11":[9,1],"12":[9,1],"13":[4,3],"14":[3,0],"15":[3,0],"16":[10,1],"17":[2,0],"18":[2,1],"19":[13,117],"20":[11,2],"21":[9,4],"22":[8,0],"23":[15,3],"24":[18,18,18,18],"25":[8,4],"26":[14,0],"27":[14,0,0],"28":[12,4],"29":[3,14],"30":[14,9],"31":[1,8],"32":[0,14],"33":[14,0],"34":[14,13],"35":[2,15],"36":[0,13],"37":[13,13],"38":[0,13],"39":[13,13],"40":[13,0],"41":[208,0]},"f":{"1":13,"2":13,"3":13,"4":15,"5":1,"6":1,"7":13,"8":12,"9":11,"10":2,"11":2,"12":2,"13":3,"14":130,"15":13,"16":11,"17":8,"18":12,"19":12,"20":12,"21":7,"22":7,"23":1,"24":4,"25":0,"26":15,"27":15,"28":14,"29":1,"30":13,"31":13,"32":11,"33":17,"34":11,"35":11,"36":11,"37":13,"38":13},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":76},"end":{"line":20,"column":94}}},"3":{"name":"Loader","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":24}}},"4":{"name":"(anonymous_4)","line":62,"loc":{"start":{"line":62,"column":12},"end":{"line":62,"column":65}}},"5":{"name":"(anonymous_5)","line":90,"loc":{"start":{"line":90,"column":27},"end":{"line":90,"column":38}}},"6":{"name":"(anonymous_6)","line":100,"loc":{"start":{"line":100,"column":16},"end":{"line":100,"column":27}}},"7":{"name":"(anonymous_7)","line":116,"loc":{"start":{"line":116,"column":13},"end":{"line":116,"column":24}}},"8":{"name":"(anonymous_8)","line":155,"loc":{"start":{"line":155,"column":48},"end":{"line":155,"column":71}}},"9":{"name":"(anonymous_9)","line":157,"loc":{"start":{"line":157,"column":16},"end":{"line":157,"column":40}}},"10":{"name":"(anonymous_10)","line":164,"loc":{"start":{"line":164,"column":11},"end":{"line":164,"column":27}}},"11":{"name":"(anonymous_11)","line":180,"loc":{"start":{"line":180,"column":26},"end":{"line":180,"column":47}}},"12":{"name":"(anonymous_12)","line":183,"loc":{"start":{"line":183,"column":27},"end":{"line":183,"column":53}}},"13":{"name":"(anonymous_13)","line":184,"loc":{"start":{"line":184,"column":35},"end":{"line":184,"column":62}}},"14":{"name":"(anonymous_14)","line":207,"loc":{"start":{"line":207,"column":22},"end":{"line":207,"column":33}}},"15":{"name":"(anonymous_15)","line":222,"loc":{"start":{"line":222,"column":27},"end":{"line":222,"column":38}}},"16":{"name":"(anonymous_16)","line":238,"loc":{"start":{"line":238,"column":31},"end":{"line":238,"column":57}}},"17":{"name":"(anonymous_17)","line":259,"loc":{"start":{"line":259,"column":20},"end":{"line":259,"column":31}}},"18":{"name":"(anonymous_18)","line":275,"loc":{"start":{"line":275,"column":32},"end":{"line":275,"column":50}}},"19":{"name":"(anonymous_19)","line":301,"loc":{"start":{"line":301,"column":18},"end":{"line":301,"column":40}}},"20":{"name":"(anonymous_20)","line":304,"loc":{"start":{"line":304,"column":27},"end":{"line":304,"column":53}}},"21":{"name":"(anonymous_21)","line":321,"loc":{"start":{"line":321,"column":49},"end":{"line":321,"column":73}}},"22":{"name":"(anonymous_22)","line":326,"loc":{"start":{"line":326,"column":22},"end":{"line":326,"column":40}}},"23":{"name":"(anonymous_23)","line":331,"loc":{"start":{"line":331,"column":23},"end":{"line":331,"column":39}}},"24":{"name":"(anonymous_24)","line":337,"loc":{"start":{"line":337,"column":55},"end":{"line":337,"column":73}}},"25":{"name":"(anonymous_25)","line":343,"loc":{"start":{"line":343,"column":22},"end":{"line":343,"column":38}}},"26":{"name":"(anonymous_26)","line":358,"loc":{"start":{"line":358,"column":17},"end":{"line":358,"column":31}}},"27":{"name":"(anonymous_27)","line":359,"loc":{"start":{"line":359,"column":27},"end":{"line":359,"column":53}}},"28":{"name":"(anonymous_28)","line":366,"loc":{"start":{"line":366,"column":56},"end":{"line":366,"column":67}}},"29":{"name":"(anonymous_29)","line":376,"loc":{"start":{"line":376,"column":29},"end":{"line":376,"column":40}}},"30":{"name":"(anonymous_30)","line":394,"loc":{"start":{"line":394,"column":26},"end":{"line":394,"column":44}}},"31":{"name":"(anonymous_31)","line":397,"loc":{"start":{"line":397,"column":27},"end":{"line":397,"column":53}}},"32":{"name":"(anonymous_32)","line":425,"loc":{"start":{"line":425,"column":30},"end":{"line":425,"column":48}}},"33":{"name":"(anonymous_33)","line":493,"loc":{"start":{"line":493,"column":20},"end":{"line":493,"column":41}}},"34":{"name":"(anonymous_34)","line":518,"loc":{"start":{"line":518,"column":21},"end":{"line":518,"column":43}}},"35":{"name":"(anonymous_35)","line":521,"loc":{"start":{"line":521,"column":27},"end":{"line":521,"column":53}}},"36":{"name":"(anonymous_36)","line":528,"loc":{"start":{"line":528,"column":46},"end":{"line":528,"column":72}}},"37":{"name":"extend","line":555,"loc":{"start":{"line":555,"column":0},"end":{"line":555,"column":26}}},"38":{"name":"mix","line":582,"loc":{"start":{"line":582,"column":0},"end":{"line":582,"column":34}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":595,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":17,"column":4},"end":{"line":17,"column":32}},"8":{"start":{"line":18,"column":4},"end":{"line":18,"column":63}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":61}},"10":{"start":{"line":32,"column":0},"end":{"line":38,"column":1}},"11":{"start":{"line":33,"column":4},"end":{"line":33,"column":57}},"12":{"start":{"line":35,"column":4},"end":{"line":35,"column":47}},"13":{"start":{"line":37,"column":4},"end":{"line":37,"column":26}},"14":{"start":{"line":40,"column":0},"end":{"line":550,"column":3}},"15":{"start":{"line":65,"column":8},"end":{"line":65,"column":34}},"16":{"start":{"line":67,"column":8},"end":{"line":67,"column":55}},"17":{"start":{"line":69,"column":8},"end":{"line":69,"column":27}},"18":{"start":{"line":70,"column":8},"end":{"line":70,"column":43}},"19":{"start":{"line":71,"column":8},"end":{"line":71,"column":54}},"20":{"start":{"line":73,"column":8},"end":{"line":73,"column":51}},"21":{"start":{"line":75,"column":8},"end":{"line":75,"column":39}},"22":{"start":{"line":77,"column":8},"end":{"line":79,"column":9}},"23":{"start":{"line":78,"column":12},"end":{"line":78,"column":49}},"24":{"start":{"line":81,"column":8},"end":{"line":81,"column":44}},"25":{"start":{"line":91,"column":8},"end":{"line":91,"column":63}},"26":{"start":{"line":101,"column":8},"end":{"line":101,"column":52}},"27":{"start":{"line":117,"column":8},"end":{"line":117,"column":24}},"28":{"start":{"line":119,"column":8},"end":{"line":119,"column":28}},"29":{"start":{"line":120,"column":8},"end":{"line":120,"column":20}},"30":{"start":{"line":121,"column":8},"end":{"line":121,"column":28}},"31":{"start":{"line":126,"column":8},"end":{"line":127,"column":78}},"32":{"start":{"line":129,"column":8},"end":{"line":149,"column":9}},"33":{"start":{"line":130,"column":12},"end":{"line":130,"column":35}},"34":{"start":{"line":131,"column":12},"end":{"line":131,"column":87}},"35":{"start":{"line":132,"column":12},"end":{"line":132,"column":87}},"36":{"start":{"line":135,"column":12},"end":{"line":135,"column":25}},"37":{"start":{"line":137,"column":12},"end":{"line":148,"column":13}},"38":{"start":{"line":138,"column":16},"end":{"line":147,"column":17}},"39":{"start":{"line":139,"column":20},"end":{"line":139,"column":46}},"40":{"start":{"line":142,"column":23},"end":{"line":147,"column":17}},"41":{"start":{"line":143,"column":20},"end":{"line":143,"column":51}},"42":{"start":{"line":144,"column":20},"end":{"line":144,"column":124}},"43":{"start":{"line":146,"column":20},"end":{"line":146,"column":26}},"44":{"start":{"line":151,"column":8},"end":{"line":151,"column":61}},"45":{"start":{"line":155,"column":8},"end":{"line":169,"column":11}},"46":{"start":{"line":156,"column":12},"end":{"line":156,"column":51}},"47":{"start":{"line":158,"column":12},"end":{"line":158,"column":80}},"48":{"start":{"line":161,"column":12},"end":{"line":163,"column":13}},"49":{"start":{"line":162,"column":16},"end":{"line":162,"column":78}},"50":{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},"51":{"start":{"line":166,"column":16},"end":{"line":166,"column":61}},"52":{"start":{"line":181,"column":8},"end":{"line":181,"column":24}},"53":{"start":{"line":183,"column":8},"end":{"line":197,"column":11}},"54":{"start":{"line":184,"column":12},"end":{"line":194,"column":14}},"55":{"start":{"line":185,"column":16},"end":{"line":193,"column":17}},"56":{"start":{"line":186,"column":20},"end":{"line":186,"column":65}},"57":{"start":{"line":190,"column":20},"end":{"line":190,"column":56}},"58":{"start":{"line":192,"column":20},"end":{"line":192,"column":40}},"59":{"start":{"line":196,"column":12},"end":{"line":196,"column":56}},"60":{"start":{"line":208,"column":8},"end":{"line":210,"column":9}},"61":{"start":{"line":209,"column":12},"end":{"line":209,"column":71}},"62":{"start":{"line":212,"column":8},"end":{"line":212,"column":34}},"63":{"start":{"line":223,"column":8},"end":{"line":225,"column":9}},"64":{"start":{"line":224,"column":12},"end":{"line":224,"column":92}},"65":{"start":{"line":227,"column":8},"end":{"line":227,"column":39}},"66":{"start":{"line":239,"column":8},"end":{"line":239,"column":39}},"67":{"start":{"line":241,"column":8},"end":{"line":241,"column":59}},"68":{"start":{"line":243,"column":8},"end":{"line":247,"column":9}},"69":{"start":{"line":244,"column":12},"end":{"line":244,"column":61}},"70":{"start":{"line":246,"column":12},"end":{"line":246,"column":99}},"71":{"start":{"line":249,"column":8},"end":{"line":249,"column":37}},"72":{"start":{"line":260,"column":8},"end":{"line":262,"column":9}},"73":{"start":{"line":261,"column":12},"end":{"line":261,"column":78}},"74":{"start":{"line":264,"column":8},"end":{"line":264,"column":32}},"75":{"start":{"line":276,"column":8},"end":{"line":276,"column":32}},"76":{"start":{"line":278,"column":8},"end":{"line":278,"column":69}},"77":{"start":{"line":280,"column":8},"end":{"line":288,"column":9}},"78":{"start":{"line":281,"column":12},"end":{"line":281,"column":65}},"79":{"start":{"line":285,"column":12},"end":{"line":287,"column":13}},"80":{"start":{"line":286,"column":16},"end":{"line":286,"column":48}},"81":{"start":{"line":290,"column":8},"end":{"line":290,"column":30}},"82":{"start":{"line":302,"column":8},"end":{"line":302,"column":24}},"83":{"start":{"line":304,"column":8},"end":{"line":347,"column":11}},"84":{"start":{"line":306,"column":12},"end":{"line":306,"column":83}},"85":{"start":{"line":308,"column":12},"end":{"line":346,"column":13}},"86":{"start":{"line":310,"column":16},"end":{"line":310,"column":76}},"87":{"start":{"line":312,"column":16},"end":{"line":312,"column":40}},"88":{"start":{"line":315,"column":16},"end":{"line":317,"column":17}},"89":{"start":{"line":316,"column":20},"end":{"line":316,"column":67}},"90":{"start":{"line":321,"column":16},"end":{"line":333,"column":19}},"91":{"start":{"line":322,"column":20},"end":{"line":322,"column":61}},"92":{"start":{"line":327,"column":20},"end":{"line":327,"column":37}},"93":{"start":{"line":332,"column":20},"end":{"line":332,"column":34}},"94":{"start":{"line":337,"column":16},"end":{"line":345,"column":19}},"95":{"start":{"line":338,"column":20},"end":{"line":338,"column":37}},"96":{"start":{"line":344,"column":20},"end":{"line":344,"column":34}},"97":{"start":{"line":359,"column":8},"end":{"line":383,"column":11}},"98":{"start":{"line":360,"column":12},"end":{"line":360,"column":58}},"99":{"start":{"line":362,"column":12},"end":{"line":362,"column":29}},"100":{"start":{"line":366,"column":12},"end":{"line":373,"column":14}},"101":{"start":{"line":367,"column":16},"end":{"line":372,"column":17}},"102":{"start":{"line":369,"column":20},"end":{"line":369,"column":69}},"103":{"start":{"line":371,"column":20},"end":{"line":371,"column":36}},"104":{"start":{"line":376,"column":12},"end":{"line":380,"column":14}},"105":{"start":{"line":377,"column":16},"end":{"line":377,"column":50}},"106":{"start":{"line":379,"column":16},"end":{"line":379,"column":31}},"107":{"start":{"line":382,"column":12},"end":{"line":382,"column":46}},"108":{"start":{"line":395,"column":8},"end":{"line":395,"column":24}},"109":{"start":{"line":397,"column":8},"end":{"line":415,"column":11}},"110":{"start":{"line":398,"column":12},"end":{"line":414,"column":13}},"111":{"start":{"line":399,"column":16},"end":{"line":399,"column":77}},"112":{"start":{"line":400,"column":16},"end":{"line":400,"column":38}},"113":{"start":{"line":403,"column":16},"end":{"line":407,"column":17}},"114":{"start":{"line":404,"column":20},"end":{"line":406,"column":21}},"115":{"start":{"line":405,"column":24},"end":{"line":405,"column":54}},"116":{"start":{"line":409,"column":16},"end":{"line":409,"column":98}},"117":{"start":{"line":411,"column":16},"end":{"line":411,"column":38}},"118":{"start":{"line":413,"column":16},"end":{"line":413,"column":30}},"119":{"start":{"line":426,"column":8},"end":{"line":426,"column":69}},"120":{"start":{"line":428,"column":8},"end":{"line":482,"column":9}},"121":{"start":{"line":429,"column":12},"end":{"line":429,"column":36}},"122":{"start":{"line":431,"column":12},"end":{"line":433,"column":13}},"123":{"start":{"line":432,"column":16},"end":{"line":432,"column":25}},"124":{"start":{"line":435,"column":12},"end":{"line":435,"column":47}},"125":{"start":{"line":438,"column":12},"end":{"line":438,"column":28}},"126":{"start":{"line":440,"column":12},"end":{"line":466,"column":13}},"127":{"start":{"line":441,"column":16},"end":{"line":441,"column":56}},"128":{"start":{"line":446,"column":16},"end":{"line":465,"column":17}},"129":{"start":{"line":447,"column":20},"end":{"line":447,"column":37}},"130":{"start":{"line":449,"column":20},"end":{"line":449,"column":64}},"131":{"start":{"line":450,"column":23},"end":{"line":465,"column":17}},"132":{"start":{"line":451,"column":20},"end":{"line":451,"column":48}},"133":{"start":{"line":453,"column":20},"end":{"line":453,"column":64}},"134":{"start":{"line":458,"column":20},"end":{"line":458,"column":79}},"135":{"start":{"line":460,"column":20},"end":{"line":460,"column":73}},"136":{"start":{"line":462,"column":20},"end":{"line":462,"column":63}},"137":{"start":{"line":464,"column":20},"end":{"line":464,"column":57}},"138":{"start":{"line":468,"column":12},"end":{"line":468,"column":117}},"139":{"start":{"line":477,"column":12},"end":{"line":481,"column":13}},"140":{"start":{"line":478,"column":16},"end":{"line":478,"column":47}},"141":{"start":{"line":479,"column":19},"end":{"line":481,"column":13}},"142":{"start":{"line":480,"column":16},"end":{"line":480,"column":75}},"143":{"start":{"line":494,"column":8},"end":{"line":494,"column":24}},"144":{"start":{"line":498,"column":8},"end":{"line":498,"column":57}},"145":{"start":{"line":500,"column":8},"end":{"line":504,"column":9}},"146":{"start":{"line":501,"column":12},"end":{"line":501,"column":66}},"147":{"start":{"line":503,"column":12},"end":{"line":503,"column":57}},"148":{"start":{"line":506,"column":8},"end":{"line":506,"column":29}},"149":{"start":{"line":519,"column":8},"end":{"line":519,"column":24}},"150":{"start":{"line":521,"column":8},"end":{"line":541,"column":11}},"151":{"start":{"line":522,"column":12},"end":{"line":522,"column":37}},"152":{"start":{"line":524,"column":12},"end":{"line":526,"column":13}},"153":{"start":{"line":525,"column":16},"end":{"line":525,"column":74}},"154":{"start":{"line":528,"column":12},"end":{"line":540,"column":15}},"155":{"start":{"line":529,"column":16},"end":{"line":529,"column":77}},"156":{"start":{"line":531,"column":16},"end":{"line":531,"column":40}},"157":{"start":{"line":533,"column":16},"end":{"line":535,"column":17}},"158":{"start":{"line":534,"column":20},"end":{"line":534,"column":75}},"159":{"start":{"line":537,"column":16},"end":{"line":537,"column":62}},"160":{"start":{"line":539,"column":16},"end":{"line":539,"column":40}},"161":{"start":{"line":555,"column":0},"end":{"line":580,"column":1}},"162":{"start":{"line":556,"column":4},"end":{"line":558,"column":5}},"163":{"start":{"line":557,"column":8},"end":{"line":557,"column":53},"skip":true},"164":{"start":{"line":560,"column":4},"end":{"line":561,"column":31}},"165":{"start":{"line":562,"column":4},"end":{"line":562,"column":21}},"166":{"start":{"line":564,"column":4},"end":{"line":564,"column":23}},"167":{"start":{"line":565,"column":4},"end":{"line":565,"column":22}},"168":{"start":{"line":569,"column":4},"end":{"line":571,"column":5}},"169":{"start":{"line":570,"column":8},"end":{"line":570,"column":27},"skip":true},"170":{"start":{"line":575,"column":4},"end":{"line":577,"column":5}},"171":{"start":{"line":576,"column":8},"end":{"line":576,"column":20}},"172":{"start":{"line":579,"column":4},"end":{"line":579,"column":13}},"173":{"start":{"line":582,"column":0},"end":{"line":592,"column":1}},"174":{"start":{"line":583,"column":4},"end":{"line":583,"column":57}},"175":{"start":{"line":585,"column":4},"end":{"line":589,"column":5}},"176":{"start":{"line":586,"column":8},"end":{"line":588,"column":9}},"177":{"start":{"line":587,"column":12},"end":{"line":587,"column":39}},"178":{"start":{"line":591,"column":4},"end":{"line":591,"column":23}},"179":{"start":{"line":594,"column":4},"end":{"line":594,"column":18}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":20,"type":"cond-expr","locations":[{"start":{"line":20,"column":34},"end":{"line":20,"column":40}},{"start":{"line":20,"column":70},"end":{"line":20,"column":74},"skip":true}]},"6":{"line":35,"type":"binary-expr","locations":[{"start":{"line":35,"column":19},"end":{"line":35,"column":25}},{"start":{"line":35,"column":29},"end":{"line":35,"column":46}}]},"7":{"line":65,"type":"binary-expr","locations":[{"start":{"line":65,"column":21},"end":{"line":65,"column":27}},{"start":{"line":65,"column":31},"end":{"line":65,"column":33}}]},"8":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":8},"end":{"line":77,"column":8}},{"start":{"line":77,"column":8},"end":{"line":77,"column":8}}]},"9":{"line":126,"type":"cond-expr","locations":[{"start":{"line":126,"column":42},"end":{"line":126,"column":69}},{"start":{"line":127,"column":12},"end":{"line":127,"column":77},"skip":true}]},"10":{"line":129,"type":"if","locations":[{"start":{"line":129,"column":8},"end":{"line":129,"column":8}},{"start":{"line":129,"column":8},"end":{"line":129,"column":8}}]},"11":{"line":131,"type":"cond-expr","locations":[{"start":{"line":131,"column":67},"end":{"line":131,"column":79}},{"start":{"line":131,"column":82},"end":{"line":131,"column":86}}]},"12":{"line":132,"type":"cond-expr","locations":[{"start":{"line":132,"column":67},"end":{"line":132,"column":79}},{"start":{"line":132,"column":82},"end":{"line":132,"column":86}}]},"13":{"line":138,"type":"if","locations":[{"start":{"line":138,"column":16},"end":{"line":138,"column":16}},{"start":{"line":138,"column":16},"end":{"line":138,"column":16}}]},"14":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":23},"end":{"line":142,"column":23}},{"start":{"line":142,"column":23},"end":{"line":142,"column":23},"skip":true}]},"15":{"line":144,"type":"cond-expr","locations":[{"start":{"line":144,"column":77},"end":{"line":144,"column":89}},{"start":{"line":144,"column":119},"end":{"line":144,"column":123},"skip":true}]},"16":{"line":161,"type":"if","locations":[{"start":{"line":161,"column":12},"end":{"line":161,"column":12}},{"start":{"line":161,"column":12},"end":{"line":161,"column":12},"skip":true}]},"17":{"line":165,"type":"if","locations":[{"start":{"line":165,"column":12},"end":{"line":165,"column":12}},{"start":{"line":165,"column":12},"end":{"line":165,"column":12},"skip":true}]},"18":{"line":185,"type":"if","locations":[{"start":{"line":185,"column":16},"end":{"line":185,"column":16}},{"start":{"line":185,"column":16},"end":{"line":185,"column":16}}]},"19":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":8},"end":{"line":208,"column":8}},{"start":{"line":208,"column":8},"end":{"line":208,"column":8},"skip":true}]},"20":{"line":223,"type":"if","locations":[{"start":{"line":223,"column":8},"end":{"line":223,"column":8}},{"start":{"line":223,"column":8},"end":{"line":223,"column":8}}]},"21":{"line":246,"type":"cond-expr","locations":[{"start":{"line":246,"column":56},"end":{"line":246,"column":85}},{"start":{"line":246,"column":88},"end":{"line":246,"column":97}}]},"22":{"line":260,"type":"if","locations":[{"start":{"line":260,"column":8},"end":{"line":260,"column":8}},{"start":{"line":260,"column":8},"end":{"line":260,"column":8},"skip":true}]},"23":{"line":285,"type":"if","locations":[{"start":{"line":285,"column":12},"end":{"line":285,"column":12}},{"start":{"line":285,"column":12},"end":{"line":285,"column":12}}]},"24":{"line":285,"type":"binary-expr","locations":[{"start":{"line":285,"column":17},"end":{"line":285,"column":47}},{"start":{"line":285,"column":51},"end":{"line":285,"column":80}},{"start":{"line":285,"column":86},"end":{"line":285,"column":103}},{"start":{"line":285,"column":107},"end":{"line":285,"column":134}}]},"25":{"line":308,"type":"if","locations":[{"start":{"line":308,"column":12},"end":{"line":308,"column":12}},{"start":{"line":308,"column":12},"end":{"line":308,"column":12}}]},"26":{"line":367,"type":"if","locations":[{"start":{"line":367,"column":16},"end":{"line":367,"column":16}},{"start":{"line":367,"column":16},"end":{"line":367,"column":16},"skip":true}]},"27":{"line":367,"type":"binary-expr","locations":[{"start":{"line":367,"column":20},"end":{"line":367,"column":36}},{"start":{"line":367,"column":67},"end":{"line":367,"column":97},"skip":true},{"start":{"line":367,"column":128},"end":{"line":367,"column":154},"skip":true}]},"28":{"line":404,"type":"if","locations":[{"start":{"line":404,"column":20},"end":{"line":404,"column":20}},{"start":{"line":404,"column":20},"end":{"line":404,"column":20}}]},"29":{"line":431,"type":"if","locations":[{"start":{"line":431,"column":12},"end":{"line":431,"column":12}},{"start":{"line":431,"column":12},"end":{"line":431,"column":12}}]},"30":{"line":446,"type":"if","locations":[{"start":{"line":446,"column":16},"end":{"line":446,"column":16}},{"start":{"line":446,"column":16},"end":{"line":446,"column":16}}]},"31":{"line":450,"type":"if","locations":[{"start":{"line":450,"column":23},"end":{"line":450,"column":23}},{"start":{"line":450,"column":23},"end":{"line":450,"column":23}}]},"32":{"line":477,"type":"if","locations":[{"start":{"line":477,"column":12},"end":{"line":477,"column":12}},{"start":{"line":477,"column":12},"end":{"line":477,"column":12}}]},"33":{"line":479,"type":"if","locations":[{"start":{"line":479,"column":19},"end":{"line":479,"column":19}},{"start":{"line":479,"column":19},"end":{"line":479,"column":19}}]},"34":{"line":480,"type":"binary-expr","locations":[{"start":{"line":480,"column":40},"end":{"line":480,"column":59}},{"start":{"line":480,"column":63},"end":{"line":480,"column":74}}]},"35":{"line":500,"type":"if","locations":[{"start":{"line":500,"column":8},"end":{"line":500,"column":8}},{"start":{"line":500,"column":8},"end":{"line":500,"column":8}}]},"36":{"line":556,"type":"if","locations":[{"start":{"line":556,"column":4},"end":{"line":556,"column":4},"skip":true},{"start":{"line":556,"column":4},"end":{"line":556,"column":4}}]},"37":{"line":556,"type":"binary-expr","locations":[{"start":{"line":556,"column":8},"end":{"line":556,"column":10}},{"start":{"line":556,"column":14},"end":{"line":556,"column":16}}]},"38":{"line":569,"type":"if","locations":[{"start":{"line":569,"column":4},"end":{"line":569,"column":4},"skip":true},{"start":{"line":569,"column":4},"end":{"line":569,"column":4}}]},"39":{"line":569,"type":"binary-expr","locations":[{"start":{"line":569,"column":8},"end":{"line":569,"column":19}},{"start":{"line":569,"column":23},"end":{"line":569,"column":69}}]},"40":{"line":575,"type":"if","locations":[{"start":{"line":575,"column":4},"end":{"line":575,"column":4}},{"start":{"line":575,"column":4},"end":{"line":575,"column":4},"skip":true}]},"41":{"line":586,"type":"if","locations":[{"start":{"line":586,"column":8},"end":{"line":586,"column":8}},{"start":{"line":586,"column":8},"end":{"line":586,"column":8},"skip":true}]}},"l":{"1":13,"4":13,"7":13,"8":13,"12":13,"13":1,"17":13,"18":13,"19":13,"32":1,"33":13,"35":13,"37":13,"40":13,"65":15,"67":15,"69":15,"70":15,"71":15,"73":15,"75":15,"77":15,"78":13,"81":15,"91":1,"101":1,"117":13,"119":13,"120":13,"121":13,"126":13,"129":13,"130":10,"131":10,"132":10,"135":3,"137":3,"138":7,"139":4,"142":3,"143":3,"144":3,"146":3,"151":13,"155":13,"156":12,"158":11,"161":11,"162":10,"165":2,"166":2,"181":2,"183":2,"184":2,"185":3,"186":2,"190":2,"192":2,"196":2,"208":130,"209":13,"212":130,"223":13,"224":11,"227":13,"239":11,"241":11,"243":11,"244":13,"246":13,"249":11,"260":8,"261":8,"264":8,"276":12,"278":12,"280":12,"281":18,"285":18,"286":15,"290":12,"302":12,"304":12,"306":12,"308":12,"310":8,"312":8,"315":8,"316":15,"321":8,"322":7,"327":7,"332":1,"337":4,"338":4,"344":0,"359":15,"360":15,"362":15,"366":15,"367":14,"369":14,"371":14,"376":15,"377":1,"379":1,"382":15,"395":13,"397":13,"398":13,"399":13,"400":13,"403":13,"404":16,"405":12,"409":13,"411":12,"413":1,"426":11,"428":11,"429":17,"431":17,"432":3,"435":14,"438":14,"440":14,"441":23,"446":23,"447":14,"449":14,"450":9,"451":1,"453":1,"458":8,"460":8,"462":8,"464":8,"468":14,"477":14,"478":0,"479":14,"480":14,"494":17,"498":17,"500":17,"501":2,"503":2,"506":17,"519":11,"521":11,"522":11,"524":11,"525":17,"528":11,"529":11,"531":11,"533":11,"534":17,"537":11,"539":11,"555":1,"556":13,"557":1,"560":13,"562":13,"564":13,"565":13,"569":13,"570":1,"575":13,"576":13,"579":13,"582":1,"583":13,"585":13,"586":208,"587":208,"591":13,"594":13}}} | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/event-emitter.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/event-emitter.js","s":{"1":18,"2":18,"3":18,"4":18,"5":18,"6":0,"7":18,"8":1,"9":23,"10":18,"11":12,"12":12,"13":9,"14":9,"15":5,"16":5,"17":4,"18":1,"19":4,"20":30,"21":30,"22":9,"23":9,"24":10,"25":10,"26":21,"27":18},"b":{"1":[18,0],"2":[18,18],"3":[0,18],"4":[18,16],"5":[18,0],"6":[12,7],"7":[5,4],"8":[4,1],"9":[9,21]},"f":{"1":18,"2":18,"3":23,"4":12,"5":9,"6":30},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"EventEmitter","line":27,"loc":{"start":{"line":27,"column":0},"end":{"line":27,"column":24}}},"4":{"name":"(anonymous_4)","line":40,"loc":{"start":{"line":40,"column":8},"end":{"line":40,"column":35}}},"5":{"name":"(anonymous_5)","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":52,"column":36}}},"6":{"name":"(anonymous_6)","line":75,"loc":{"start":{"line":75,"column":10},"end":{"line":75,"column":33}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":97,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":32}},"8":{"start":{"line":27,"column":0},"end":{"line":29,"column":1}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":22}},"10":{"start":{"line":31,"column":0},"end":{"line":94,"column":2}},"11":{"start":{"line":41,"column":8},"end":{"line":41,"column":72}},"12":{"start":{"line":43,"column":8},"end":{"line":43,"column":33}},"13":{"start":{"line":53,"column":8},"end":{"line":53,"column":44}},"14":{"start":{"line":55,"column":8},"end":{"line":65,"column":9}},"15":{"start":{"line":56,"column":12},"end":{"line":56,"column":60}},"16":{"start":{"line":58,"column":12},"end":{"line":62,"column":13}},"17":{"start":{"line":59,"column":16},"end":{"line":59,"column":51}},"18":{"start":{"line":61,"column":16},"end":{"line":61,"column":86}},"19":{"start":{"line":64,"column":12},"end":{"line":64,"column":76}},"20":{"start":{"line":76,"column":8},"end":{"line":76,"column":44}},"21":{"start":{"line":78,"column":8},"end":{"line":92,"column":9}},"22":{"start":{"line":83,"column":12},"end":{"line":83,"column":43}},"23":{"start":{"line":85,"column":12},"end":{"line":89,"column":13}},"24":{"start":{"line":86,"column":16},"end":{"line":86,"column":44}},"25":{"start":{"line":88,"column":16},"end":{"line":88,"column":46}},"26":{"start":{"line":91,"column":12},"end":{"line":91,"column":61}},"27":{"start":{"line":96,"column":4},"end":{"line":96,"column":24}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":41,"type":"binary-expr","locations":[{"start":{"line":41,"column":46},"end":{"line":41,"column":65}},{"start":{"line":41,"column":69},"end":{"line":41,"column":71}}]},"7":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":8},"end":{"line":55,"column":8}},{"start":{"line":55,"column":8},"end":{"line":55,"column":8}}]},"8":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":12},"end":{"line":58,"column":12}},{"start":{"line":58,"column":12},"end":{"line":58,"column":12}}]},"9":{"line":78,"type":"if","locations":[{"start":{"line":78,"column":8},"end":{"line":78,"column":8}},{"start":{"line":78,"column":8},"end":{"line":78,"column":8}}]}},"l":{"1":18,"4":18,"7":18,"8":18,"12":18,"13":1,"16":18,"27":1,"28":23,"31":18,"41":12,"43":12,"53":9,"55":9,"56":5,"58":5,"59":4,"61":1,"64":4,"76":30,"78":30,"83":9,"85":9,"86":10,"88":10,"91":21,"96":18}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/config-parser.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/config-parser.js","s":{"1":18,"2":18,"3":18,"4":18,"5":18,"6":0,"7":18,"8":18,"9":1,"10":34,"11":34,"12":34,"13":34,"14":18,"15":329,"16":329,"17":20,"18":59,"19":59,"20":309,"21":329,"22":329,"23":54,"24":79,"25":285,"26":99,"27":99,"28":24,"29":75,"30":99,"31":105,"32":105,"33":171,"34":171,"35":10,"36":10,"37":10,"38":99,"39":34,"40":120,"41":120,"42":25,"43":95,"44":34,"45":25,"46":284,"47":284,"48":284,"49":284,"50":25,"51":329,"52":17,"53":17,"54":13,"55":17,"56":18},"b":{"1":[18,0],"2":[18,18],"3":[0,18],"4":[18,16],"5":[18,0],"6":[20,309],"7":[59,0],"8":[24,75],"9":[171,0],"10":[10,161],"11":[171,161],"12":[24,75],"13":[120,0],"14":[25,95],"15":[284,0],"16":[17,312],"17":[13,4]},"f":{"1":18,"2":18,"3":34,"4":329,"5":54,"6":79,"7":285,"8":99,"9":34,"10":25,"11":329},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"ConfigParser","line":30,"loc":{"start":{"line":30,"column":0},"end":{"line":30,"column":30}}},"4":{"name":"(anonymous_4)","line":56,"loc":{"start":{"line":56,"column":15},"end":{"line":56,"column":33}}},"5":{"name":"(anonymous_5)","line":83,"loc":{"start":{"line":83,"column":15},"end":{"line":83,"column":27}}},"6":{"name":"(anonymous_6)","line":92,"loc":{"start":{"line":92,"column":27},"end":{"line":92,"column":39}}},"7":{"name":"(anonymous_7)","line":101,"loc":{"start":{"line":101,"column":16},"end":{"line":101,"column":28}}},"8":{"name":"(anonymous_8)","line":120,"loc":{"start":{"line":120,"column":15},"end":{"line":120,"column":32}}},"9":{"name":"(anonymous_9)","line":155,"loc":{"start":{"line":155,"column":18},"end":{"line":155,"column":36}}},"10":{"name":"(anonymous_10)","line":176,"loc":{"start":{"line":176,"column":19},"end":{"line":176,"column":38}}},"11":{"name":"(anonymous_11)","line":196,"loc":{"start":{"line":196,"column":32},"end":{"line":196,"column":50}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":211,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":32}},"8":{"start":{"line":21,"column":0},"end":{"line":21,"column":53}},"9":{"start":{"line":30,"column":0},"end":{"line":36,"column":1}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":22}},"11":{"start":{"line":32,"column":4},"end":{"line":32,"column":23}},"12":{"start":{"line":33,"column":4},"end":{"line":33,"column":34}},"13":{"start":{"line":35,"column":4},"end":{"line":35,"column":30}},"14":{"start":{"line":38,"column":0},"end":{"line":208,"column":2}},"15":{"start":{"line":61,"column":8},"end":{"line":61,"column":58}},"16":{"start":{"line":63,"column":8},"end":{"line":71,"column":9}},"17":{"start":{"line":64,"column":12},"end":{"line":68,"column":13}},"18":{"start":{"line":65,"column":16},"end":{"line":67,"column":17}},"19":{"start":{"line":66,"column":20},"end":{"line":66,"column":56}},"20":{"start":{"line":70,"column":12},"end":{"line":70,"column":48}},"21":{"start":{"line":73,"column":8},"end":{"line":73,"column":48}},"22":{"start":{"line":75,"column":8},"end":{"line":75,"column":42}},"23":{"start":{"line":84,"column":8},"end":{"line":84,"column":28}},"24":{"start":{"line":93,"column":8},"end":{"line":93,"column":40}},"25":{"start":{"line":102,"column":8},"end":{"line":102,"column":29}},"26":{"start":{"line":121,"column":8},"end":{"line":121,"column":20}},"27":{"start":{"line":123,"column":8},"end":{"line":127,"column":9}},"28":{"start":{"line":124,"column":12},"end":{"line":124,"column":29}},"29":{"start":{"line":126,"column":12},"end":{"line":126,"column":31}},"30":{"start":{"line":129,"column":8},"end":{"line":143,"column":9}},"31":{"start":{"line":130,"column":12},"end":{"line":130,"column":39}},"32":{"start":{"line":132,"column":12},"end":{"line":142,"column":13}},"33":{"start":{"line":134,"column":16},"end":{"line":141,"column":17}},"34":{"start":{"line":135,"column":20},"end":{"line":140,"column":21}},"35":{"start":{"line":136,"column":24},"end":{"line":136,"column":97}},"36":{"start":{"line":137,"column":24},"end":{"line":137,"column":47}},"37":{"start":{"line":139,"column":24},"end":{"line":139,"column":30}},"38":{"start":{"line":145,"column":8},"end":{"line":145,"column":60}},"39":{"start":{"line":156,"column":8},"end":{"line":164,"column":9}},"40":{"start":{"line":157,"column":12},"end":{"line":163,"column":13}},"41":{"start":{"line":158,"column":16},"end":{"line":162,"column":17}},"42":{"start":{"line":159,"column":20},"end":{"line":159,"column":52}},"43":{"start":{"line":161,"column":20},"end":{"line":161,"column":52}},"44":{"start":{"line":166,"column":8},"end":{"line":166,"column":28}},"45":{"start":{"line":177,"column":8},"end":{"line":185,"column":9}},"46":{"start":{"line":178,"column":12},"end":{"line":184,"column":13}},"47":{"start":{"line":179,"column":16},"end":{"line":179,"column":42}},"48":{"start":{"line":181,"column":16},"end":{"line":181,"column":34}},"49":{"start":{"line":183,"column":16},"end":{"line":183,"column":39}},"50":{"start":{"line":187,"column":8},"end":{"line":187,"column":29}},"51":{"start":{"line":198,"column":8},"end":{"line":206,"column":9}},"52":{"start":{"line":199,"column":12},"end":{"line":199,"column":85}},"53":{"start":{"line":201,"column":12},"end":{"line":203,"column":13}},"54":{"start":{"line":202,"column":16},"end":{"line":202,"column":90}},"55":{"start":{"line":205,"column":12},"end":{"line":205,"column":46}},"56":{"start":{"line":210,"column":4},"end":{"line":210,"column":24}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":8},"end":{"line":63,"column":8}},{"start":{"line":63,"column":8},"end":{"line":63,"column":8}}]},"7":{"line":65,"type":"if","locations":[{"start":{"line":65,"column":16},"end":{"line":65,"column":16}},{"start":{"line":65,"column":16},"end":{"line":65,"column":16}}]},"8":{"line":123,"type":"if","locations":[{"start":{"line":123,"column":8},"end":{"line":123,"column":8}},{"start":{"line":123,"column":8},"end":{"line":123,"column":8}}]},"9":{"line":134,"type":"if","locations":[{"start":{"line":134,"column":16},"end":{"line":134,"column":16}},{"start":{"line":134,"column":16},"end":{"line":134,"column":16},"skip":true}]},"10":{"line":135,"type":"if","locations":[{"start":{"line":135,"column":20},"end":{"line":135,"column":20}},{"start":{"line":135,"column":20},"end":{"line":135,"column":20}}]},"11":{"line":135,"type":"binary-expr","locations":[{"start":{"line":135,"column":24},"end":{"line":135,"column":43}},{"start":{"line":135,"column":47},"end":{"line":135,"column":83}}]},"12":{"line":145,"type":"cond-expr","locations":[{"start":{"line":145,"column":39},"end":{"line":145,"column":46}},{"start":{"line":145,"column":49},"end":{"line":145,"column":59}}]},"13":{"line":157,"type":"if","locations":[{"start":{"line":157,"column":12},"end":{"line":157,"column":12}},{"start":{"line":157,"column":12},"end":{"line":157,"column":12},"skip":true}]},"14":{"line":158,"type":"if","locations":[{"start":{"line":158,"column":16},"end":{"line":158,"column":16}},{"start":{"line":158,"column":16},"end":{"line":158,"column":16}}]},"15":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":12},"end":{"line":178,"column":12}},{"start":{"line":178,"column":12},"end":{"line":178,"column":12},"skip":true}]},"16":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":8},"end":{"line":198,"column":8}},{"start":{"line":198,"column":8},"end":{"line":198,"column":8}}]},"17":{"line":201,"type":"if","locations":[{"start":{"line":201,"column":12},"end":{"line":201,"column":12}},{"start":{"line":201,"column":12},"end":{"line":201,"column":12}}]}},"l":{"1":18,"4":18,"7":18,"8":18,"12":18,"13":1,"16":18,"21":18,"30":1,"31":34,"32":34,"33":34,"35":34,"38":18,"61":329,"63":329,"64":20,"65":59,"66":59,"70":309,"73":329,"75":329,"84":54,"93":79,"102":285,"121":99,"123":99,"124":24,"126":75,"129":99,"130":105,"132":105,"134":171,"135":171,"136":10,"137":10,"139":10,"145":99,"156":34,"157":120,"158":120,"159":25,"161":95,"166":34,"177":25,"178":284,"179":284,"181":284,"183":284,"187":25,"198":329,"199":17,"201":17,"202":13,"205":17,"210":18}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/dependency-builder.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/dependency-builder.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":1,"8":1,"9":1,"10":23,"11":23,"12":1,"13":32,"14":32,"15":32,"16":32,"17":28,"18":32,"19":28,"20":32,"21":32,"22":369,"23":369,"24":369,"25":369,"26":369,"27":32,"28":32,"29":77,"30":77,"31":5,"32":5,"33":6,"34":6,"35":4,"36":5,"37":32,"38":32,"39":41,"40":41,"41":40,"42":6,"43":1,"44":5,"45":80,"46":3,"47":77,"48":77,"49":66,"50":66,"51":66,"52":65,"53":65,"54":24,"55":41,"56":41,"57":41,"58":1,"59":40,"60":59,"61":59,"62":59,"63":1},"b":{"1":[1,0],"2":[1,1],"3":[0,1],"4":[1,0],"5":[1,0],"6":[369,0],"7":[5,72],"8":[77,6],"9":[4,2],"10":[6,6],"11":[40,1],"12":[1,5],"13":[3,77],"14":[66,11],"15":[24,41],"16":[65,43],"17":[1,40]},"f":{"1":1,"2":1,"3":23,"4":32,"5":32,"6":77,"7":32,"8":6,"9":80},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"DependencyBuilder","line":30,"loc":{"start":{"line":30,"column":0},"end":{"line":30,"column":41}}},"4":{"name":"(anonymous_4)","line":45,"loc":{"start":{"line":45,"column":25},"end":{"line":45,"column":44}}},"5":{"name":"(anonymous_5)","line":71,"loc":{"start":{"line":71,"column":14},"end":{"line":71,"column":26}}},"6":{"name":"(anonymous_6)","line":97,"loc":{"start":{"line":97,"column":32},"end":{"line":97,"column":50}}},"7":{"name":"(anonymous_7)","line":125,"loc":{"start":{"line":125,"column":26},"end":{"line":125,"column":38}}},"8":{"name":"(anonymous_8)","line":146,"loc":{"start":{"line":146,"column":28},"end":{"line":146,"column":52}}},"9":{"name":"(anonymous_9)","line":161,"loc":{"start":{"line":161,"column":12},"end":{"line":161,"column":30}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":215,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":37}},"8":{"start":{"line":21,"column":0},"end":{"line":21,"column":53}},"9":{"start":{"line":30,"column":0},"end":{"line":34,"column":1}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":38}},"11":{"start":{"line":33,"column":4},"end":{"line":33,"column":22}},"12":{"start":{"line":36,"column":0},"end":{"line":212,"column":2}},"13":{"start":{"line":48,"column":8},"end":{"line":48,"column":39}},"14":{"start":{"line":50,"column":8},"end":{"line":50,"column":19}},"15":{"start":{"line":52,"column":8},"end":{"line":61,"column":9}},"16":{"start":{"line":53,"column":12},"end":{"line":53,"column":40}},"17":{"start":{"line":57,"column":12},"end":{"line":57,"column":53}},"18":{"start":{"line":60,"column":12},"end":{"line":60,"column":28}},"19":{"start":{"line":63,"column":8},"end":{"line":63,"column":22}},"20":{"start":{"line":72,"column":8},"end":{"line":72,"column":54}},"21":{"start":{"line":76,"column":8},"end":{"line":84,"column":9}},"22":{"start":{"line":77,"column":12},"end":{"line":83,"column":13}},"23":{"start":{"line":78,"column":16},"end":{"line":78,"column":42}},"24":{"start":{"line":80,"column":16},"end":{"line":80,"column":47}},"25":{"start":{"line":81,"column":16},"end":{"line":81,"column":36}},"26":{"start":{"line":82,"column":16},"end":{"line":82,"column":39}},"27":{"start":{"line":86,"column":8},"end":{"line":86,"column":31}},"28":{"start":{"line":87,"column":8},"end":{"line":87,"column":32}},"29":{"start":{"line":98,"column":8},"end":{"line":98,"column":89}},"30":{"start":{"line":102,"column":8},"end":{"line":115,"column":9}},"31":{"start":{"line":103,"column":12},"end":{"line":103,"column":58}},"32":{"start":{"line":105,"column":12},"end":{"line":112,"column":13}},"33":{"start":{"line":106,"column":16},"end":{"line":106,"column":71}},"34":{"start":{"line":108,"column":16},"end":{"line":111,"column":17}},"35":{"start":{"line":110,"column":20},"end":{"line":110,"column":61}},"36":{"start":{"line":114,"column":12},"end":{"line":114,"column":42}},"37":{"start":{"line":128,"column":8},"end":{"line":128,"column":54}},"38":{"start":{"line":130,"column":8},"end":{"line":136,"column":9}},"39":{"start":{"line":131,"column":12},"end":{"line":131,"column":49}},"40":{"start":{"line":133,"column":12},"end":{"line":135,"column":13}},"41":{"start":{"line":134,"column":16},"end":{"line":134,"column":36}},"42":{"start":{"line":147,"column":8},"end":{"line":151,"column":9}},"43":{"start":{"line":148,"column":12},"end":{"line":148,"column":34}},"44":{"start":{"line":150,"column":12},"end":{"line":150,"column":54}},"45":{"start":{"line":163,"column":8},"end":{"line":165,"column":9}},"46":{"start":{"line":164,"column":12},"end":{"line":164,"column":140}},"47":{"start":{"line":168,"column":8},"end":{"line":168,"column":48}},"48":{"start":{"line":170,"column":8},"end":{"line":199,"column":9}},"49":{"start":{"line":171,"column":12},"end":{"line":171,"column":34}},"50":{"start":{"line":173,"column":12},"end":{"line":173,"column":58}},"51":{"start":{"line":175,"column":12},"end":{"line":192,"column":13}},"52":{"start":{"line":176,"column":16},"end":{"line":176,"column":60}},"53":{"start":{"line":178,"column":16},"end":{"line":180,"column":17}},"54":{"start":{"line":179,"column":20},"end":{"line":179,"column":29}},"55":{"start":{"line":183,"column":16},"end":{"line":183,"column":78}},"56":{"start":{"line":185,"column":16},"end":{"line":185,"column":63}},"57":{"start":{"line":187,"column":16},"end":{"line":189,"column":17}},"58":{"start":{"line":188,"column":20},"end":{"line":188,"column":164}},"59":{"start":{"line":191,"column":16},"end":{"line":191,"column":55}},"60":{"start":{"line":194,"column":12},"end":{"line":194,"column":31}},"61":{"start":{"line":196,"column":12},"end":{"line":196,"column":35}},"62":{"start":{"line":198,"column":12},"end":{"line":198,"column":46}},"63":{"start":{"line":214,"column":4},"end":{"line":214,"column":29}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":12},"end":{"line":77,"column":12}},{"start":{"line":77,"column":12},"end":{"line":77,"column":12},"skip":true}]},"7":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":8}},{"start":{"line":102,"column":8},"end":{"line":102,"column":8}}]},"8":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":12},"end":{"line":102,"column":30}},{"start":{"line":102,"column":34},"end":{"line":102,"column":57}}]},"9":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":16},"end":{"line":108,"column":16}},{"start":{"line":108,"column":16},"end":{"line":108,"column":16}}]},"10":{"line":108,"type":"binary-expr","locations":[{"start":{"line":108,"column":20},"end":{"line":108,"column":70}},{"start":{"line":108,"column":74},"end":{"line":108,"column":135}}]},"11":{"line":133,"type":"if","locations":[{"start":{"line":133,"column":12},"end":{"line":133,"column":12}},{"start":{"line":133,"column":12},"end":{"line":133,"column":12}}]},"12":{"line":147,"type":"if","locations":[{"start":{"line":147,"column":8},"end":{"line":147,"column":8}},{"start":{"line":147,"column":8},"end":{"line":147,"column":8}}]},"13":{"line":163,"type":"if","locations":[{"start":{"line":163,"column":8},"end":{"line":163,"column":8}},{"start":{"line":163,"column":8},"end":{"line":163,"column":8}}]},"14":{"line":170,"type":"if","locations":[{"start":{"line":170,"column":8},"end":{"line":170,"column":8}},{"start":{"line":170,"column":8},"end":{"line":170,"column":8}}]},"15":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":16},"end":{"line":178,"column":16}},{"start":{"line":178,"column":16},"end":{"line":178,"column":16}}]},"16":{"line":178,"type":"binary-expr","locations":[{"start":{"line":178,"column":20},"end":{"line":178,"column":48}},{"start":{"line":178,"column":52},"end":{"line":178,"column":79}}]},"17":{"line":187,"type":"if","locations":[{"start":{"line":187,"column":16},"end":{"line":187,"column":16}},{"start":{"line":187,"column":16},"end":{"line":187,"column":16}}]}},"l":{"1":1,"4":1,"7":1,"8":1,"12":1,"13":1,"16":1,"21":1,"30":1,"31":23,"33":23,"36":1,"48":32,"50":32,"52":32,"53":32,"57":28,"60":32,"63":28,"72":32,"76":32,"77":369,"78":369,"80":369,"81":369,"82":369,"86":32,"87":32,"98":77,"102":77,"103":5,"105":5,"106":6,"108":6,"110":4,"114":5,"128":32,"130":32,"131":41,"133":41,"134":40,"147":6,"148":1,"150":5,"163":80,"164":3,"168":77,"170":77,"171":66,"173":66,"175":66,"176":65,"178":65,"179":24,"183":41,"185":41,"187":41,"188":1,"191":40,"194":59,"196":59,"198":59,"214":1}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/url-builder.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/url-builder.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":1,"8":1,"9":1,"10":18,"11":1,"12":20,"13":20,"14":20,"15":20,"16":20,"17":20,"18":20,"19":20,"20":35,"21":35,"22":1,"23":34,"24":34,"25":34,"26":5,"27":29,"28":28,"29":1,"30":35,"31":20,"32":1,"33":1,"34":20,"35":34,"36":34,"37":34,"38":17,"39":17,"40":6,"41":34,"42":19,"43":34,"44":1},"b":{"1":[1,0],"2":[1,1],"3":[0,1],"4":[1,0],"5":[1,0],"6":[20,0],"7":[1,34],"8":[5,29],"9":[28,1],"10":[29,2],"11":[4,24],"12":[1,19],"13":[34,25],"14":[17,0],"15":[6,11],"16":[17,12],"17":[19,15],"18":[34,29]},"f":{"1":1,"2":1,"3":18,"4":20,"5":34},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":76},"end":{"line":17,"column":94}}},"3":{"name":"URLBuilder","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":34}}},"4":{"name":"(anonymous_4)","line":45,"loc":{"start":{"line":45,"column":11},"end":{"line":45,"column":30}}},"5":{"name":"(anonymous_5)","line":107,"loc":{"start":{"line":107,"column":20},"end":{"line":107,"column":38}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":130,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":16,"column":4},"end":{"line":16,"column":30}},"8":{"start":{"line":23,"column":0},"end":{"line":23,"column":57}},"9":{"start":{"line":32,"column":0},"end":{"line":34,"column":1}},"10":{"start":{"line":33,"column":4},"end":{"line":33,"column":38}},"11":{"start":{"line":36,"column":0},"end":{"line":127,"column":2}},"12":{"start":{"line":46,"column":8},"end":{"line":46,"column":24}},"13":{"start":{"line":47,"column":8},"end":{"line":47,"column":24}},"14":{"start":{"line":49,"column":8},"end":{"line":49,"column":64}},"15":{"start":{"line":50,"column":8},"end":{"line":50,"column":52}},"16":{"start":{"line":52,"column":8},"end":{"line":52,"column":39}},"17":{"start":{"line":55,"column":8},"end":{"line":57,"column":9}},"18":{"start":{"line":56,"column":12},"end":{"line":56,"column":28}},"19":{"start":{"line":59,"column":8},"end":{"line":87,"column":9}},"20":{"start":{"line":60,"column":12},"end":{"line":60,"column":55}},"21":{"start":{"line":63,"column":12},"end":{"line":84,"column":13}},"22":{"start":{"line":64,"column":16},"end":{"line":64,"column":45}},"23":{"start":{"line":67,"column":16},"end":{"line":67,"column":55}},"24":{"start":{"line":68,"column":16},"end":{"line":68,"column":59}},"25":{"start":{"line":71,"column":16},"end":{"line":83,"column":17}},"26":{"start":{"line":72,"column":20},"end":{"line":72,"column":38}},"27":{"start":{"line":76,"column":23},"end":{"line":83,"column":17}},"28":{"start":{"line":77,"column":20},"end":{"line":77,"column":84}},"29":{"start":{"line":82,"column":20},"end":{"line":82,"column":38}},"30":{"start":{"line":86,"column":12},"end":{"line":86,"column":36}},"31":{"start":{"line":90,"column":8},"end":{"line":94,"column":9}},"32":{"start":{"line":91,"column":12},"end":{"line":91,"column":77}},"33":{"start":{"line":93,"column":12},"end":{"line":93,"column":30}},"34":{"start":{"line":96,"column":8},"end":{"line":96,"column":22}},"35":{"start":{"line":108,"column":8},"end":{"line":108,"column":46}},"36":{"start":{"line":110,"column":8},"end":{"line":110,"column":57}},"37":{"start":{"line":112,"column":8},"end":{"line":119,"column":9}},"38":{"start":{"line":114,"column":12},"end":{"line":118,"column":13}},"39":{"start":{"line":115,"column":16},"end":{"line":117,"column":17}},"40":{"start":{"line":116,"column":20},"end":{"line":116,"column":67}},"41":{"start":{"line":121,"column":8},"end":{"line":123,"column":9}},"42":{"start":{"line":122,"column":12},"end":{"line":122,"column":26}},"43":{"start":{"line":125,"column":8},"end":{"line":125,"column":20}},"44":{"start":{"line":129,"column":4},"end":{"line":129,"column":22}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":17,"type":"cond-expr","locations":[{"start":{"line":17,"column":34},"end":{"line":17,"column":40}},{"start":{"line":17,"column":70},"end":{"line":17,"column":74},"skip":true}]},"6":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":8},"end":{"line":55,"column":8}},{"start":{"line":55,"column":8},"end":{"line":55,"column":8},"skip":true}]},"7":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":12},"end":{"line":63,"column":12}},{"start":{"line":63,"column":12},"end":{"line":63,"column":12}}]},"8":{"line":71,"type":"if","locations":[{"start":{"line":71,"column":16},"end":{"line":71,"column":16}},{"start":{"line":71,"column":16},"end":{"line":71,"column":16}}]},"9":{"line":76,"type":"if","locations":[{"start":{"line":76,"column":23},"end":{"line":76,"column":23}},{"start":{"line":76,"column":23},"end":{"line":76,"column":23}}]},"10":{"line":76,"type":"binary-expr","locations":[{"start":{"line":76,"column":27},"end":{"line":76,"column":42}},{"start":{"line":76,"column":46},"end":{"line":76,"column":58}}]},"11":{"line":77,"type":"cond-expr","locations":[{"start":{"line":77,"column":61},"end":{"line":77,"column":63}},{"start":{"line":77,"column":66},"end":{"line":77,"column":74}}]},"12":{"line":90,"type":"if","locations":[{"start":{"line":90,"column":8},"end":{"line":90,"column":8}},{"start":{"line":90,"column":8},"end":{"line":90,"column":8}}]},"13":{"line":108,"type":"binary-expr","locations":[{"start":{"line":108,"column":19},"end":{"line":108,"column":30}},{"start":{"line":108,"column":34},"end":{"line":108,"column":45}}]},"14":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":12},"end":{"line":114,"column":12}},{"start":{"line":114,"column":12},"end":{"line":114,"column":12},"skip":true}]},"15":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":16},"end":{"line":115,"column":16}},{"start":{"line":115,"column":16},"end":{"line":115,"column":16}}]},"16":{"line":115,"type":"binary-expr","locations":[{"start":{"line":115,"column":20},"end":{"line":115,"column":32}},{"start":{"line":115,"column":36},"end":{"line":115,"column":65}}]},"17":{"line":121,"type":"if","locations":[{"start":{"line":121,"column":8},"end":{"line":121,"column":8}},{"start":{"line":121,"column":8},"end":{"line":121,"column":8}}]},"18":{"line":121,"type":"binary-expr","locations":[{"start":{"line":121,"column":12},"end":{"line":121,"column":48}},{"start":{"line":121,"column":52},"end":{"line":121,"column":91}}]}},"l":{"1":1,"4":1,"7":1,"8":1,"12":1,"13":1,"16":1,"23":1,"32":1,"33":18,"36":1,"46":20,"47":20,"49":20,"50":20,"52":20,"55":20,"56":20,"59":20,"60":35,"63":35,"64":1,"67":34,"68":34,"71":34,"72":5,"76":29,"77":28,"82":1,"86":35,"90":20,"91":1,"93":1,"96":20,"108":34,"110":34,"112":34,"114":17,"115":17,"116":6,"121":34,"122":19,"125":34,"129":1}}, | ||
"/Users/iliyan/projects/lfr-amd-loader/umd/script-loader.js":{"path":"/Users/iliyan/projects/lfr-amd-loader/umd/script-loader.js","s":{"1":17,"2":17,"3":17,"4":17,"5":17,"6":0,"7":17,"8":17,"9":17,"10":1,"11":17,"12":17,"13":17,"14":17,"15":17,"16":17,"17":17,"18":23,"19":23,"20":23,"21":23,"22":23,"23":23,"24":23,"25":23,"26":21,"27":23,"28":1,"29":4,"30":23,"31":23,"32":23,"33":23,"34":23,"35":23,"36":23,"37":18,"38":18,"39":18,"40":5,"41":5,"42":11,"43":6,"44":5,"45":4,"46":4,"47":4,"48":23,"49":23,"50":23,"51":23,"52":28,"53":7,"54":23,"55":22,"56":19,"57":18,"58":18,"59":4,"60":2,"61":2,"62":2,"63":2,"64":3,"65":2,"66":2,"67":2,"68":2,"69":184,"70":17,"71":184,"72":23,"73":13,"74":23,"75":20,"76":20,"77":20,"78":33,"79":33,"80":49,"81":49,"82":14,"83":20,"84":18,"85":18,"86":18,"87":22,"88":22,"89":18,"90":14,"91":12,"92":14,"93":22,"94":22,"95":22,"96":34,"97":34,"98":22,"99":22,"100":22,"101":22,"102":22,"103":22,"104":14,"105":14,"106":14,"107":22,"108":14,"109":11,"110":11,"111":3,"112":8,"113":8,"114":0,"115":22,"116":22,"117":22,"118":22,"119":19,"120":19,"121":19,"122":22,"123":3,"124":3,"125":22,"126":23,"127":23,"128":23,"129":23,"130":22,"131":1,"132":19,"133":19,"134":31,"135":31,"136":12,"137":19,"138":19,"139":19,"140":33,"141":33,"142":19,"143":19,"144":14,"145":4,"146":4,"147":10,"148":10,"149":10,"150":10,"151":19,"152":19,"153":0,"154":19,"155":19,"156":31,"157":31,"158":31,"159":2,"160":2,"161":31,"162":19,"163":19,"164":19,"165":19,"166":31,"167":19,"168":19,"169":19,"170":19,"171":19,"172":31,"173":19,"174":19,"175":19,"176":19,"177":8,"178":11,"179":17,"180":289,"181":17},"b":{"1":[17,0],"2":[17,17],"3":[0,17],"4":[17,16],"5":[17,0],"6":[17,17],"7":[23,23],"8":[21,2],"9":[23,0],"10":[18,5],"11":[17,1],"12":[17,1],"13":[6,5],"14":[4,1],"15":[3,1],"16":[7,21],"17":[18,1],"18":[2,2],"19":[2,1],"20":[17,167],"21":[13,10],"22":[14,35],"23":[49,18,14],"24":[22,0],"25":[12,2],"26":[22,12],"27":[34,34,34,34],"28":[14,8],"29":[19,0],"30":[19,0,0],"31":[12,19],"32":[19,14],"33":[4,10],"34":[0,19],"35":[19,0],"36":[19,15],"37":[2,29],"38":[8,11]},"f":{"1":17,"2":17,"3":17,"4":23,"5":1,"6":4,"7":23,"8":22,"9":19,"10":4,"11":2,"12":2,"13":3,"14":184,"15":23,"16":20,"17":18,"18":14,"19":22,"20":22,"21":22,"22":11,"23":11,"24":3,"25":8,"26":0,"27":22,"28":22,"29":19,"30":3,"31":23,"32":23,"33":19,"34":31,"35":19,"36":19,"37":19,"38":19,"39":289},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"2":{"name":"(anonymous_2)","line":20,"loc":{"start":{"line":20,"column":76},"end":{"line":20,"column":94}}},"3":{"name":"Loader","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":24}}},"4":{"name":"(anonymous_4)","line":66,"loc":{"start":{"line":66,"column":12},"end":{"line":66,"column":65}}},"5":{"name":"(anonymous_5)","line":93,"loc":{"start":{"line":93,"column":27},"end":{"line":93,"column":38}}},"6":{"name":"(anonymous_6)","line":103,"loc":{"start":{"line":103,"column":16},"end":{"line":103,"column":27}}},"7":{"name":"(anonymous_7)","line":119,"loc":{"start":{"line":119,"column":13},"end":{"line":119,"column":24}}},"8":{"name":"(anonymous_8)","line":176,"loc":{"start":{"line":176,"column":48},"end":{"line":176,"column":71}}},"9":{"name":"(anonymous_9)","line":178,"loc":{"start":{"line":178,"column":16},"end":{"line":178,"column":40}}},"10":{"name":"(anonymous_10)","line":184,"loc":{"start":{"line":184,"column":11},"end":{"line":184,"column":27}}},"11":{"name":"(anonymous_11)","line":200,"loc":{"start":{"line":200,"column":26},"end":{"line":200,"column":47}}},"12":{"name":"(anonymous_12)","line":203,"loc":{"start":{"line":203,"column":27},"end":{"line":203,"column":53}}},"13":{"name":"(anonymous_13)","line":204,"loc":{"start":{"line":204,"column":35},"end":{"line":204,"column":66}}},"14":{"name":"(anonymous_14)","line":227,"loc":{"start":{"line":227,"column":22},"end":{"line":227,"column":33}}},"15":{"name":"(anonymous_15)","line":242,"loc":{"start":{"line":242,"column":27},"end":{"line":242,"column":38}}},"16":{"name":"(anonymous_16)","line":259,"loc":{"start":{"line":259,"column":28},"end":{"line":259,"column":50}}},"17":{"name":"(anonymous_17)","line":287,"loc":{"start":{"line":287,"column":31},"end":{"line":287,"column":57}}},"18":{"name":"(anonymous_18)","line":308,"loc":{"start":{"line":308,"column":20},"end":{"line":308,"column":31}}},"19":{"name":"(anonymous_19)","line":324,"loc":{"start":{"line":324,"column":32},"end":{"line":324,"column":50}}},"20":{"name":"(anonymous_20)","line":350,"loc":{"start":{"line":350,"column":18},"end":{"line":350,"column":40}}},"21":{"name":"(anonymous_21)","line":353,"loc":{"start":{"line":353,"column":27},"end":{"line":353,"column":53}}},"22":{"name":"(anonymous_22)","line":370,"loc":{"start":{"line":370,"column":49},"end":{"line":370,"column":73}}},"23":{"name":"(anonymous_23)","line":375,"loc":{"start":{"line":375,"column":22},"end":{"line":375,"column":46}}},"24":{"name":"(anonymous_24)","line":380,"loc":{"start":{"line":380,"column":23},"end":{"line":380,"column":39}}},"25":{"name":"(anonymous_25)","line":386,"loc":{"start":{"line":386,"column":55},"end":{"line":386,"column":79}}},"26":{"name":"(anonymous_26)","line":391,"loc":{"start":{"line":391,"column":23},"end":{"line":391,"column":39}}},"27":{"name":"(anonymous_27)","line":406,"loc":{"start":{"line":406,"column":17},"end":{"line":406,"column":31}}},"28":{"name":"(anonymous_28)","line":407,"loc":{"start":{"line":407,"column":27},"end":{"line":407,"column":53}}},"29":{"name":"(anonymous_29)","line":414,"loc":{"start":{"line":414,"column":56},"end":{"line":414,"column":67}}},"30":{"name":"(anonymous_30)","line":424,"loc":{"start":{"line":424,"column":29},"end":{"line":424,"column":40}}},"31":{"name":"(anonymous_31)","line":442,"loc":{"start":{"line":442,"column":26},"end":{"line":442,"column":44}}},"32":{"name":"(anonymous_32)","line":445,"loc":{"start":{"line":445,"column":27},"end":{"line":445,"column":53}}},"33":{"name":"(anonymous_33)","line":463,"loc":{"start":{"line":463,"column":30},"end":{"line":463,"column":48}}},"34":{"name":"(anonymous_34)","line":531,"loc":{"start":{"line":531,"column":20},"end":{"line":531,"column":41}}},"35":{"name":"(anonymous_35)","line":556,"loc":{"start":{"line":556,"column":21},"end":{"line":556,"column":43}}},"36":{"name":"(anonymous_36)","line":559,"loc":{"start":{"line":559,"column":27},"end":{"line":559,"column":53}}},"37":{"name":"(anonymous_37)","line":567,"loc":{"start":{"line":567,"column":46},"end":{"line":567,"column":72}}},"38":{"name":"(anonymous_38)","line":574,"loc":{"start":{"line":574,"column":36},"end":{"line":574,"column":48}}},"39":{"name":"(anonymous_39)","line":605,"loc":{"start":{"line":605,"column":40},"end":{"line":605,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":610,"column":4}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":32}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":8},"end":{"line":8,"column":31}},"5":{"start":{"line":12,"column":4},"end":{"line":14,"column":5},"skip":true},"6":{"start":{"line":13,"column":8},"end":{"line":13,"column":24},"skip":true},"7":{"start":{"line":17,"column":4},"end":{"line":17,"column":32}},"8":{"start":{"line":18,"column":4},"end":{"line":18,"column":63}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":61}},"10":{"start":{"line":32,"column":0},"end":{"line":38,"column":1}},"11":{"start":{"line":33,"column":4},"end":{"line":33,"column":57}},"12":{"start":{"line":35,"column":4},"end":{"line":35,"column":47}},"13":{"start":{"line":37,"column":4},"end":{"line":37,"column":26}},"14":{"start":{"line":40,"column":0},"end":{"line":40,"column":64}},"15":{"start":{"line":41,"column":0},"end":{"line":41,"column":38}},"16":{"start":{"line":42,"column":0},"end":{"line":42,"column":50}},"17":{"start":{"line":44,"column":0},"end":{"line":603,"column":2}},"18":{"start":{"line":69,"column":8},"end":{"line":69,"column":34}},"19":{"start":{"line":70,"column":8},"end":{"line":70,"column":51}},"20":{"start":{"line":72,"column":8},"end":{"line":72,"column":44}},"21":{"start":{"line":74,"column":8},"end":{"line":74,"column":27}},"22":{"start":{"line":75,"column":8},"end":{"line":75,"column":43}},"23":{"start":{"line":76,"column":8},"end":{"line":76,"column":54}},"24":{"start":{"line":78,"column":8},"end":{"line":78,"column":39}},"25":{"start":{"line":80,"column":8},"end":{"line":82,"column":9}},"26":{"start":{"line":81,"column":12},"end":{"line":81,"column":49}},"27":{"start":{"line":84,"column":8},"end":{"line":84,"column":42}},"28":{"start":{"line":94,"column":8},"end":{"line":94,"column":63}},"29":{"start":{"line":104,"column":8},"end":{"line":104,"column":52}},"30":{"start":{"line":120,"column":8},"end":{"line":120,"column":24}},"31":{"start":{"line":122,"column":8},"end":{"line":122,"column":28}},"32":{"start":{"line":123,"column":8},"end":{"line":123,"column":14}},"33":{"start":{"line":124,"column":8},"end":{"line":124,"column":20}},"34":{"start":{"line":125,"column":8},"end":{"line":125,"column":28}},"35":{"start":{"line":130,"column":8},"end":{"line":131,"column":78}},"36":{"start":{"line":133,"column":8},"end":{"line":153,"column":9}},"37":{"start":{"line":134,"column":12},"end":{"line":134,"column":35}},"38":{"start":{"line":135,"column":12},"end":{"line":135,"column":87}},"39":{"start":{"line":136,"column":12},"end":{"line":136,"column":87}},"40":{"start":{"line":139,"column":12},"end":{"line":139,"column":25}},"41":{"start":{"line":141,"column":12},"end":{"line":152,"column":13}},"42":{"start":{"line":142,"column":16},"end":{"line":151,"column":17}},"43":{"start":{"line":143,"column":20},"end":{"line":143,"column":46}},"44":{"start":{"line":146,"column":23},"end":{"line":151,"column":17}},"45":{"start":{"line":147,"column":20},"end":{"line":147,"column":51}},"46":{"start":{"line":148,"column":20},"end":{"line":148,"column":124}},"47":{"start":{"line":150,"column":20},"end":{"line":150,"column":26}},"48":{"start":{"line":155,"column":8},"end":{"line":155,"column":51}},"49":{"start":{"line":159,"column":8},"end":{"line":159,"column":50}},"50":{"start":{"line":161,"column":8},"end":{"line":161,"column":58}},"51":{"start":{"line":164,"column":8},"end":{"line":171,"column":9}},"52":{"start":{"line":165,"column":12},"end":{"line":170,"column":13}},"53":{"start":{"line":166,"column":16},"end":{"line":169,"column":19}},"54":{"start":{"line":176,"column":8},"end":{"line":189,"column":11}},"55":{"start":{"line":177,"column":12},"end":{"line":177,"column":51}},"56":{"start":{"line":180,"column":12},"end":{"line":183,"column":13}},"57":{"start":{"line":181,"column":16},"end":{"line":181,"column":84}},"58":{"start":{"line":182,"column":16},"end":{"line":182,"column":78}},"59":{"start":{"line":185,"column":12},"end":{"line":188,"column":13}},"60":{"start":{"line":186,"column":16},"end":{"line":186,"column":61}},"61":{"start":{"line":201,"column":8},"end":{"line":201,"column":24}},"62":{"start":{"line":203,"column":8},"end":{"line":217,"column":11}},"63":{"start":{"line":204,"column":12},"end":{"line":214,"column":14}},"64":{"start":{"line":205,"column":16},"end":{"line":213,"column":17}},"65":{"start":{"line":206,"column":20},"end":{"line":206,"column":65}},"66":{"start":{"line":210,"column":20},"end":{"line":210,"column":56}},"67":{"start":{"line":212,"column":20},"end":{"line":212,"column":40}},"68":{"start":{"line":216,"column":12},"end":{"line":216,"column":56}},"69":{"start":{"line":228,"column":8},"end":{"line":230,"column":9}},"70":{"start":{"line":229,"column":12},"end":{"line":229,"column":71}},"71":{"start":{"line":232,"column":8},"end":{"line":232,"column":34}},"72":{"start":{"line":243,"column":8},"end":{"line":245,"column":9}},"73":{"start":{"line":244,"column":12},"end":{"line":244,"column":92}},"74":{"start":{"line":247,"column":8},"end":{"line":247,"column":39}},"75":{"start":{"line":260,"column":8},"end":{"line":260,"column":69}},"76":{"start":{"line":262,"column":8},"end":{"line":262,"column":54}},"77":{"start":{"line":264,"column":8},"end":{"line":274,"column":9}},"78":{"start":{"line":265,"column":12},"end":{"line":265,"column":59}},"79":{"start":{"line":267,"column":12},"end":{"line":273,"column":13}},"80":{"start":{"line":268,"column":16},"end":{"line":268,"column":56}},"81":{"start":{"line":270,"column":16},"end":{"line":272,"column":17}},"82":{"start":{"line":271,"column":20},"end":{"line":271,"column":56}},"83":{"start":{"line":276,"column":8},"end":{"line":276,"column":48}},"84":{"start":{"line":288,"column":8},"end":{"line":288,"column":39}},"85":{"start":{"line":290,"column":8},"end":{"line":290,"column":59}},"86":{"start":{"line":292,"column":8},"end":{"line":296,"column":9}},"87":{"start":{"line":293,"column":12},"end":{"line":293,"column":61}},"88":{"start":{"line":295,"column":12},"end":{"line":295,"column":99}},"89":{"start":{"line":298,"column":8},"end":{"line":298,"column":37}},"90":{"start":{"line":309,"column":8},"end":{"line":311,"column":9}},"91":{"start":{"line":310,"column":12},"end":{"line":310,"column":78}},"92":{"start":{"line":313,"column":8},"end":{"line":313,"column":32}},"93":{"start":{"line":325,"column":8},"end":{"line":325,"column":32}},"94":{"start":{"line":327,"column":8},"end":{"line":327,"column":69}},"95":{"start":{"line":329,"column":8},"end":{"line":337,"column":9}},"96":{"start":{"line":330,"column":12},"end":{"line":330,"column":65}},"97":{"start":{"line":334,"column":12},"end":{"line":336,"column":13}},"98":{"start":{"line":335,"column":16},"end":{"line":335,"column":48}},"99":{"start":{"line":339,"column":8},"end":{"line":339,"column":30}},"100":{"start":{"line":351,"column":8},"end":{"line":351,"column":24}},"101":{"start":{"line":353,"column":8},"end":{"line":395,"column":11}},"102":{"start":{"line":355,"column":12},"end":{"line":355,"column":83}},"103":{"start":{"line":357,"column":12},"end":{"line":394,"column":13}},"104":{"start":{"line":359,"column":16},"end":{"line":359,"column":76}},"105":{"start":{"line":361,"column":16},"end":{"line":361,"column":40}},"106":{"start":{"line":364,"column":16},"end":{"line":366,"column":17}},"107":{"start":{"line":365,"column":20},"end":{"line":365,"column":67}},"108":{"start":{"line":370,"column":16},"end":{"line":382,"column":19}},"109":{"start":{"line":371,"column":20},"end":{"line":371,"column":61}},"110":{"start":{"line":376,"column":20},"end":{"line":376,"column":43}},"111":{"start":{"line":381,"column":20},"end":{"line":381,"column":34}},"112":{"start":{"line":386,"column":16},"end":{"line":393,"column":19}},"113":{"start":{"line":387,"column":20},"end":{"line":387,"column":43}},"114":{"start":{"line":392,"column":20},"end":{"line":392,"column":34}},"115":{"start":{"line":407,"column":8},"end":{"line":431,"column":11}},"116":{"start":{"line":408,"column":12},"end":{"line":408,"column":58}},"117":{"start":{"line":410,"column":12},"end":{"line":410,"column":29}},"118":{"start":{"line":414,"column":12},"end":{"line":421,"column":14}},"119":{"start":{"line":415,"column":16},"end":{"line":420,"column":17}},"120":{"start":{"line":417,"column":20},"end":{"line":417,"column":69}},"121":{"start":{"line":419,"column":20},"end":{"line":419,"column":36}},"122":{"start":{"line":424,"column":12},"end":{"line":428,"column":14}},"123":{"start":{"line":425,"column":16},"end":{"line":425,"column":50}},"124":{"start":{"line":427,"column":16},"end":{"line":427,"column":31}},"125":{"start":{"line":430,"column":12},"end":{"line":430,"column":46}},"126":{"start":{"line":443,"column":8},"end":{"line":443,"column":24}},"127":{"start":{"line":445,"column":8},"end":{"line":453,"column":11}},"128":{"start":{"line":446,"column":12},"end":{"line":452,"column":13}},"129":{"start":{"line":447,"column":16},"end":{"line":447,"column":93}},"130":{"start":{"line":449,"column":16},"end":{"line":449,"column":38}},"131":{"start":{"line":451,"column":16},"end":{"line":451,"column":30}},"132":{"start":{"line":464,"column":8},"end":{"line":464,"column":69}},"133":{"start":{"line":466,"column":8},"end":{"line":520,"column":9}},"134":{"start":{"line":467,"column":12},"end":{"line":467,"column":36}},"135":{"start":{"line":469,"column":12},"end":{"line":471,"column":13}},"136":{"start":{"line":470,"column":16},"end":{"line":470,"column":25}},"137":{"start":{"line":473,"column":12},"end":{"line":473,"column":47}},"138":{"start":{"line":476,"column":12},"end":{"line":476,"column":28}},"139":{"start":{"line":478,"column":12},"end":{"line":504,"column":13}},"140":{"start":{"line":479,"column":16},"end":{"line":479,"column":56}},"141":{"start":{"line":484,"column":16},"end":{"line":503,"column":17}},"142":{"start":{"line":485,"column":20},"end":{"line":485,"column":37}},"143":{"start":{"line":487,"column":20},"end":{"line":487,"column":64}},"144":{"start":{"line":488,"column":23},"end":{"line":503,"column":17}},"145":{"start":{"line":489,"column":20},"end":{"line":489,"column":48}},"146":{"start":{"line":491,"column":20},"end":{"line":491,"column":64}},"147":{"start":{"line":496,"column":20},"end":{"line":496,"column":79}},"148":{"start":{"line":498,"column":20},"end":{"line":498,"column":73}},"149":{"start":{"line":500,"column":20},"end":{"line":500,"column":63}},"150":{"start":{"line":502,"column":20},"end":{"line":502,"column":57}},"151":{"start":{"line":506,"column":12},"end":{"line":506,"column":117}},"152":{"start":{"line":515,"column":12},"end":{"line":519,"column":13}},"153":{"start":{"line":516,"column":16},"end":{"line":516,"column":47}},"154":{"start":{"line":517,"column":19},"end":{"line":519,"column":13}},"155":{"start":{"line":518,"column":16},"end":{"line":518,"column":75}},"156":{"start":{"line":532,"column":8},"end":{"line":532,"column":24}},"157":{"start":{"line":536,"column":8},"end":{"line":536,"column":57}},"158":{"start":{"line":538,"column":8},"end":{"line":542,"column":9}},"159":{"start":{"line":539,"column":12},"end":{"line":539,"column":66}},"160":{"start":{"line":541,"column":12},"end":{"line":541,"column":57}},"161":{"start":{"line":544,"column":8},"end":{"line":544,"column":29}},"162":{"start":{"line":557,"column":8},"end":{"line":557,"column":24}},"163":{"start":{"line":559,"column":8},"end":{"line":594,"column":11}},"164":{"start":{"line":560,"column":12},"end":{"line":560,"column":37}},"165":{"start":{"line":562,"column":12},"end":{"line":564,"column":13}},"166":{"start":{"line":563,"column":16},"end":{"line":563,"column":74}},"167":{"start":{"line":567,"column":12},"end":{"line":593,"column":15}},"168":{"start":{"line":572,"column":16},"end":{"line":572,"column":77}},"169":{"start":{"line":574,"column":16},"end":{"line":584,"column":18}},"170":{"start":{"line":575,"column":20},"end":{"line":575,"column":44}},"171":{"start":{"line":577,"column":20},"end":{"line":579,"column":21}},"172":{"start":{"line":578,"column":24},"end":{"line":578,"column":79}},"173":{"start":{"line":581,"column":20},"end":{"line":581,"column":66}},"174":{"start":{"line":583,"column":20},"end":{"line":583,"column":44}},"175":{"start":{"line":586,"column":16},"end":{"line":586,"column":83}},"176":{"start":{"line":588,"column":16},"end":{"line":592,"column":17}},"177":{"start":{"line":589,"column":20},"end":{"line":589,"column":77}},"178":{"start":{"line":591,"column":20},"end":{"line":591,"column":36}},"179":{"start":{"line":605,"column":0},"end":{"line":607,"column":3}},"180":{"start":{"line":606,"column":4},"end":{"line":606,"column":52}},"181":{"start":{"line":609,"column":4},"end":{"line":609,"column":18}}},"branchMap":{"1":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":7,"column":4}},{"start":{"line":7,"column":4},"end":{"line":7,"column":4},"skip":true}]},"2":{"line":7,"type":"binary-expr","locations":[{"start":{"line":7,"column":8},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":44}}]},"3":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true},{"start":{"line":12,"column":4},"end":{"line":12,"column":4},"skip":true}]},"4":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":8},"end":{"line":12,"column":36},"skip":true},{"start":{"line":12,"column":40},"end":{"line":12,"column":50},"skip":true}]},"5":{"line":20,"type":"cond-expr","locations":[{"start":{"line":20,"column":34},"end":{"line":20,"column":40}},{"start":{"line":20,"column":70},"end":{"line":20,"column":74},"skip":true}]},"6":{"line":35,"type":"binary-expr","locations":[{"start":{"line":35,"column":19},"end":{"line":35,"column":25}},{"start":{"line":35,"column":29},"end":{"line":35,"column":46}}]},"7":{"line":69,"type":"binary-expr","locations":[{"start":{"line":69,"column":21},"end":{"line":69,"column":27}},{"start":{"line":69,"column":31},"end":{"line":69,"column":33}}]},"8":{"line":80,"type":"if","locations":[{"start":{"line":80,"column":8},"end":{"line":80,"column":8}},{"start":{"line":80,"column":8},"end":{"line":80,"column":8}}]},"9":{"line":130,"type":"cond-expr","locations":[{"start":{"line":130,"column":42},"end":{"line":130,"column":69}},{"start":{"line":131,"column":12},"end":{"line":131,"column":77},"skip":true}]},"10":{"line":133,"type":"if","locations":[{"start":{"line":133,"column":8},"end":{"line":133,"column":8}},{"start":{"line":133,"column":8},"end":{"line":133,"column":8}}]},"11":{"line":135,"type":"cond-expr","locations":[{"start":{"line":135,"column":67},"end":{"line":135,"column":79}},{"start":{"line":135,"column":82},"end":{"line":135,"column":86}}]},"12":{"line":136,"type":"cond-expr","locations":[{"start":{"line":136,"column":67},"end":{"line":136,"column":79}},{"start":{"line":136,"column":82},"end":{"line":136,"column":86}}]},"13":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":16},"end":{"line":142,"column":16}},{"start":{"line":142,"column":16},"end":{"line":142,"column":16}}]},"14":{"line":146,"type":"if","locations":[{"start":{"line":146,"column":23},"end":{"line":146,"column":23}},{"start":{"line":146,"column":23},"end":{"line":146,"column":23},"skip":true}]},"15":{"line":148,"type":"cond-expr","locations":[{"start":{"line":148,"column":77},"end":{"line":148,"column":89}},{"start":{"line":148,"column":119},"end":{"line":148,"column":123},"skip":true}]},"16":{"line":165,"type":"if","locations":[{"start":{"line":165,"column":12},"end":{"line":165,"column":12}},{"start":{"line":165,"column":12},"end":{"line":165,"column":12}}]},"17":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":12},"end":{"line":180,"column":12}},{"start":{"line":180,"column":12},"end":{"line":180,"column":12},"skip":true}]},"18":{"line":185,"type":"if","locations":[{"start":{"line":185,"column":12},"end":{"line":185,"column":12}},{"start":{"line":185,"column":12},"end":{"line":185,"column":12},"skip":true}]},"19":{"line":205,"type":"if","locations":[{"start":{"line":205,"column":16},"end":{"line":205,"column":16}},{"start":{"line":205,"column":16},"end":{"line":205,"column":16}}]},"20":{"line":228,"type":"if","locations":[{"start":{"line":228,"column":8},"end":{"line":228,"column":8}},{"start":{"line":228,"column":8},"end":{"line":228,"column":8},"skip":true}]},"21":{"line":243,"type":"if","locations":[{"start":{"line":243,"column":8},"end":{"line":243,"column":8}},{"start":{"line":243,"column":8},"end":{"line":243,"column":8}}]},"22":{"line":270,"type":"if","locations":[{"start":{"line":270,"column":16},"end":{"line":270,"column":16}},{"start":{"line":270,"column":16},"end":{"line":270,"column":16}}]},"23":{"line":270,"type":"binary-expr","locations":[{"start":{"line":270,"column":20},"end":{"line":270,"column":44}},{"start":{"line":270,"column":49},"end":{"line":270,"column":72}},{"start":{"line":270,"column":76},"end":{"line":270,"column":109}}]},"24":{"line":295,"type":"cond-expr","locations":[{"start":{"line":295,"column":56},"end":{"line":295,"column":85}},{"start":{"line":295,"column":88},"end":{"line":295,"column":97}}]},"25":{"line":309,"type":"if","locations":[{"start":{"line":309,"column":8},"end":{"line":309,"column":8}},{"start":{"line":309,"column":8},"end":{"line":309,"column":8},"skip":true}]},"26":{"line":334,"type":"if","locations":[{"start":{"line":334,"column":12},"end":{"line":334,"column":12}},{"start":{"line":334,"column":12},"end":{"line":334,"column":12}}]},"27":{"line":334,"type":"binary-expr","locations":[{"start":{"line":334,"column":17},"end":{"line":334,"column":47}},{"start":{"line":334,"column":51},"end":{"line":334,"column":80}},{"start":{"line":334,"column":86},"end":{"line":334,"column":103}},{"start":{"line":334,"column":107},"end":{"line":334,"column":134}}]},"28":{"line":357,"type":"if","locations":[{"start":{"line":357,"column":12},"end":{"line":357,"column":12}},{"start":{"line":357,"column":12},"end":{"line":357,"column":12}}]},"29":{"line":415,"type":"if","locations":[{"start":{"line":415,"column":16},"end":{"line":415,"column":16}},{"start":{"line":415,"column":16},"end":{"line":415,"column":16},"skip":true}]},"30":{"line":415,"type":"binary-expr","locations":[{"start":{"line":415,"column":20},"end":{"line":415,"column":36}},{"start":{"line":415,"column":67},"end":{"line":415,"column":97},"skip":true},{"start":{"line":415,"column":128},"end":{"line":415,"column":154},"skip":true}]},"31":{"line":469,"type":"if","locations":[{"start":{"line":469,"column":12},"end":{"line":469,"column":12}},{"start":{"line":469,"column":12},"end":{"line":469,"column":12}}]},"32":{"line":484,"type":"if","locations":[{"start":{"line":484,"column":16},"end":{"line":484,"column":16}},{"start":{"line":484,"column":16},"end":{"line":484,"column":16}}]},"33":{"line":488,"type":"if","locations":[{"start":{"line":488,"column":23},"end":{"line":488,"column":23}},{"start":{"line":488,"column":23},"end":{"line":488,"column":23}}]},"34":{"line":515,"type":"if","locations":[{"start":{"line":515,"column":12},"end":{"line":515,"column":12}},{"start":{"line":515,"column":12},"end":{"line":515,"column":12}}]},"35":{"line":517,"type":"if","locations":[{"start":{"line":517,"column":19},"end":{"line":517,"column":19}},{"start":{"line":517,"column":19},"end":{"line":517,"column":19}}]},"36":{"line":518,"type":"binary-expr","locations":[{"start":{"line":518,"column":40},"end":{"line":518,"column":59}},{"start":{"line":518,"column":63},"end":{"line":518,"column":74}}]},"37":{"line":538,"type":"if","locations":[{"start":{"line":538,"column":8},"end":{"line":538,"column":8}},{"start":{"line":538,"column":8},"end":{"line":538,"column":8}}]},"38":{"line":588,"type":"if","locations":[{"start":{"line":588,"column":16},"end":{"line":588,"column":16}},{"start":{"line":588,"column":16},"end":{"line":588,"column":16}}]}},"l":{"1":17,"4":17,"7":17,"8":17,"12":17,"13":1,"17":17,"18":17,"19":17,"32":1,"33":17,"35":17,"37":17,"40":17,"41":17,"42":17,"44":17,"69":23,"70":23,"72":23,"74":23,"75":23,"76":23,"78":23,"80":23,"81":21,"84":23,"94":1,"104":4,"120":23,"122":23,"123":23,"124":23,"125":23,"130":23,"133":23,"134":18,"135":18,"136":18,"139":5,"141":5,"142":11,"143":6,"146":5,"147":4,"148":4,"150":4,"155":23,"159":23,"161":23,"164":23,"165":28,"166":7,"176":23,"177":22,"180":19,"181":18,"182":18,"185":4,"186":2,"201":2,"203":2,"204":2,"205":3,"206":2,"210":2,"212":2,"216":2,"228":184,"229":17,"232":184,"243":23,"244":13,"247":23,"260":20,"262":20,"264":20,"265":33,"267":33,"268":49,"270":49,"271":14,"276":20,"288":18,"290":18,"292":18,"293":22,"295":22,"298":18,"309":14,"310":12,"313":14,"325":22,"327":22,"329":22,"330":34,"334":34,"335":22,"339":22,"351":22,"353":22,"355":22,"357":22,"359":14,"361":14,"364":14,"365":22,"370":14,"371":11,"376":11,"381":3,"386":8,"387":8,"392":0,"407":22,"408":22,"410":22,"414":22,"415":19,"417":19,"419":19,"424":22,"425":3,"427":3,"430":22,"443":23,"445":23,"446":23,"447":23,"449":22,"451":1,"464":19,"466":19,"467":31,"469":31,"470":12,"473":19,"476":19,"478":19,"479":33,"484":33,"485":19,"487":19,"488":14,"489":4,"491":4,"496":10,"498":10,"500":10,"502":10,"506":19,"515":19,"516":0,"517":19,"518":19,"532":31,"536":31,"538":31,"539":2,"541":2,"544":31,"557":19,"559":19,"560":19,"562":19,"563":31,"567":19,"572":19,"574":19,"575":19,"577":19,"578":31,"581":19,"583":19,"586":19,"588":19,"589":8,"591":11,"605":17,"606":289,"609":17}}} |
@@ -1,1 +0,1 @@ | ||
(function(){function e(e,t){A[C]=e,A[C+1]=t,C+=2,2===C&&w()}function t(e){return"function"==typeof e}function n(){return function(){process.nextTick(s)}}function o(){var e=0,t=new O(s),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function r(){var e=new MessageChannel;return e.port1.onmessage=s,function(){e.port2.postMessage(0)}}function i(){return function(){setTimeout(s,1)}}function s(){for(var e=0;C>e;e+=2)A[e](A[e+1]),A[e]=void 0,A[e+1]=void 0;C=0}function u(){}function a(e,t,n,o){try{e.call(t,n,o)}catch(r){return r}}function c(t,n,o){e(function(e){var t=!1,r=a(o,n,function(o){t||(t=!0,n!==o?f(e,o):h(e,o))},function(n){t||(t=!0,p(e,n))});!t&&r&&(t=!0,p(e,r))},t)}function l(e,t){1===t.a?h(e,t.b):2===e.a?p(e,t.b):g(t,void 0,function(t){f(e,t)},function(t){p(e,t)})}function f(e,n){if(e===n)p(e,new TypeError("You cannot resolve a promise with itself"));else if("function"==typeof n||"object"==typeof n&&null!==n)if(n.constructor===e.constructor)l(e,n);else{var o;try{o=n.then}catch(r){x.error=r,o=x}o===x?p(e,x.error):void 0===o?h(e,n):t(o)?c(e,n,o):h(e,n)}else h(e,n)}function d(e){e.f&&e.f(e.b),m(e)}function h(t,n){void 0===t.a&&(t.b=n,t.a=1,0!==t.e.length&&e(m,t))}function p(t,n){void 0===t.a&&(t.a=2,t.b=n,e(d,t))}function g(t,n,o,r){var i=t.e,s=i.length;t.f=null,i[s]=n,i[s+1]=o,i[s+2]=r,0===s&&t.a&&e(m,t)}function m(e){var t=e.e,n=e.a;if(0!==t.length){for(var o,r,i=e.b,s=0;s<t.length;s+=3)o=t[s],r=t[s+n],o?_(n,o,r,i):r(i);e.e.length=0}}function v(){this.error=null}function _(e,n,o,r){var i,s,u,a,c=t(o);if(c){try{i=o(r)}catch(l){k.error=l,i=k}if(i===k?(a=!0,s=i.error,i=null):u=!0,n===i)return void p(n,new TypeError("A promises callback cannot return that same promise."))}else i=r,u=!0;void 0===n.a&&(c&&u?f(n,i):a?p(n,s):1===e?h(n,i):2===e&&p(n,i))}function y(e,t){try{t(function(t){f(e,t)},function(t){p(e,t)})}catch(n){p(e,n)}}function b(e,t,n,o){this.n=e,this.c=new e(u,o),this.i=n,this.o(t)?(this.m=t,this.d=this.length=t.length,this.l(),0===this.length?h(this.c,this.b):(this.length=this.length||0,this.k(),0===this.d&&h(this.c,this.b))):p(this.c,this.p())}function M(e){if(q++,this.b=this.a=void 0,this.e=[],u!==e){if(!t(e))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof M))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");y(this,e)}}var w,P=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},C=0,j="undefined"!=typeof window?window:{},O=j.MutationObserver||j.WebKitMutationObserver,j="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,A=Array(1e3);w="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?n():O?o():j?r():i();var x=new v,k=new v;b.prototype.o=function(e){return P(e)},b.prototype.p=function(){return Error("Array Methods must be provided an Array")},b.prototype.l=function(){this.b=Array(this.length)},b.prototype.k=function(){for(var e=this.length,t=this.c,n=this.m,o=0;void 0===t.a&&e>o;o++)this.j(n[o],o)},b.prototype.j=function(e,t){var n=this.n;"object"==typeof e&&null!==e?e.constructor===n&&void 0!==e.a?(e.f=null,this.g(e.a,t,e.b)):this.q(n.resolve(e),t):(this.d--,this.b[t]=this.h(e))},b.prototype.g=function(e,t,n){var o=this.c;void 0===o.a&&(this.d--,this.i&&2===e?p(o,n):this.b[t]=this.h(n)),0===this.d&&h(o,this.b)},b.prototype.h=function(e){return e},b.prototype.q=function(e,t){var n=this;g(e,void 0,function(e){n.g(1,t,e)},function(e){n.g(2,t,e)})};var q=0;M.all=function(e,t){return new b(this,e,!0,t).c},M.race=function(e,t){function n(e){f(r,e)}function o(e){p(r,e)}var r=new this(u,t);if(!P(e))return p(r,new TypeError("You must pass an array to race.")),r;for(var i=e.length,s=0;void 0===r.a&&i>s;s++)g(this.resolve(e[s]),void 0,n,o);return r},M.resolve=function(e,t){if(e&&"object"==typeof e&&e.constructor===this)return e;var n=new this(u,t);return f(n,e),n},M.reject=function(e,t){var n=new this(u,t);return p(n,e),n},M.prototype={constructor:M,then:function(t,n){var o=this.a;if(1===o&&!t||2===o&&!n)return this;var r=new this.constructor(u),i=this.b;if(o){var s=arguments[o-1];e(function(){_(o,r,s,i)})}else g(this,r,t,n);return r},"catch":function(e){return this.then(null,e)}};var B={Promise:M,polyfill:function(){var e;e="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self,"Promise"in e&&"resolve"in e.Promise&&"reject"in e.Promise&&"all"in e.Promise&&"race"in e.Promise&&function(){var n;return new e.Promise(function(e){n=e}),t(n)}()||(e.Promise=M)}};"function"==typeof define&&define.amd?define(function(){return B}):"undefined"!=typeof module&&module.exports?module.exports=B:"undefined"!=typeof this&&(this.ES6Promise=B)}).call(this),function(){var global={};global.__CONFIG__=window.__CONFIG__,function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.EventEmitter=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(){this._events={}}return t.prototype={constructor:t,on:function(e,t){var n=this._events[e]=this._events[e]||[];n.push(t)},off:function(e,t){var n=this._events[e];if(n){var o=n.indexOf(t);o>-1?n.splice(o,1):console.warn("Off: callback was not removed: "+t.toString())}else console.warn("Off: there are no listeners for event: "+e)},emit:function(e,t){var n=this._events[e];if(n){n=n.slice(0);for(var o=0;o<n.length;o++){var r=n[o];r.call(r,t)}}else console.warn("No listeners for event: "+e)}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.ConfigParser=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._config={},this._modules={},this._conditionalModules={},this._parseConfig(e)}var n=Object.prototype.hasOwnProperty;return t.prototype={constructor:t,addModule:function(e){var t=this._modules[e.name];if(t)for(var o in e)n.call(e,o)&&(t[o]=e[o]);else this._modules[e.name]=e;this._registerConditionalModule(e)},getConfig:function(){return this._config},getConditionalModules:function(){return this._conditionalModules},getModules:function(){return this._modules},mapModule:function(e){var t;t=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++){var r=t[o];for(var i in this._config.maps)if(n.call(this._config.maps,i)&&(r===i||0===r.indexOf(i+"/"))){r=this._config.maps[i]+r.substring(i.length),t[o]=r;break}}return Array.isArray(e)?t:t[0]},_parseConfig:function(e){for(var t in e)n.call(e,t)&&("modules"===t?this._parseModules(e[t]):this._config[t]=e[t]);return this._config},_parseModules:function(e){for(var t in e)if(n.call(e,t)){var o=e[t];o.name=t,this.addModule(o)}return this._modules},_registerConditionalModule:function(e){if(e.condition){var t=this._conditionalModules[e.condition.trigger];t||(this._conditionalModules[e.condition.trigger]=t=[]),t.push(e.name)}}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.DependencyBuilder=n}("undefined"!=typeof global?global:this,function(global){"use strict";function DependencyBuilder(e){this._configParser=e,this._result=[]}var hasOwnProperty=Object.prototype.hasOwnProperty;return DependencyBuilder.prototype={constructor:DependencyBuilder,resolveDependencies:function(e){this._queue=e.slice(0);var t;try{this._resolveDependencies(),t=this._result.reverse().slice(0)}finally{this._cleanup()}return t},_cleanup:function(){var e=this._configParser.getModules();for(var t in e)if(hasOwnProperty.call(e,t)){var n=e[t];n.conditionalMark=!1,n.mark=!1,n.tmpMark=!1}this._queue.length=0,this._result.length=0},_processConditionalModules:function(e){var t=this._configParser.getConditionalModules()[e.name];if(t&&!e.conditionalMark){for(var n=this._configParser.getModules(),o=0;o<t.length;o++){var r=n[t[o]];-1===this._queue.indexOf(r.name)&&this._testConditionalModule(r.condition.test)&&this._queue.push(r.name)}e.conditionalMark=!0}},_resolveDependencies:function(){for(var e=this._configParser.getModules(),t=0;t<this._queue.length;t++){var n=e[this._queue[t]];n.mark||this._visit(n)}},_testConditionalModule:function(testFunction){return"function"==typeof testFunction?testFunction():eval("false || "+testFunction)()},_visit:function(e){if(e.tmpMark)throw new Error("Error processing module: "+e.name+". The provided configuration is not Directed Acyclic Graph.");if(this._processConditionalModules(e),!e.mark){e.tmpMark=!0;for(var t=this._configParser.getModules(),n=0;n<e.dependencies.length;n++){var o=e.dependencies[n];if("exports"!==o&&"module"!==o){o=this._configParser.mapModule(o);var r=t[o];if(!r)throw new Error("Cannot resolve module: "+e.name+" due to not yet registered or wrongly specified dependency: "+o);this._visit(r,t)}}e.mark=!0,e.tmpMark=!1,this._result.unshift(e.name)}},_queue:[]},DependencyBuilder}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.URLBuilder=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._configParser=e}var n=/^https?:\/\/|\/\/|www\./;return t.prototype={constructor:t,build:function(e){var t=[],o=[],r=this._configParser.getModules(),i=this._configParser.getConfig(),s=i.basePath;"/"!==s.charAt(s.length-1)&&(s+="/");for(var u=0;u<e.length;u++){var a=r[e[u]];if(a.fullPath)o.push(a.fullPath);else{var c=this._getModulePath(a);n.test(c)?o.push(c):i.combine?t.push(c):o.push(i.url+s+c)}a.requested=!0}return t.length&&(o.push(i.url+s+t.join("&"+s)),t.length=0),o},_getModulePath:function(e){var t=e.path||e.name,o=this._configParser.getConfig().paths;for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t===r||0===t.indexOf(r+"/"))&&(t=o[r]+t.substring(r.length));return n.test(t)||t.indexOf(".js")===t.length-3||(t+=".js"),t}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.Loader=new n,e.require=e.Loader.require.bind(e.Loader),e.define=e.Loader.define.bind(e.Loader)}("undefined"!=typeof global?global:this,function(e){"use strict";function t(n){t.superclass.constructor.apply(this,arguments),this._config=n||e.__CONFIG__,this._modulesMap={}}function n(e,t,n){if(!t||!e)throw"extend failed, verify dependencies";var r=t.prototype,i=Object.create(r);return e.prototype=i,i.constructor=e,e.superclass=r,t!=Object&&r.constructor==Object.prototype.constructor&&(r.constructor=t),n&&o(i,n),e}function o(e,t){var n=Object.prototype.hasOwnProperty;for(var o in t)n.call(t,o)&&(e[o]=t[o]);return e}return n(t,e.EventEmitter,{define:function(e,t,n,o){var r=o||{};e=this._getConfigParser().mapModule(e),r.name=e,r.dependencies=t,r.pendingImplementation=n;var i=this._getConfigParser();i.addModule(r),this._modulesMap[r.name]||(this._modulesMap[r.name]=!0),this.emit("moduleRegister",r)},getConditionalModules:function(){return this._getConfigParser().getConditionalModules()},getModules:function(){return this._getConfigParser().getModules()},require:function(){var e,t,n,o=this,r=Array.isArray?Array.isArray(arguments[0]):"[object Array]"===Object.prototype.toString.call(arguments[0]);if(r)t=arguments[0],n="function"==typeof arguments[1]?arguments[1]:null,e="function"==typeof arguments[2]?arguments[2]:null;else{t=[];for(var i=0;i<arguments.length;++i)if("string"==typeof arguments[i])t[i]=arguments[i];else if("function"==typeof arguments[i]){n=arguments[i],e="function"==typeof arguments[++i]?arguments[i]:null;break}}t=this._getConfigParser().mapModule(t),o._resolveDependencies(t).then(function(e){return o._loadModules(e)}).then(function(e){var r=o._getModuleImplementations(t);n&&n.apply(n,r)},function(t){e&&e.call(e,t)})},_createModulePromise:function(e){var t=this;return new Promise(function(n,o){var r=function(o){o.name===e&&(t.off("moduleRegister",r),t._modulesMap[e]=!0,n(e))};t.on("moduleRegister",r)})},_getConfigParser:function(){return this._configParser||(this._configParser=new e.ConfigParser(this._config)),this._configParser},_getDependencyBuilder:function(){return this._dependencyBuilder||(this._dependencyBuilder=new e.DependencyBuilder(this._getConfigParser())),this._dependencyBuilder},_getModuleImplementations:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];t.push(r?r.implementation:void 0)}return t},_getURLBuilder:function(){return this._urlBuilder||(this._urlBuilder=new e.URLBuilder(this._getConfigParser())),this._urlBuilder},_filterNotRequestedModules:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];"exports"===r||"module"===r||r&&r.requested||t.push(e[o])}return t},_loadModules:function(e){var t=this;return new Promise(function(n,o){var r=t._filterNotRequestedModules(e);if(r.length){for(var i=t._getURLBuilder().build(r),s=[],u=0;u<i.length;u++)s.push(t._loadScript(i[u]));Promise.all(s).then(function(n){return t._waitForModules(e)}).then(function(e){n(e)})["catch"](function(e){o(e)})}else t._waitForModules(e).then(function(e){n(e)})["catch"](function(e){o(e)})})},_loadScript:function(e){return new Promise(function(t,n){var o=document.createElement("script");o.src=e,o.onload=o.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"load"!==this.readyState||(o.onload=o.onreadystatechange=null,t(o))},o.onerror=function(){document.body.removeChild(o),n(o)},document.body.appendChild(o)})},_resolveDependencies:function(e){var t=this;return new Promise(function(n,o){try{for(var r=t._getConfigParser().getModules(),i=[],s=0;s<e.length;s++)r[e[s]]&&i.push(e[s]);var u=t._getDependencyBuilder().resolveDependencies(i);n(u)}catch(a){o(a)}})},_setModuleImplementation:function(e){for(var t=this._getConfigParser().getModules(),n=0;n<e.length;n++){var o=e[n];if(!o.implementation){for(var r,i=[],s=0;s<o.dependencies.length;s++){var u=o.dependencies[s];if("exports"===u)r={},i.push(r);else if("module"===u)r={exports:{}},i.push(r);else{u=this._getConfigParser().mapModule(u);var a=t[u],c=a.implementation;i.push(c)}}var l=o.pendingImplementation.apply(o.pendingImplementation,i);l?o.implementation=l:r&&(o.implementation=r.exports||r)}}},_waitForModule:function(e){var t=this,n=t._modulesMap[e];return n||(n=t._createModulePromise(e),t._modulesMap[e]=n),n},_waitForModules:function(e){var t=this;return new Promise(function(n,o){for(var r=[],i=0;i<e.length;i++)r.push(t._waitForModule(e[i]));Promise.all(r).then(function(o){for(var r=t._getConfigParser().getModules(),i=[],s=0;s<e.length;s++)i.push(r[e[s]]);t._setModuleImplementation(i),n(i)})})}}),t}),window.Loader=global.Loader,window.require=global.require,window.define=global.define}(); | ||
(function(){function e(e,t){A[C]=e,A[C+1]=t,C+=2,2===C&&w()}function t(e){return"function"==typeof e}function n(){return function(){process.nextTick(s)}}function o(){var e=0,t=new O(s),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function r(){var e=new MessageChannel;return e.port1.onmessage=s,function(){e.port2.postMessage(0)}}function i(){return function(){setTimeout(s,1)}}function s(){for(var e=0;C>e;e+=2)A[e](A[e+1]),A[e]=void 0,A[e+1]=void 0;C=0}function u(){}function a(e,t,n,o){try{e.call(t,n,o)}catch(r){return r}}function l(t,n,o){e(function(e){var t=!1,r=a(o,n,function(o){t||(t=!0,n!==o?f(e,o):h(e,o))},function(n){t||(t=!0,p(e,n))});!t&&r&&(t=!0,p(e,r))},t)}function c(e,t){1===t.a?h(e,t.b):2===e.a?p(e,t.b):g(t,void 0,function(t){f(e,t)},function(t){p(e,t)})}function f(e,n){if(e===n)p(e,new TypeError("You cannot resolve a promise with itself"));else if("function"==typeof n||"object"==typeof n&&null!==n)if(n.constructor===e.constructor)c(e,n);else{var o;try{o=n.then}catch(r){x.error=r,o=x}o===x?p(e,x.error):void 0===o?h(e,n):t(o)?l(e,n,o):h(e,n)}else h(e,n)}function d(e){e.f&&e.f(e.b),m(e)}function h(t,n){void 0===t.a&&(t.b=n,t.a=1,0!==t.e.length&&e(m,t))}function p(t,n){void 0===t.a&&(t.a=2,t.b=n,e(d,t))}function g(t,n,o,r){var i=t.e,s=i.length;t.f=null,i[s]=n,i[s+1]=o,i[s+2]=r,0===s&&t.a&&e(m,t)}function m(e){var t=e.e,n=e.a;if(0!==t.length){for(var o,r,i=e.b,s=0;s<t.length;s+=3)o=t[s],r=t[s+n],o?_(n,o,r,i):r(i);e.e.length=0}}function v(){this.error=null}function _(e,n,o,r){var i,s,u,a,l=t(o);if(l){try{i=o(r)}catch(c){k.error=c,i=k}if(i===k?(a=!0,s=i.error,i=null):u=!0,n===i)return void p(n,new TypeError("A promises callback cannot return that same promise."))}else i=r,u=!0;void 0===n.a&&(l&&u?f(n,i):a?p(n,s):1===e?h(n,i):2===e&&p(n,i))}function y(e,t){try{t(function(t){f(e,t)},function(t){p(e,t)})}catch(n){p(e,n)}}function M(e,t,n,o){this.n=e,this.c=new e(u,o),this.i=n,this.o(t)?(this.m=t,this.d=this.length=t.length,this.l(),0===this.length?h(this.c,this.b):(this.length=this.length||0,this.k(),0===this.d&&h(this.c,this.b))):p(this.c,this.p())}function b(e){if(q++,this.b=this.a=void 0,this.e=[],u!==e){if(!t(e))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof b))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");y(this,e)}}var w,P=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},C=0,j="undefined"!=typeof window?window:{},O=j.MutationObserver||j.WebKitMutationObserver,j="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,A=Array(1e3);w="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?n():O?o():j?r():i();var x=new v,k=new v;M.prototype.o=function(e){return P(e)},M.prototype.p=function(){return Error("Array Methods must be provided an Array")},M.prototype.l=function(){this.b=Array(this.length)},M.prototype.k=function(){for(var e=this.length,t=this.c,n=this.m,o=0;void 0===t.a&&e>o;o++)this.j(n[o],o)},M.prototype.j=function(e,t){var n=this.n;"object"==typeof e&&null!==e?e.constructor===n&&void 0!==e.a?(e.f=null,this.g(e.a,t,e.b)):this.q(n.resolve(e),t):(this.d--,this.b[t]=this.h(e))},M.prototype.g=function(e,t,n){var o=this.c;void 0===o.a&&(this.d--,this.i&&2===e?p(o,n):this.b[t]=this.h(n)),0===this.d&&h(o,this.b)},M.prototype.h=function(e){return e},M.prototype.q=function(e,t){var n=this;g(e,void 0,function(e){n.g(1,t,e)},function(e){n.g(2,t,e)})};var q=0;b.all=function(e,t){return new M(this,e,!0,t).c},b.race=function(e,t){function n(e){f(r,e)}function o(e){p(r,e)}var r=new this(u,t);if(!P(e))return p(r,new TypeError("You must pass an array to race.")),r;for(var i=e.length,s=0;void 0===r.a&&i>s;s++)g(this.resolve(e[s]),void 0,n,o);return r},b.resolve=function(e,t){if(e&&"object"==typeof e&&e.constructor===this)return e;var n=new this(u,t);return f(n,e),n},b.reject=function(e,t){var n=new this(u,t);return p(n,e),n},b.prototype={constructor:b,then:function(t,n){var o=this.a;if(1===o&&!t||2===o&&!n)return this;var r=new this.constructor(u),i=this.b;if(o){var s=arguments[o-1];e(function(){_(o,r,s,i)})}else g(this,r,t,n);return r},"catch":function(e){return this.then(null,e)}};var B={Promise:b,polyfill:function(){var e;e="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self,"Promise"in e&&"resolve"in e.Promise&&"reject"in e.Promise&&"all"in e.Promise&&"race"in e.Promise&&function(){var n;return new e.Promise(function(e){n=e}),t(n)}()||(e.Promise=b)}};"function"==typeof define&&define.amd?define(function(){return B}):"undefined"!=typeof module&&module.exports?module.exports=B:"undefined"!=typeof this&&(this.ES6Promise=B)}).call(this),function(){var global={};global.__CONFIG__=window.__CONFIG__,function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.EventEmitter=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(){this._events={}}return t.prototype={constructor:t,on:function(e,t){var n=this._events[e]=this._events[e]||[];n.push(t)},off:function(e,t){var n=this._events[e];if(n){var o=n.indexOf(t);o>-1?n.splice(o,1):console.warn("Off: callback was not removed: "+t.toString())}else console.warn("Off: there are no listeners for event: "+e)},emit:function(e,t){var n=this._events[e];if(n){n=n.slice(0);for(var o=0;o<n.length;o++){var r=n[o];r.call(r,t)}}else console.warn("No listeners for event: "+e)}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.ConfigParser=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._config={},this._modules={},this._conditionalModules={},this._parseConfig(e)}var n=Object.prototype.hasOwnProperty;return t.prototype={constructor:t,addModule:function(e){var t=this._modules[e.name];if(t)for(var o in e)n.call(e,o)&&(t[o]=e[o]);else this._modules[e.name]=e;return this._registerConditionalModule(e),this._modules[e.name]},getConfig:function(){return this._config},getConditionalModules:function(){return this._conditionalModules},getModules:function(){return this._modules},mapModule:function(e){var t;t=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++){var r=t[o];for(var i in this._config.maps)if(n.call(this._config.maps,i)&&(r===i||0===r.indexOf(i+"/"))){r=this._config.maps[i]+r.substring(i.length),t[o]=r;break}}return Array.isArray(e)?t:t[0]},_parseConfig:function(e){for(var t in e)n.call(e,t)&&("modules"===t?this._parseModules(e[t]):this._config[t]=e[t]);return this._config},_parseModules:function(e){for(var t in e)if(n.call(e,t)){var o=e[t];o.name=t,this.addModule(o)}return this._modules},_registerConditionalModule:function(e){if(e.condition){var t=this._conditionalModules[e.condition.trigger];t||(this._conditionalModules[e.condition.trigger]=t=[]),t.push(e.name)}}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.DependencyBuilder=n}("undefined"!=typeof global?global:this,function(global){"use strict";function DependencyBuilder(e){this._configParser=e,this._result=[]}var hasOwnProperty=Object.prototype.hasOwnProperty;return DependencyBuilder.prototype={constructor:DependencyBuilder,resolveDependencies:function(e){this._queue=e.slice(0);var t;try{this._resolveDependencies(),t=this._result.reverse().slice(0)}finally{this._cleanup()}return t},_cleanup:function(){var e=this._configParser.getModules();for(var t in e)if(hasOwnProperty.call(e,t)){var n=e[t];n.conditionalMark=!1,n.mark=!1,n.tmpMark=!1}this._queue.length=0,this._result.length=0},_processConditionalModules:function(e){var t=this._configParser.getConditionalModules()[e.name];if(t&&!e.conditionalMark){for(var n=this._configParser.getModules(),o=0;o<t.length;o++){var r=n[t[o]];-1===this._queue.indexOf(r.name)&&this._testConditionalModule(r.condition.test)&&this._queue.push(r.name)}e.conditionalMark=!0}},_resolveDependencies:function(){for(var e=this._configParser.getModules(),t=0;t<this._queue.length;t++){var n=e[this._queue[t]];n.mark||this._visit(n)}},_testConditionalModule:function(testFunction){return"function"==typeof testFunction?testFunction():eval("false || "+testFunction)()},_visit:function(e){if(e.tmpMark)throw new Error("Error processing module: "+e.name+". The provided configuration is not Directed Acyclic Graph.");if(this._processConditionalModules(e),!e.mark){e.tmpMark=!0;for(var t=this._configParser.getModules(),n=0;n<e.dependencies.length;n++){var o=e.dependencies[n];if("exports"!==o&&"module"!==o){o=this._configParser.mapModule(o);var r=t[o];if(!r)throw new Error("Cannot resolve module: "+e.name+" due to not yet registered or wrongly specified dependency: "+o);this._visit(r,t)}}e.mark=!0,e.tmpMark=!1,this._result.unshift(e.name)}},_queue:[]},DependencyBuilder}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.URLBuilder=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._configParser=e}var n=/^https?:\/\/|\/\/|www\./;return t.prototype={constructor:t,build:function(e){var t=[],o=[],r=this._configParser.getModules(),i=this._configParser.getConfig(),s=i.basePath;"/"!==s.charAt(s.length-1)&&(s+="/");for(var u=0;u<e.length;u++){var a=r[e[u]];if(a.fullPath)o.push(a.fullPath);else{var l=this._getModulePath(a),c=0===l.indexOf("/");n.test(l)?o.push(l):!i.combine||c?o.push(i.url+(c?"":s)+l):t.push(l)}a.requested=!0}return t.length&&(o.push(i.url+s+t.join("&"+s)),t.length=0),o},_getModulePath:function(e){var t=e.path||e.name,o=this._configParser.getConfig().paths;for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t===r||0===t.indexOf(r+"/"))&&(t=o[r]+t.substring(r.length));return n.test(t)||t.indexOf(".js")===t.length-3||(t+=".js"),t}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.Loader=new n,e.require=e.Loader.require.bind(e.Loader),e.define=e.Loader.define.bind(e.Loader)}("undefined"!=typeof global?global:this,function(e){"use strict";function t(n){t.superclass.constructor.apply(this,arguments),this._config=n||e.__CONFIG__,this._modulesMap={}}t.prototype=Object.create(e.EventEmitter.prototype),t.prototype.constructor=t,t.superclass=e.EventEmitter.prototype;var n={define:function(e,t,n,o){var r=o||{},i=this._getConfigParser();e=i.mapModule(e),r.name=e,r.dependencies=t,r.pendingImplementation=n,i.addModule(r),this._modulesMap[r.name]||(this._modulesMap[r.name]=!0),this.emit("moduleRegister",e)},getConditionalModules:function(){return this._getConfigParser().getConditionalModules()},getModules:function(){return this._getConfigParser().getModules()},require:function(){var e,t,n,o,r=this,i=Array.isArray?Array.isArray(arguments[0]):"[object Array]"===Object.prototype.toString.call(arguments[0]);if(i)n=arguments[0],o="function"==typeof arguments[1]?arguments[1]:null,e="function"==typeof arguments[2]?arguments[2]:null;else for(n=[],t=0;t<arguments.length;++t)if("string"==typeof arguments[t])n[t]=arguments[t];else if("function"==typeof arguments[t]){o=arguments[t],e="function"==typeof arguments[++t]?arguments[t]:null;break}var s=this._getConfigParser();n=s.mapModule(n);var u=s.getModules();for(t=0;t<n.length;t++)u[n[t]]||s.addModule({name:n[t],dependencies:[]});r._resolveDependencies(n).then(function(e){return r._loadModules(e)}).then(function(e){if(o){var t=r._getModuleImplementations(n);o.apply(o,t)}},function(t){e&&e.call(e,t)})},_createModulePromise:function(e){var t=this;return new Promise(function(n,o){var r=function(o){o===e&&(t.off("moduleRegister",r),t._modulesMap[e]=!0,n(e))};t.on("moduleRegister",r)})},_getConfigParser:function(){return this._configParser||(this._configParser=new e.ConfigParser(this._config)),this._configParser},_getDependencyBuilder:function(){return this._dependencyBuilder||(this._dependencyBuilder=new e.DependencyBuilder(this._getConfigParser())),this._dependencyBuilder},_getMissingDepenencies:function(e){for(var t=this._getConfigParser().getModules(),n=Object.create(null),o=0;o<e.length;o++)for(var r=t[e[o]],i=0;i<r.dependencies.length;i++){var s=r.dependencies[i];"exports"===s||"module"===s||s.pendingImplementation||(n[s]=1)}return Object.keys(n)},_getModuleImplementations:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];t.push(r?r.implementation:void 0)}return t},_getURLBuilder:function(){return this._urlBuilder||(this._urlBuilder=new e.URLBuilder(this._getConfigParser())),this._urlBuilder},_filterNotRequestedModules:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];"exports"===r||"module"===r||r&&r.requested||t.push(e[o])}return t},_loadModules:function(e){var t=this;return new Promise(function(n,o){var r=t._filterNotRequestedModules(e);if(r.length){for(var i=t._getURLBuilder().build(r),s=[],u=0;u<i.length;u++)s.push(t._loadScript(i[u]));Promise.all(s).then(function(n){return t._waitForModules(e)}).then(function(e){n(e)})["catch"](function(e){o(e)})}else t._waitForModules(e).then(function(e){n(e)})["catch"](function(e){o(e)})})},_loadScript:function(e){return new Promise(function(t,n){var o=document.createElement("script");o.src=e,o.onload=o.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"load"!==this.readyState||(o.onload=o.onreadystatechange=null,t(o))},o.onerror=function(){document.body.removeChild(o),n(o)},document.body.appendChild(o)})},_resolveDependencies:function(e){var t=this;return new Promise(function(n,o){try{var r=t._getDependencyBuilder().resolveDependencies(e);n(r)}catch(i){o(i)}})},_setModuleImplementation:function(e){for(var t=this._getConfigParser().getModules(),n=0;n<e.length;n++){var o=e[n];if(!o.implementation){for(var r,i=[],s=0;s<o.dependencies.length;s++){var u=o.dependencies[s];if("exports"===u)r={},i.push(r);else if("module"===u)r={exports:{}},i.push(r);else{u=this._getConfigParser().mapModule(u);var a=t[u],l=a.implementation;i.push(l)}}var c=o.pendingImplementation.apply(o.pendingImplementation,i);c?o.implementation=c:r&&(o.implementation=r.exports||r)}}},_waitForModule:function(e){var t=this,n=t._modulesMap[e];return n||(n=t._createModulePromise(e),t._modulesMap[e]=n),n},_waitForModules:function(e){var t=this;return new Promise(function(n,o){for(var r=[],i=0;i<e.length;i++)r.push(t._waitForModule(e[i]));Promise.all(r).then(function(r){var i=t._getConfigParser().getModules(),s=function(){for(var o=[],r=0;r<e.length;r++)o.push(i[e[r]]);t._setModuleImplementation(o),n(o)},u=t._getMissingDepenencies(e);u.length?t.require(u,s,o):s()})})}};return Object.keys(n).forEach(function(e){t.prototype[e]=n[e]}),t}),window.Loader=global.Loader,window.require=global.require,window.define=global.define}(); |
@@ -1,1 +0,1 @@ | ||
!function(){var global={};global.__CONFIG__=window.__CONFIG__,function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.EventEmitter=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(){this._events={}}return t.prototype={constructor:t,on:function(e,t){var n=this._events[e]=this._events[e]||[];n.push(t)},off:function(e,t){var n=this._events[e];if(n){var o=n.indexOf(t);o>-1?n.splice(o,1):console.warn("Off: callback was not removed: "+t.toString())}else console.warn("Off: there are no listeners for event: "+e)},emit:function(e,t){var n=this._events[e];if(n){n=n.slice(0);for(var o=0;o<n.length;o++){var r=n[o];r.call(r,t)}}else console.warn("No listeners for event: "+e)}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.ConfigParser=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._config={},this._modules={},this._conditionalModules={},this._parseConfig(e)}var n=Object.prototype.hasOwnProperty;return t.prototype={constructor:t,addModule:function(e){var t=this._modules[e.name];if(t)for(var o in e)n.call(e,o)&&(t[o]=e[o]);else this._modules[e.name]=e;this._registerConditionalModule(e)},getConfig:function(){return this._config},getConditionalModules:function(){return this._conditionalModules},getModules:function(){return this._modules},mapModule:function(e){var t;t=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++){var r=t[o];for(var i in this._config.maps)if(n.call(this._config.maps,i)&&(r===i||0===r.indexOf(i+"/"))){r=this._config.maps[i]+r.substring(i.length),t[o]=r;break}}return Array.isArray(e)?t:t[0]},_parseConfig:function(e){for(var t in e)n.call(e,t)&&("modules"===t?this._parseModules(e[t]):this._config[t]=e[t]);return this._config},_parseModules:function(e){for(var t in e)if(n.call(e,t)){var o=e[t];o.name=t,this.addModule(o)}return this._modules},_registerConditionalModule:function(e){if(e.condition){var t=this._conditionalModules[e.condition.trigger];t||(this._conditionalModules[e.condition.trigger]=t=[]),t.push(e.name)}}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.DependencyBuilder=n}("undefined"!=typeof global?global:this,function(global){"use strict";function DependencyBuilder(e){this._configParser=e,this._result=[]}var hasOwnProperty=Object.prototype.hasOwnProperty;return DependencyBuilder.prototype={constructor:DependencyBuilder,resolveDependencies:function(e){this._queue=e.slice(0);var t;try{this._resolveDependencies(),t=this._result.reverse().slice(0)}finally{this._cleanup()}return t},_cleanup:function(){var e=this._configParser.getModules();for(var t in e)if(hasOwnProperty.call(e,t)){var n=e[t];n.conditionalMark=!1,n.mark=!1,n.tmpMark=!1}this._queue.length=0,this._result.length=0},_processConditionalModules:function(e){var t=this._configParser.getConditionalModules()[e.name];if(t&&!e.conditionalMark){for(var n=this._configParser.getModules(),o=0;o<t.length;o++){var r=n[t[o]];-1===this._queue.indexOf(r.name)&&this._testConditionalModule(r.condition.test)&&this._queue.push(r.name)}e.conditionalMark=!0}},_resolveDependencies:function(){for(var e=this._configParser.getModules(),t=0;t<this._queue.length;t++){var n=e[this._queue[t]];n.mark||this._visit(n)}},_testConditionalModule:function(testFunction){return"function"==typeof testFunction?testFunction():eval("false || "+testFunction)()},_visit:function(e){if(e.tmpMark)throw new Error("Error processing module: "+e.name+". The provided configuration is not Directed Acyclic Graph.");if(this._processConditionalModules(e),!e.mark){e.tmpMark=!0;for(var t=this._configParser.getModules(),n=0;n<e.dependencies.length;n++){var o=e.dependencies[n];if("exports"!==o&&"module"!==o){o=this._configParser.mapModule(o);var r=t[o];if(!r)throw new Error("Cannot resolve module: "+e.name+" due to not yet registered or wrongly specified dependency: "+o);this._visit(r,t)}}e.mark=!0,e.tmpMark=!1,this._result.unshift(e.name)}},_queue:[]},DependencyBuilder}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.URLBuilder=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._configParser=e}var n=/^https?:\/\/|\/\/|www\./;return t.prototype={constructor:t,build:function(e){var t=[],o=[],r=this._configParser.getModules(),i=this._configParser.getConfig(),s=i.basePath;"/"!==s.charAt(s.length-1)&&(s+="/");for(var u=0;u<e.length;u++){var a=r[e[u]];if(a.fullPath)o.push(a.fullPath);else{var l=this._getModulePath(a);n.test(l)?o.push(l):i.combine?t.push(l):o.push(i.url+s+l)}a.requested=!0}return t.length&&(o.push(i.url+s+t.join("&"+s)),t.length=0),o},_getModulePath:function(e){var t=e.path||e.name,o=this._configParser.getConfig().paths;for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t===r||0===t.indexOf(r+"/"))&&(t=o[r]+t.substring(r.length));return n.test(t)||t.indexOf(".js")===t.length-3||(t+=".js"),t}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.Loader=new n,e.require=e.Loader.require.bind(e.Loader),e.define=e.Loader.define.bind(e.Loader)}("undefined"!=typeof global?global:this,function(e){"use strict";function t(n){t.superclass.constructor.apply(this,arguments),this._config=n||e.__CONFIG__,this._modulesMap={}}function n(e,t,n){if(!t||!e)throw"extend failed, verify dependencies";var r=t.prototype,i=Object.create(r);return e.prototype=i,i.constructor=e,e.superclass=r,t!=Object&&r.constructor==Object.prototype.constructor&&(r.constructor=t),n&&o(i,n),e}function o(e,t){var n=Object.prototype.hasOwnProperty;for(var o in t)n.call(t,o)&&(e[o]=t[o]);return e}return n(t,e.EventEmitter,{define:function(e,t,n,o){var r=o||{};e=this._getConfigParser().mapModule(e),r.name=e,r.dependencies=t,r.pendingImplementation=n;var i=this._getConfigParser();i.addModule(r),this._modulesMap[r.name]||(this._modulesMap[r.name]=!0),this.emit("moduleRegister",r)},getConditionalModules:function(){return this._getConfigParser().getConditionalModules()},getModules:function(){return this._getConfigParser().getModules()},require:function(){var e,t,n,o=this,r=Array.isArray?Array.isArray(arguments[0]):"[object Array]"===Object.prototype.toString.call(arguments[0]);if(r)t=arguments[0],n="function"==typeof arguments[1]?arguments[1]:null,e="function"==typeof arguments[2]?arguments[2]:null;else{t=[];for(var i=0;i<arguments.length;++i)if("string"==typeof arguments[i])t[i]=arguments[i];else if("function"==typeof arguments[i]){n=arguments[i],e="function"==typeof arguments[++i]?arguments[i]:null;break}}t=this._getConfigParser().mapModule(t),o._resolveDependencies(t).then(function(e){return o._loadModules(e)}).then(function(e){var r=o._getModuleImplementations(t);n&&n.apply(n,r)},function(t){e&&e.call(e,t)})},_createModulePromise:function(e){var t=this;return new Promise(function(n,o){var r=function(o){o.name===e&&(t.off("moduleRegister",r),t._modulesMap[e]=!0,n(e))};t.on("moduleRegister",r)})},_getConfigParser:function(){return this._configParser||(this._configParser=new e.ConfigParser(this._config)),this._configParser},_getDependencyBuilder:function(){return this._dependencyBuilder||(this._dependencyBuilder=new e.DependencyBuilder(this._getConfigParser())),this._dependencyBuilder},_getModuleImplementations:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];t.push(r?r.implementation:void 0)}return t},_getURLBuilder:function(){return this._urlBuilder||(this._urlBuilder=new e.URLBuilder(this._getConfigParser())),this._urlBuilder},_filterNotRequestedModules:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var r=n[e[o]];"exports"===r||"module"===r||r&&r.requested||t.push(e[o])}return t},_loadModules:function(e){var t=this;return new Promise(function(n,o){var r=t._filterNotRequestedModules(e);if(r.length){for(var i=t._getURLBuilder().build(r),s=[],u=0;u<i.length;u++)s.push(t._loadScript(i[u]));Promise.all(s).then(function(n){return t._waitForModules(e)}).then(function(e){n(e)})["catch"](function(e){o(e)})}else t._waitForModules(e).then(function(e){n(e)})["catch"](function(e){o(e)})})},_loadScript:function(e){return new Promise(function(t,n){var o=document.createElement("script");o.src=e,o.onload=o.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"load"!==this.readyState||(o.onload=o.onreadystatechange=null,t(o))},o.onerror=function(){document.body.removeChild(o),n(o)},document.body.appendChild(o)})},_resolveDependencies:function(e){var t=this;return new Promise(function(n,o){try{for(var r=t._getConfigParser().getModules(),i=[],s=0;s<e.length;s++)r[e[s]]&&i.push(e[s]);var u=t._getDependencyBuilder().resolveDependencies(i);n(u)}catch(a){o(a)}})},_setModuleImplementation:function(e){for(var t=this._getConfigParser().getModules(),n=0;n<e.length;n++){var o=e[n];if(!o.implementation){for(var r,i=[],s=0;s<o.dependencies.length;s++){var u=o.dependencies[s];if("exports"===u)r={},i.push(r);else if("module"===u)r={exports:{}},i.push(r);else{u=this._getConfigParser().mapModule(u);var a=t[u],l=a.implementation;i.push(l)}}var d=o.pendingImplementation.apply(o.pendingImplementation,i);d?o.implementation=d:r&&(o.implementation=r.exports||r)}}},_waitForModule:function(e){var t=this,n=t._modulesMap[e];return n||(n=t._createModulePromise(e),t._modulesMap[e]=n),n},_waitForModules:function(e){var t=this;return new Promise(function(n,o){for(var r=[],i=0;i<e.length;i++)r.push(t._waitForModule(e[i]));Promise.all(r).then(function(o){for(var r=t._getConfigParser().getModules(),i=[],s=0;s<e.length;s++)i.push(r[e[s]]);t._setModuleImplementation(i),n(i)})})}}),t}),window.Loader=global.Loader,window.require=global.require,window.define=global.define}(); | ||
!function(){var global={};global.__CONFIG__=window.__CONFIG__,function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.EventEmitter=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(){this._events={}}return t.prototype={constructor:t,on:function(e,t){var n=this._events[e]=this._events[e]||[];n.push(t)},off:function(e,t){var n=this._events[e];if(n){var o=n.indexOf(t);o>-1?n.splice(o,1):console.warn("Off: callback was not removed: "+t.toString())}else console.warn("Off: there are no listeners for event: "+e)},emit:function(e,t){var n=this._events[e];if(n){n=n.slice(0);for(var o=0;o<n.length;o++){var i=n[o];i.call(i,t)}}else console.warn("No listeners for event: "+e)}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.ConfigParser=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._config={},this._modules={},this._conditionalModules={},this._parseConfig(e)}var n=Object.prototype.hasOwnProperty;return t.prototype={constructor:t,addModule:function(e){var t=this._modules[e.name];if(t)for(var o in e)n.call(e,o)&&(t[o]=e[o]);else this._modules[e.name]=e;return this._registerConditionalModule(e),this._modules[e.name]},getConfig:function(){return this._config},getConditionalModules:function(){return this._conditionalModules},getModules:function(){return this._modules},mapModule:function(e){var t;t=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++){var i=t[o];for(var r in this._config.maps)if(n.call(this._config.maps,r)&&(i===r||0===i.indexOf(r+"/"))){i=this._config.maps[r]+i.substring(r.length),t[o]=i;break}}return Array.isArray(e)?t:t[0]},_parseConfig:function(e){for(var t in e)n.call(e,t)&&("modules"===t?this._parseModules(e[t]):this._config[t]=e[t]);return this._config},_parseModules:function(e){for(var t in e)if(n.call(e,t)){var o=e[t];o.name=t,this.addModule(o)}return this._modules},_registerConditionalModule:function(e){if(e.condition){var t=this._conditionalModules[e.condition.trigger];t||(this._conditionalModules[e.condition.trigger]=t=[]),t.push(e.name)}}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.DependencyBuilder=n}("undefined"!=typeof global?global:this,function(global){"use strict";function DependencyBuilder(e){this._configParser=e,this._result=[]}var hasOwnProperty=Object.prototype.hasOwnProperty;return DependencyBuilder.prototype={constructor:DependencyBuilder,resolveDependencies:function(e){this._queue=e.slice(0);var t;try{this._resolveDependencies(),t=this._result.reverse().slice(0)}finally{this._cleanup()}return t},_cleanup:function(){var e=this._configParser.getModules();for(var t in e)if(hasOwnProperty.call(e,t)){var n=e[t];n.conditionalMark=!1,n.mark=!1,n.tmpMark=!1}this._queue.length=0,this._result.length=0},_processConditionalModules:function(e){var t=this._configParser.getConditionalModules()[e.name];if(t&&!e.conditionalMark){for(var n=this._configParser.getModules(),o=0;o<t.length;o++){var i=n[t[o]];-1===this._queue.indexOf(i.name)&&this._testConditionalModule(i.condition.test)&&this._queue.push(i.name)}e.conditionalMark=!0}},_resolveDependencies:function(){for(var e=this._configParser.getModules(),t=0;t<this._queue.length;t++){var n=e[this._queue[t]];n.mark||this._visit(n)}},_testConditionalModule:function(testFunction){return"function"==typeof testFunction?testFunction():eval("false || "+testFunction)()},_visit:function(e){if(e.tmpMark)throw new Error("Error processing module: "+e.name+". The provided configuration is not Directed Acyclic Graph.");if(this._processConditionalModules(e),!e.mark){e.tmpMark=!0;for(var t=this._configParser.getModules(),n=0;n<e.dependencies.length;n++){var o=e.dependencies[n];if("exports"!==o&&"module"!==o){o=this._configParser.mapModule(o);var i=t[o];if(!i)throw new Error("Cannot resolve module: "+e.name+" due to not yet registered or wrongly specified dependency: "+o);this._visit(i,t)}}e.mark=!0,e.tmpMark=!1,this._result.unshift(e.name)}},_queue:[]},DependencyBuilder}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.URLBuilder=n}("undefined"!=typeof global?global:this,function(e){"use strict";function t(e){this._configParser=e}var n=/^https?:\/\/|\/\/|www\./;return t.prototype={constructor:t,build:function(e){var t=[],o=[],i=this._configParser.getModules(),r=this._configParser.getConfig(),s=r.basePath;"/"!==s.charAt(s.length-1)&&(s+="/");for(var u=0;u<e.length;u++){var a=i[e[u]];if(a.fullPath)o.push(a.fullPath);else{var l=this._getModulePath(a),d=0===l.indexOf("/");n.test(l)?o.push(l):!r.combine||d?o.push(r.url+(d?"":s)+l):t.push(l)}a.requested=!0}return t.length&&(o.push(r.url+s+t.join("&"+s)),t.length=0),o},_getModulePath:function(e){var t=e.path||e.name,o=this._configParser.getConfig().paths;for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t===i||0===t.indexOf(i+"/"))&&(t=o[i]+t.substring(i.length));return n.test(t)||t.indexOf(".js")===t.length-3||(t+=".js"),t}},t}),function(e,t){"use strict";var n=t(e);"object"==typeof module&&module&&(module.exports=n),"function"==typeof define&&define.amd&&define(t),e.Loader=new n,e.require=e.Loader.require.bind(e.Loader),e.define=e.Loader.define.bind(e.Loader)}("undefined"!=typeof global?global:this,function(e){"use strict";function t(n){t.superclass.constructor.apply(this,arguments),this._config=n||e.__CONFIG__,this._modulesMap={}}t.prototype=Object.create(e.EventEmitter.prototype),t.prototype.constructor=t,t.superclass=e.EventEmitter.prototype;var n={define:function(e,t,n,o){var i=o||{},r=this._getConfigParser();e=r.mapModule(e),i.name=e,i.dependencies=t,i.pendingImplementation=n,r.addModule(i),this._modulesMap[i.name]||(this._modulesMap[i.name]=!0),this.emit("moduleRegister",e)},getConditionalModules:function(){return this._getConfigParser().getConditionalModules()},getModules:function(){return this._getConfigParser().getModules()},require:function(){var e,t,n,o,i=this,r=Array.isArray?Array.isArray(arguments[0]):"[object Array]"===Object.prototype.toString.call(arguments[0]);if(r)n=arguments[0],o="function"==typeof arguments[1]?arguments[1]:null,e="function"==typeof arguments[2]?arguments[2]:null;else for(n=[],t=0;t<arguments.length;++t)if("string"==typeof arguments[t])n[t]=arguments[t];else if("function"==typeof arguments[t]){o=arguments[t],e="function"==typeof arguments[++t]?arguments[t]:null;break}var s=this._getConfigParser();n=s.mapModule(n);var u=s.getModules();for(t=0;t<n.length;t++)u[n[t]]||s.addModule({name:n[t],dependencies:[]});i._resolveDependencies(n).then(function(e){return i._loadModules(e)}).then(function(e){if(o){var t=i._getModuleImplementations(n);o.apply(o,t)}},function(t){e&&e.call(e,t)})},_createModulePromise:function(e){var t=this;return new Promise(function(n,o){var i=function(o){o===e&&(t.off("moduleRegister",i),t._modulesMap[e]=!0,n(e))};t.on("moduleRegister",i)})},_getConfigParser:function(){return this._configParser||(this._configParser=new e.ConfigParser(this._config)),this._configParser},_getDependencyBuilder:function(){return this._dependencyBuilder||(this._dependencyBuilder=new e.DependencyBuilder(this._getConfigParser())),this._dependencyBuilder},_getMissingDepenencies:function(e){for(var t=this._getConfigParser().getModules(),n=Object.create(null),o=0;o<e.length;o++)for(var i=t[e[o]],r=0;r<i.dependencies.length;r++){var s=i.dependencies[r];"exports"===s||"module"===s||s.pendingImplementation||(n[s]=1)}return Object.keys(n)},_getModuleImplementations:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var i=n[e[o]];t.push(i?i.implementation:void 0)}return t},_getURLBuilder:function(){return this._urlBuilder||(this._urlBuilder=new e.URLBuilder(this._getConfigParser())),this._urlBuilder},_filterNotRequestedModules:function(e){for(var t=[],n=this._getConfigParser().getModules(),o=0;o<e.length;o++){var i=n[e[o]];"exports"===i||"module"===i||i&&i.requested||t.push(e[o])}return t},_loadModules:function(e){var t=this;return new Promise(function(n,o){var i=t._filterNotRequestedModules(e);if(i.length){for(var r=t._getURLBuilder().build(i),s=[],u=0;u<r.length;u++)s.push(t._loadScript(r[u]));Promise.all(s).then(function(n){return t._waitForModules(e)}).then(function(e){n(e)})["catch"](function(e){o(e)})}else t._waitForModules(e).then(function(e){n(e)})["catch"](function(e){o(e)})})},_loadScript:function(e){return new Promise(function(t,n){var o=document.createElement("script");o.src=e,o.onload=o.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"load"!==this.readyState||(o.onload=o.onreadystatechange=null,t(o))},o.onerror=function(){document.body.removeChild(o),n(o)},document.body.appendChild(o)})},_resolveDependencies:function(e){var t=this;return new Promise(function(n,o){try{var i=t._getDependencyBuilder().resolveDependencies(e);n(i)}catch(r){o(r)}})},_setModuleImplementation:function(e){for(var t=this._getConfigParser().getModules(),n=0;n<e.length;n++){var o=e[n];if(!o.implementation){for(var i,r=[],s=0;s<o.dependencies.length;s++){var u=o.dependencies[s];if("exports"===u)i={},r.push(i);else if("module"===u)i={exports:{}},r.push(i);else{u=this._getConfigParser().mapModule(u);var a=t[u],l=a.implementation;r.push(l)}}var d=o.pendingImplementation.apply(o.pendingImplementation,r);d?o.implementation=d:i&&(o.implementation=i.exports||i)}}},_waitForModule:function(e){var t=this,n=t._modulesMap[e];return n||(n=t._createModulePromise(e),t._modulesMap[e]=n),n},_waitForModules:function(e){var t=this;return new Promise(function(n,o){for(var i=[],r=0;r<e.length;r++)i.push(t._waitForModule(e[r]));Promise.all(i).then(function(i){var r=t._getConfigParser().getModules(),s=function(){for(var o=[],i=0;i<e.length;i++)o.push(r[e[i]]);t._setModuleImplementation(o),n(o)},u=t._getMissingDepenencies(e);u.length?t.require(u,s,o):s()})})}};return Object.keys(n).forEach(function(e){t.prototype[e]=n[e]}),t}),window.Loader=global.Loader,window.require=global.require,window.define=global.define}(); |
@@ -156,2 +156,3 @@ (function() { | ||
* The same as those which config parameter of {@link Loader#define} method accepts. | ||
* @return {Object} The added module | ||
*/ | ||
@@ -176,2 +177,4 @@ addModule: function (module) { | ||
this._registerConditionalModule(module); | ||
return this._modules[module.name]; | ||
}, | ||
@@ -595,2 +598,3 @@ | ||
var path = this._getModulePath(module); | ||
var absolutePath = path.indexOf('/') === 0; | ||
@@ -601,5 +605,6 @@ // If the URL starts with external protocol, individual URL shall be created. | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
} else if (!config.combine) { | ||
result.push(config.url + basePath + path); | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
// If the module path starts with "/", do not include basePath in the URL. | ||
} else if (!config.combine || absolutePath) { | ||
result.push(config.url + (absolutePath ? '' : basePath) + path); | ||
@@ -697,3 +702,7 @@ } else { | ||
extend(Loader, global.EventEmitter, { | ||
Loader.prototype = Object.create(global.EventEmitter.prototype); | ||
Loader.prototype.constructor = Loader; | ||
Loader.superclass = global.EventEmitter.prototype; | ||
var LoaderProtoMethods = { | ||
/** | ||
@@ -721,7 +730,8 @@ * Defines a module in the system and fires {@link Loader#event:moduleRegister} event with the registered module as param. | ||
define: function(name, dependencies, implementation, config) { | ||
// Create new module by merging the provided config with the passed name, | ||
// dependencies and the implementation. | ||
// Create a new module by merging the provided config with the passed name, | ||
// dependencies and implementation. | ||
var module = config || {}; | ||
var configParser = this._getConfigParser(); | ||
name = this._getConfigParser().mapModule(name); | ||
name = configParser.mapModule(name); | ||
@@ -732,4 +742,2 @@ module.name = name; | ||
var configParser = this._getConfigParser(); | ||
configParser.addModule(module); | ||
@@ -741,3 +749,3 @@ | ||
this.emit('moduleRegister', module); | ||
this.emit('moduleRegister', name); | ||
}, | ||
@@ -781,2 +789,3 @@ | ||
var failureCallback; | ||
var i; | ||
var modules; | ||
@@ -799,3 +808,3 @@ var successCallback; | ||
for (var i = 0; i < arguments.length; ++i) { | ||
for (i = 0; i < arguments.length; ++i) { | ||
if (typeof arguments[i] === 'string') { | ||
@@ -814,4 +823,21 @@ modules[i] = arguments[i]; | ||
modules = this._getConfigParser().mapModule(modules); | ||
var configParser = this._getConfigParser(); | ||
// We map the modules so if they were unconfigured, they will be | ||
// inserted in the configuration with their mapped names | ||
modules = configParser.mapModule(modules); | ||
var registeredModules = configParser.getModules(); | ||
// Register on the fly all unregistered in the configuration modules. | ||
for (i = 0; i < modules.length; i++) { | ||
if (!registeredModules[modules[i]]) { | ||
configParser.addModule({ | ||
name: modules[i], | ||
dependencies: [] | ||
}); | ||
} | ||
} | ||
// Resolve the dependencies of the specified modules by the user | ||
@@ -822,6 +848,5 @@ // then load their JS scripts | ||
}).then(function(loadedModules) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
/* istanbul ignore else */ | ||
if (successCallback) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
successCallback.apply(successCallback, moduleImplementations); | ||
@@ -849,7 +874,7 @@ } | ||
return new Promise(function(resolve, reject) { | ||
var onModuleRegister = function(registeredModule) { | ||
if (registeredModule.name === moduleName) { | ||
var onModuleRegister = function(registeredModuleName) { | ||
if (registeredModuleName === moduleName) { | ||
self.off('moduleRegister', onModuleRegister); | ||
// Overwrite the promise entry in modules map with simple true value. | ||
// Overwrite the promise entry in the modules map with a simple `true` value. | ||
// Hopefully GC will remove this promise from the memory. | ||
@@ -897,2 +922,31 @@ self._modulesMap[moduleName] = true; | ||
/** | ||
* Returns an array of all missing dependencies of the passed modules. | ||
* A missing dependency is a dependency, which does not have pending implementation yet. | ||
* | ||
* @memberof! Loader# | ||
* @protected | ||
* @param {Array} moduleNames List of module names to be checked for missing dependencies. | ||
* @return {Array<string>} A list with all missing dependencies. | ||
*/ | ||
_getMissingDepenencies: function(moduleNames) { | ||
var registeredModules = this._getConfigParser().getModules(); | ||
var missingDependencies = Object.create(null); | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
var module = registeredModules[moduleNames[i]]; | ||
for (var j = 0; j < module.dependencies.length; j++) { | ||
var dependency = module.dependencies[j]; | ||
if (dependency !== 'exports' && dependency !== 'module' && !dependency.pendingImplementation) { | ||
missingDependencies[dependency] = 1; | ||
} | ||
} | ||
} | ||
return Object.keys(missingDependencies); | ||
}, | ||
/** | ||
* Retrieves module implementations to an array. | ||
@@ -972,7 +1026,7 @@ * | ||
return new Promise(function(resolve, reject) { | ||
// First, detect any still unloaded modules | ||
// First, detect any not yet requested modules | ||
var notRequestedModules = self._filterNotRequestedModules(moduleNames); | ||
if (notRequestedModules.length) { | ||
// If there are unloaded modules, construct their URLs | ||
// If there are not yet requested modules, construct their URLs | ||
var urls = self._getURLBuilder().build(notRequestedModules); | ||
@@ -994,4 +1048,4 @@ | ||
// resolve the main Promise | ||
.then(function(modules) { | ||
resolve(modules); | ||
.then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
@@ -1006,9 +1060,8 @@ // If any script fails to load or other error happens, | ||
// to be resolved and then resolve the main promise | ||
self._waitForModules(moduleNames).then(function(modules) { | ||
resolve(modules); | ||
self._waitForModules(moduleNames).then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
// If some error happens, for example if some module implementation | ||
// throws error, reject the main Promise | ||
. | ||
catch(function(error) { | ||
.catch(function(error) { | ||
reject(error); | ||
@@ -1069,14 +1122,4 @@ }); | ||
try { | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var finalModules = []; | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(modules); | ||
// Ignore wrongly specified byt the user (misspelled) modules | ||
for (var i = 0; i < modules.length; i++) { | ||
if (registeredModules[modules[i]]) { | ||
finalModules.push(modules[i]); | ||
} | ||
} | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(finalModules); | ||
resolve(dependencies); | ||
@@ -1199,14 +1242,29 @@ } catch (error) { | ||
// Wait until all modules were loaded and their Promises resolved | ||
Promise.all(modulesPromises).then(function(uselessPromises) { | ||
// The modules were loaded. However, we have to check their dependencies | ||
// one more time, because some dependencies might have not been registered in the configuration. | ||
// In this case we have to load them too, otherwise we won't be able to properly | ||
// get the implementation from the module. | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var definedModules = []; | ||
var defineModules = function () { | ||
var definedModules = []; | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
self._setModuleImplementation(definedModules); | ||
self._setModuleImplementation(definedModules); | ||
resolve(definedModules); | ||
resolve(definedModules); | ||
}; | ||
var missingDependencies = self._getMissingDepenencies(moduleNames); | ||
if (missingDependencies.length) { | ||
self.require(missingDependencies, defineModules, reject); | ||
} else { | ||
defineModules(); | ||
} | ||
}); | ||
@@ -1222,46 +1280,8 @@ }); | ||
*/ | ||
}; | ||
Object.keys(LoaderProtoMethods).forEach(function(key) { | ||
Loader.prototype[key] = LoaderProtoMethods[key]; | ||
}); | ||
// Utilities methods | ||
function extend(r, s, px) { /* istanbul ignore if else */ | ||
if (!s || !r) { | ||
throw ('extend failed, verify dependencies'); | ||
} | ||
var sp = s.prototype, | ||
rp = Object.create(sp); | ||
r.prototype = rp; | ||
rp.constructor = r; | ||
r.superclass = sp; | ||
/* istanbul ignore if else */ | ||
// assign constructor property | ||
if (s != Object && sp.constructor == Object.prototype.constructor) { | ||
sp.constructor = s; | ||
} | ||
/* istanbul ignore else */ | ||
// add prototype overrides | ||
if (px) { | ||
mix(rp, px); | ||
} | ||
return r; | ||
} | ||
function mix(destination, source) { | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
for (var k in source) { /* istanbul ignore else */ | ||
if (hasOwnProperty.call(source, k)) { | ||
destination[k] = source[k]; | ||
} | ||
} | ||
return destination; | ||
} | ||
return Loader; | ||
@@ -1268,0 +1288,0 @@ })); |
@@ -432,2 +432,3 @@ /*! | ||
* The same as those which config parameter of {@link Loader#define} method accepts. | ||
* @return {Object} The added module | ||
*/ | ||
@@ -452,2 +453,4 @@ addModule: function (module) { | ||
this._registerConditionalModule(module); | ||
return this._modules[module.name]; | ||
}, | ||
@@ -871,2 +874,3 @@ | ||
var path = this._getModulePath(module); | ||
var absolutePath = path.indexOf('/') === 0; | ||
@@ -877,5 +881,6 @@ // If the URL starts with external protocol, individual URL shall be created. | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
} else if (!config.combine) { | ||
result.push(config.url + basePath + path); | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
// If the module path starts with "/", do not include basePath in the URL. | ||
} else if (!config.combine || absolutePath) { | ||
result.push(config.url + (absolutePath ? '' : basePath) + path); | ||
@@ -973,3 +978,7 @@ } else { | ||
extend(Loader, global.EventEmitter, { | ||
Loader.prototype = Object.create(global.EventEmitter.prototype); | ||
Loader.prototype.constructor = Loader; | ||
Loader.superclass = global.EventEmitter.prototype; | ||
var LoaderProtoMethods = { | ||
/** | ||
@@ -997,7 +1006,8 @@ * Defines a module in the system and fires {@link Loader#event:moduleRegister} event with the registered module as param. | ||
define: function(name, dependencies, implementation, config) { | ||
// Create new module by merging the provided config with the passed name, | ||
// dependencies and the implementation. | ||
// Create a new module by merging the provided config with the passed name, | ||
// dependencies and implementation. | ||
var module = config || {}; | ||
var configParser = this._getConfigParser(); | ||
name = this._getConfigParser().mapModule(name); | ||
name = configParser.mapModule(name); | ||
@@ -1008,4 +1018,2 @@ module.name = name; | ||
var configParser = this._getConfigParser(); | ||
configParser.addModule(module); | ||
@@ -1017,3 +1025,3 @@ | ||
this.emit('moduleRegister', module); | ||
this.emit('moduleRegister', name); | ||
}, | ||
@@ -1057,2 +1065,3 @@ | ||
var failureCallback; | ||
var i; | ||
var modules; | ||
@@ -1075,3 +1084,3 @@ var successCallback; | ||
for (var i = 0; i < arguments.length; ++i) { | ||
for (i = 0; i < arguments.length; ++i) { | ||
if (typeof arguments[i] === 'string') { | ||
@@ -1090,4 +1099,21 @@ modules[i] = arguments[i]; | ||
modules = this._getConfigParser().mapModule(modules); | ||
var configParser = this._getConfigParser(); | ||
// We map the modules so if they were unconfigured, they will be | ||
// inserted in the configuration with their mapped names | ||
modules = configParser.mapModule(modules); | ||
var registeredModules = configParser.getModules(); | ||
// Register on the fly all unregistered in the configuration modules. | ||
for (i = 0; i < modules.length; i++) { | ||
if (!registeredModules[modules[i]]) { | ||
configParser.addModule({ | ||
name: modules[i], | ||
dependencies: [] | ||
}); | ||
} | ||
} | ||
// Resolve the dependencies of the specified modules by the user | ||
@@ -1098,6 +1124,5 @@ // then load their JS scripts | ||
}).then(function(loadedModules) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
/* istanbul ignore else */ | ||
if (successCallback) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
successCallback.apply(successCallback, moduleImplementations); | ||
@@ -1125,7 +1150,7 @@ } | ||
return new Promise(function(resolve, reject) { | ||
var onModuleRegister = function(registeredModule) { | ||
if (registeredModule.name === moduleName) { | ||
var onModuleRegister = function(registeredModuleName) { | ||
if (registeredModuleName === moduleName) { | ||
self.off('moduleRegister', onModuleRegister); | ||
// Overwrite the promise entry in modules map with simple true value. | ||
// Overwrite the promise entry in the modules map with a simple `true` value. | ||
// Hopefully GC will remove this promise from the memory. | ||
@@ -1173,2 +1198,31 @@ self._modulesMap[moduleName] = true; | ||
/** | ||
* Returns an array of all missing dependencies of the passed modules. | ||
* A missing dependency is a dependency, which does not have pending implementation yet. | ||
* | ||
* @memberof! Loader# | ||
* @protected | ||
* @param {Array} moduleNames List of module names to be checked for missing dependencies. | ||
* @return {Array<string>} A list with all missing dependencies. | ||
*/ | ||
_getMissingDepenencies: function(moduleNames) { | ||
var registeredModules = this._getConfigParser().getModules(); | ||
var missingDependencies = Object.create(null); | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
var module = registeredModules[moduleNames[i]]; | ||
for (var j = 0; j < module.dependencies.length; j++) { | ||
var dependency = module.dependencies[j]; | ||
if (dependency !== 'exports' && dependency !== 'module' && !dependency.pendingImplementation) { | ||
missingDependencies[dependency] = 1; | ||
} | ||
} | ||
} | ||
return Object.keys(missingDependencies); | ||
}, | ||
/** | ||
* Retrieves module implementations to an array. | ||
@@ -1248,7 +1302,7 @@ * | ||
return new Promise(function(resolve, reject) { | ||
// First, detect any still unloaded modules | ||
// First, detect any not yet requested modules | ||
var notRequestedModules = self._filterNotRequestedModules(moduleNames); | ||
if (notRequestedModules.length) { | ||
// If there are unloaded modules, construct their URLs | ||
// If there are not yet requested modules, construct their URLs | ||
var urls = self._getURLBuilder().build(notRequestedModules); | ||
@@ -1270,4 +1324,4 @@ | ||
// resolve the main Promise | ||
.then(function(modules) { | ||
resolve(modules); | ||
.then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
@@ -1282,9 +1336,8 @@ // If any script fails to load or other error happens, | ||
// to be resolved and then resolve the main promise | ||
self._waitForModules(moduleNames).then(function(modules) { | ||
resolve(modules); | ||
self._waitForModules(moduleNames).then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
// If some error happens, for example if some module implementation | ||
// throws error, reject the main Promise | ||
. | ||
catch(function(error) { | ||
.catch(function(error) { | ||
reject(error); | ||
@@ -1345,14 +1398,4 @@ }); | ||
try { | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var finalModules = []; | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(modules); | ||
// Ignore wrongly specified byt the user (misspelled) modules | ||
for (var i = 0; i < modules.length; i++) { | ||
if (registeredModules[modules[i]]) { | ||
finalModules.push(modules[i]); | ||
} | ||
} | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(finalModules); | ||
resolve(dependencies); | ||
@@ -1475,14 +1518,29 @@ } catch (error) { | ||
// Wait until all modules were loaded and their Promises resolved | ||
Promise.all(modulesPromises).then(function(uselessPromises) { | ||
// The modules were loaded. However, we have to check their dependencies | ||
// one more time, because some dependencies might have not been registered in the configuration. | ||
// In this case we have to load them too, otherwise we won't be able to properly | ||
// get the implementation from the module. | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var definedModules = []; | ||
var defineModules = function () { | ||
var definedModules = []; | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
self._setModuleImplementation(definedModules); | ||
self._setModuleImplementation(definedModules); | ||
resolve(definedModules); | ||
resolve(definedModules); | ||
}; | ||
var missingDependencies = self._getMissingDepenencies(moduleNames); | ||
if (missingDependencies.length) { | ||
self.require(missingDependencies, defineModules, reject); | ||
} else { | ||
defineModules(); | ||
} | ||
}); | ||
@@ -1498,46 +1556,8 @@ }); | ||
*/ | ||
}; | ||
Object.keys(LoaderProtoMethods).forEach(function(key) { | ||
Loader.prototype[key] = LoaderProtoMethods[key]; | ||
}); | ||
// Utilities methods | ||
function extend(r, s, px) { /* istanbul ignore if else */ | ||
if (!s || !r) { | ||
throw ('extend failed, verify dependencies'); | ||
} | ||
var sp = s.prototype, | ||
rp = Object.create(sp); | ||
r.prototype = rp; | ||
rp.constructor = r; | ||
r.superclass = sp; | ||
/* istanbul ignore if else */ | ||
// assign constructor property | ||
if (s != Object && sp.constructor == Object.prototype.constructor) { | ||
sp.constructor = s; | ||
} | ||
/* istanbul ignore else */ | ||
// add prototype overrides | ||
if (px) { | ||
mix(rp, px); | ||
} | ||
return r; | ||
} | ||
function mix(destination, source) { | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
for (var k in source) { /* istanbul ignore else */ | ||
if (hasOwnProperty.call(source, k)) { | ||
destination[k] = source[k]; | ||
} | ||
} | ||
return destination; | ||
} | ||
return Loader; | ||
@@ -1544,0 +1564,0 @@ })); |
@@ -20,3 +20,3 @@ 'use strict'; | ||
gulp.task('build', function(callback) { | ||
runSequence('clean', ['config', 'loader-min', 'source-min', 'modules'], 'build-config', 'demo', callback); | ||
runSequence('clean', ['config', 'loader-min', 'source-min', 'modules', 'modules2'], 'build-config', 'demo', callback); | ||
}); | ||
@@ -119,2 +119,7 @@ | ||
gulp.task('modules2', function() { | ||
return gulp.src('src/modules2/**/*.js') | ||
.pipe(gulp.dest('dist/demo/modules2')); | ||
}); | ||
gulp.task('test', ['build'], function(done) { | ||
@@ -155,3 +160,3 @@ gulp.src(['umd/**/*.js']) | ||
gulp.task('watch', ['build'], function () { | ||
gulp.watch('src/**/*', ['build']); | ||
gulp.watch(['src/**/*', '!src/config/*'], ['build']); | ||
}); | ||
@@ -158,0 +163,0 @@ |
{ | ||
"name": "lfr-amd-loader", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "AMD Loader with support for combo URL and conditional loading", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -36,2 +36,3 @@ 'use strict'; | ||
* The same as those which config parameter of {@link Loader#define} method accepts. | ||
* @return {Object} The added module | ||
*/ | ||
@@ -56,2 +57,4 @@ addModule: function (module) { | ||
this._registerConditionalModule(module); | ||
return this._modules[module.name]; | ||
}, | ||
@@ -58,0 +61,0 @@ |
@@ -19,3 +19,7 @@ 'use strict'; | ||
extend(Loader, global.EventEmitter, { | ||
Loader.prototype = Object.create(global.EventEmitter.prototype); | ||
Loader.prototype.constructor = Loader; | ||
Loader.superclass = global.EventEmitter.prototype; | ||
var LoaderProtoMethods = { | ||
/** | ||
@@ -43,7 +47,8 @@ * Defines a module in the system and fires {@link Loader#event:moduleRegister} event with the registered module as param. | ||
define: function(name, dependencies, implementation, config) { | ||
// Create new module by merging the provided config with the passed name, | ||
// dependencies and the implementation. | ||
// Create a new module by merging the provided config with the passed name, | ||
// dependencies and implementation. | ||
var module = config || {}; | ||
var configParser = this._getConfigParser(); | ||
name = this._getConfigParser().mapModule(name); | ||
name = configParser.mapModule(name); | ||
@@ -54,4 +59,2 @@ module.name = name; | ||
var configParser = this._getConfigParser(); | ||
configParser.addModule(module); | ||
@@ -63,3 +66,3 @@ | ||
this.emit('moduleRegister', module); | ||
this.emit('moduleRegister', name); | ||
}, | ||
@@ -103,2 +106,3 @@ | ||
var failureCallback; | ||
var i; | ||
var modules; | ||
@@ -121,3 +125,3 @@ var successCallback; | ||
for (var i = 0; i < arguments.length; ++i) { | ||
for (i = 0; i < arguments.length; ++i) { | ||
if (typeof arguments[i] === 'string') { | ||
@@ -136,4 +140,21 @@ modules[i] = arguments[i]; | ||
modules = this._getConfigParser().mapModule(modules); | ||
var configParser = this._getConfigParser(); | ||
// We map the modules so if they were unconfigured, they will be | ||
// inserted in the configuration with their mapped names | ||
modules = configParser.mapModule(modules); | ||
var registeredModules = configParser.getModules(); | ||
// Register on the fly all unregistered in the configuration modules. | ||
for (i = 0; i < modules.length; i++) { | ||
if (!registeredModules[modules[i]]) { | ||
configParser.addModule({ | ||
name: modules[i], | ||
dependencies: [] | ||
}); | ||
} | ||
} | ||
// Resolve the dependencies of the specified modules by the user | ||
@@ -144,6 +165,5 @@ // then load their JS scripts | ||
}).then(function(loadedModules) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
/* istanbul ignore else */ | ||
if (successCallback) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
successCallback.apply(successCallback, moduleImplementations); | ||
@@ -171,7 +191,7 @@ } | ||
return new Promise(function(resolve, reject) { | ||
var onModuleRegister = function(registeredModule) { | ||
if (registeredModule.name === moduleName) { | ||
var onModuleRegister = function(registeredModuleName) { | ||
if (registeredModuleName === moduleName) { | ||
self.off('moduleRegister', onModuleRegister); | ||
// Overwrite the promise entry in modules map with simple true value. | ||
// Overwrite the promise entry in the modules map with a simple `true` value. | ||
// Hopefully GC will remove this promise from the memory. | ||
@@ -219,2 +239,31 @@ self._modulesMap[moduleName] = true; | ||
/** | ||
* Returns an array of all missing dependencies of the passed modules. | ||
* A missing dependency is a dependency, which does not have pending implementation yet. | ||
* | ||
* @memberof! Loader# | ||
* @protected | ||
* @param {Array} moduleNames List of module names to be checked for missing dependencies. | ||
* @return {Array<string>} A list with all missing dependencies. | ||
*/ | ||
_getMissingDepenencies: function(moduleNames) { | ||
var registeredModules = this._getConfigParser().getModules(); | ||
var missingDependencies = Object.create(null); | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
var module = registeredModules[moduleNames[i]]; | ||
for (var j = 0; j < module.dependencies.length; j++) { | ||
var dependency = module.dependencies[j]; | ||
if (dependency !== 'exports' && dependency !== 'module' && !dependency.pendingImplementation) { | ||
missingDependencies[dependency] = 1; | ||
} | ||
} | ||
} | ||
return Object.keys(missingDependencies); | ||
}, | ||
/** | ||
* Retrieves module implementations to an array. | ||
@@ -294,7 +343,7 @@ * | ||
return new Promise(function(resolve, reject) { | ||
// First, detect any still unloaded modules | ||
// First, detect any not yet requested modules | ||
var notRequestedModules = self._filterNotRequestedModules(moduleNames); | ||
if (notRequestedModules.length) { | ||
// If there are unloaded modules, construct their URLs | ||
// If there are not yet requested modules, construct their URLs | ||
var urls = self._getURLBuilder().build(notRequestedModules); | ||
@@ -316,4 +365,4 @@ | ||
// resolve the main Promise | ||
.then(function(modules) { | ||
resolve(modules); | ||
.then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
@@ -328,9 +377,8 @@ // If any script fails to load or other error happens, | ||
// to be resolved and then resolve the main promise | ||
self._waitForModules(moduleNames).then(function(modules) { | ||
resolve(modules); | ||
self._waitForModules(moduleNames).then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
// If some error happens, for example if some module implementation | ||
// throws error, reject the main Promise | ||
. | ||
catch(function(error) { | ||
.catch(function(error) { | ||
reject(error); | ||
@@ -391,14 +439,4 @@ }); | ||
try { | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var finalModules = []; | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(modules); | ||
// Ignore wrongly specified byt the user (misspelled) modules | ||
for (var i = 0; i < modules.length; i++) { | ||
if (registeredModules[modules[i]]) { | ||
finalModules.push(modules[i]); | ||
} | ||
} | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(finalModules); | ||
resolve(dependencies); | ||
@@ -521,14 +559,29 @@ } catch (error) { | ||
// Wait until all modules were loaded and their Promises resolved | ||
Promise.all(modulesPromises).then(function(uselessPromises) { | ||
// The modules were loaded. However, we have to check their dependencies | ||
// one more time, because some dependencies might have not been registered in the configuration. | ||
// In this case we have to load them too, otherwise we won't be able to properly | ||
// get the implementation from the module. | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var definedModules = []; | ||
var defineModules = function () { | ||
var definedModules = []; | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
self._setModuleImplementation(definedModules); | ||
self._setModuleImplementation(definedModules); | ||
resolve(definedModules); | ||
resolve(definedModules); | ||
}; | ||
var missingDependencies = self._getMissingDepenencies(moduleNames); | ||
if (missingDependencies.length) { | ||
self.require(missingDependencies, defineModules, reject); | ||
} else { | ||
defineModules(); | ||
} | ||
}); | ||
@@ -544,44 +597,6 @@ }); | ||
*/ | ||
}); | ||
}; | ||
// Utilities methods | ||
function extend(r, s, px) { /* istanbul ignore if else */ | ||
if (!s || !r) { | ||
throw ('extend failed, verify dependencies'); | ||
} | ||
var sp = s.prototype, | ||
rp = Object.create(sp); | ||
r.prototype = rp; | ||
rp.constructor = r; | ||
r.superclass = sp; | ||
/* istanbul ignore if else */ | ||
// assign constructor property | ||
if (s != Object && sp.constructor == Object.prototype.constructor) { | ||
sp.constructor = s; | ||
} | ||
/* istanbul ignore else */ | ||
// add prototype overrides | ||
if (px) { | ||
mix(rp, px); | ||
} | ||
return r; | ||
} | ||
function mix(destination, source) { | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
for (var k in source) { /* istanbul ignore else */ | ||
if (hasOwnProperty.call(source, k)) { | ||
destination[k] = source[k]; | ||
} | ||
} | ||
return destination; | ||
} | ||
Object.keys(LoaderProtoMethods).forEach(function(key) { | ||
Loader.prototype[key] = LoaderProtoMethods[key]; | ||
}); |
@@ -50,2 +50,3 @@ 'use strict'; | ||
var path = this._getModulePath(module); | ||
var absolutePath = path.indexOf('/') === 0; | ||
@@ -56,5 +57,6 @@ // If the URL starts with external protocol, individual URL shall be created. | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
} else if (!config.combine) { | ||
result.push(config.url + basePath + path); | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
// If the module path starts with "/", do not include basePath in the URL. | ||
} else if (!config.combine || absolutePath) { | ||
result.push(config.url + (absolutePath ? '' : basePath) + path); | ||
@@ -61,0 +63,0 @@ } else { |
@@ -24,3 +24,3 @@ 'use strict'; | ||
configParser.addModule({ | ||
var addedModule = configParser.addModule({ | ||
name: 'aui-test1', | ||
@@ -34,2 +34,3 @@ dependencies: ['aui-base', 'aui-core'], | ||
assert.ok(modules['aui-test1']); | ||
assert.strictEqual(addedModule, modules['aui-test1']); | ||
}); | ||
@@ -36,0 +37,0 @@ |
@@ -60,3 +60,3 @@ 'use strict'; | ||
it('should throw error if there is are circular dependencies', function () { | ||
it('should throw error if there are circular dependencies', function () { | ||
var configParser = new global.ConfigParser(); | ||
@@ -63,0 +63,0 @@ var dependencyBuilder = new global.DependencyBuilder(configParser); |
@@ -15,4 +15,4 @@ 'use strict'; | ||
global.__CONFIG__ = { | ||
url: __dirname + '/fixture/modules', | ||
basePath: '/', | ||
url: __dirname + '/fixture', | ||
basePath: '/modules', | ||
maps: { | ||
@@ -69,2 +69,4 @@ 'liferay': 'liferay@1.0.0', | ||
global.__CONFIG__.paths = {}; | ||
require('../umd/config-parser.js'); | ||
@@ -98,2 +100,55 @@ require('../umd/event-emitter.js'); | ||
it('should map modules in define', function() { | ||
var module = Math.random().toString(); | ||
var alias = Math.random().toString(); | ||
global.__CONFIG__.maps[module] = alias; | ||
Loader.define(module, [], function() {return 1;}); | ||
var modules = Loader.getModules(); | ||
assert.property(modules, alias); | ||
}); | ||
it('should discover missing dependencies of already defined modules', function() { | ||
var module1 = Math.random().toString(); | ||
var dep1 = Math.random().toString(); | ||
var module2 = Math.random().toString(); | ||
var dep2 = Math.random().toString(); | ||
Loader.define(module1, [dep1], function() {return 1;}); | ||
Loader.define(module2, [dep2], function() {return 1;}); | ||
var missingDeps = Loader._getMissingDepenencies([module1, module2]); | ||
assert.isArray(missingDeps); | ||
assert.strictEqual(2, missingDeps.length); | ||
assert.sameMembers([dep1, dep2], missingDeps); | ||
}); | ||
it('should register unregistered modules in require', function() { | ||
var module = Math.random().toString(); | ||
Loader.require(module); | ||
var modules = Loader.getModules(); | ||
assert.property(modules, module); | ||
assert.isObject(modules[module]); | ||
assert.property(modules[module], 'dependencies'); | ||
assert.isArray(modules[module].dependencies); | ||
}); | ||
it('should map modules in require', function() { | ||
var module = Math.random().toString(); | ||
var alias = Math.random().toString(); | ||
global.__CONFIG__.maps[module] = alias; | ||
Loader.require(module, [], function() {return 1;}); | ||
var modules = Loader.getModules(); | ||
assert.property(modules, alias); | ||
}); | ||
it('should load already defined (manually) modules', function (done) { | ||
@@ -113,11 +168,19 @@ var failure = sinon.stub(); | ||
it('should load modules with misspelled names', function (done) { | ||
it('should load unregistered modules', function (done) { | ||
var one; | ||
var failure = sinon.stub(); | ||
var success = sinon.stub(); | ||
var success = sinon.spy(function(_one) { | ||
one = _one; | ||
}); | ||
Loader.require(['aui-1', 'aui2'], success, failure); | ||
global.__CONFIG__.paths['one'] = '/modules2/one'; | ||
global.__CONFIG__.paths['two'] = '/modules2/two'; | ||
global.__CONFIG__.paths['three'] = '/modules2/three'; | ||
Loader.require(['one'], success, failure); | ||
setTimeout(function () { | ||
assert.ok(failure.notCalled); | ||
assert.ok(success.calledOnce); | ||
assert.isFunction(one); | ||
@@ -124,0 +187,0 @@ done(); |
@@ -123,2 +123,22 @@ 'use strict'; | ||
}); | ||
it('should not add basePath when module has absolute url', function() { | ||
var configParser = new global.ConfigParser({ | ||
'url': 'http://localhost:3000/modules', | ||
'combine': true, | ||
'basePath': '/base', | ||
'modules': { | ||
'jquery': { | ||
'dependencies': [], | ||
'path': '/test' | ||
} | ||
} | ||
}); | ||
var urlBuilder = new global.URLBuilder(configParser); | ||
var url = urlBuilder.build(['jquery']); | ||
assert.strictEqual(url[0], 'http://localhost:3000/modules/test.js'); | ||
}); | ||
}); |
@@ -54,2 +54,3 @@ (function (global, factory) { | ||
* The same as those which config parameter of {@link Loader#define} method accepts. | ||
* @return {Object} The added module | ||
*/ | ||
@@ -74,2 +75,4 @@ addModule: function (module) { | ||
this._registerConditionalModule(module); | ||
return this._modules[module.name]; | ||
}, | ||
@@ -76,0 +79,0 @@ |
@@ -40,3 +40,7 @@ (function (global, factory) { | ||
extend(Loader, global.EventEmitter, { | ||
Loader.prototype = Object.create(global.EventEmitter.prototype); | ||
Loader.prototype.constructor = Loader; | ||
Loader.superclass = global.EventEmitter.prototype; | ||
var LoaderProtoMethods = { | ||
/** | ||
@@ -64,7 +68,8 @@ * Defines a module in the system and fires {@link Loader#event:moduleRegister} event with the registered module as param. | ||
define: function(name, dependencies, implementation, config) { | ||
// Create new module by merging the provided config with the passed name, | ||
// dependencies and the implementation. | ||
// Create a new module by merging the provided config with the passed name, | ||
// dependencies and implementation. | ||
var module = config || {}; | ||
var configParser = this._getConfigParser(); | ||
name = this._getConfigParser().mapModule(name); | ||
name = configParser.mapModule(name); | ||
@@ -75,4 +80,2 @@ module.name = name; | ||
var configParser = this._getConfigParser(); | ||
configParser.addModule(module); | ||
@@ -84,3 +87,3 @@ | ||
this.emit('moduleRegister', module); | ||
this.emit('moduleRegister', name); | ||
}, | ||
@@ -124,2 +127,3 @@ | ||
var failureCallback; | ||
var i; | ||
var modules; | ||
@@ -142,3 +146,3 @@ var successCallback; | ||
for (var i = 0; i < arguments.length; ++i) { | ||
for (i = 0; i < arguments.length; ++i) { | ||
if (typeof arguments[i] === 'string') { | ||
@@ -157,4 +161,21 @@ modules[i] = arguments[i]; | ||
modules = this._getConfigParser().mapModule(modules); | ||
var configParser = this._getConfigParser(); | ||
// We map the modules so if they were unconfigured, they will be | ||
// inserted in the configuration with their mapped names | ||
modules = configParser.mapModule(modules); | ||
var registeredModules = configParser.getModules(); | ||
// Register on the fly all unregistered in the configuration modules. | ||
for (i = 0; i < modules.length; i++) { | ||
if (!registeredModules[modules[i]]) { | ||
configParser.addModule({ | ||
name: modules[i], | ||
dependencies: [] | ||
}); | ||
} | ||
} | ||
// Resolve the dependencies of the specified modules by the user | ||
@@ -165,6 +186,5 @@ // then load their JS scripts | ||
}).then(function(loadedModules) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
/* istanbul ignore else */ | ||
if (successCallback) { | ||
var moduleImplementations = self._getModuleImplementations(modules); | ||
successCallback.apply(successCallback, moduleImplementations); | ||
@@ -192,7 +212,7 @@ } | ||
return new Promise(function(resolve, reject) { | ||
var onModuleRegister = function(registeredModule) { | ||
if (registeredModule.name === moduleName) { | ||
var onModuleRegister = function(registeredModuleName) { | ||
if (registeredModuleName === moduleName) { | ||
self.off('moduleRegister', onModuleRegister); | ||
// Overwrite the promise entry in modules map with simple true value. | ||
// Overwrite the promise entry in the modules map with a simple `true` value. | ||
// Hopefully GC will remove this promise from the memory. | ||
@@ -240,2 +260,31 @@ self._modulesMap[moduleName] = true; | ||
/** | ||
* Returns an array of all missing dependencies of the passed modules. | ||
* A missing dependency is a dependency, which does not have pending implementation yet. | ||
* | ||
* @memberof! Loader# | ||
* @protected | ||
* @param {Array} moduleNames List of module names to be checked for missing dependencies. | ||
* @return {Array<string>} A list with all missing dependencies. | ||
*/ | ||
_getMissingDepenencies: function(moduleNames) { | ||
var registeredModules = this._getConfigParser().getModules(); | ||
var missingDependencies = Object.create(null); | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
var module = registeredModules[moduleNames[i]]; | ||
for (var j = 0; j < module.dependencies.length; j++) { | ||
var dependency = module.dependencies[j]; | ||
if (dependency !== 'exports' && dependency !== 'module' && !dependency.pendingImplementation) { | ||
missingDependencies[dependency] = 1; | ||
} | ||
} | ||
} | ||
return Object.keys(missingDependencies); | ||
}, | ||
/** | ||
* Retrieves module implementations to an array. | ||
@@ -315,7 +364,7 @@ * | ||
return new Promise(function(resolve, reject) { | ||
// First, detect any still unloaded modules | ||
// First, detect any not yet requested modules | ||
var notRequestedModules = self._filterNotRequestedModules(moduleNames); | ||
if (notRequestedModules.length) { | ||
// If there are unloaded modules, construct their URLs | ||
// If there are not yet requested modules, construct their URLs | ||
var urls = self._getURLBuilder().build(notRequestedModules); | ||
@@ -337,4 +386,4 @@ | ||
// resolve the main Promise | ||
.then(function(modules) { | ||
resolve(modules); | ||
.then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
@@ -349,9 +398,8 @@ // If any script fails to load or other error happens, | ||
// to be resolved and then resolve the main promise | ||
self._waitForModules(moduleNames).then(function(modules) { | ||
resolve(modules); | ||
self._waitForModules(moduleNames).then(function(loadedModules) { | ||
resolve(loadedModules); | ||
}) | ||
// If some error happens, for example if some module implementation | ||
// throws error, reject the main Promise | ||
. | ||
catch(function(error) { | ||
.catch(function(error) { | ||
reject(error); | ||
@@ -412,14 +460,4 @@ }); | ||
try { | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var finalModules = []; | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(modules); | ||
// Ignore wrongly specified byt the user (misspelled) modules | ||
for (var i = 0; i < modules.length; i++) { | ||
if (registeredModules[modules[i]]) { | ||
finalModules.push(modules[i]); | ||
} | ||
} | ||
var dependencies = self._getDependencyBuilder().resolveDependencies(finalModules); | ||
resolve(dependencies); | ||
@@ -542,14 +580,29 @@ } catch (error) { | ||
// Wait until all modules were loaded and their Promises resolved | ||
Promise.all(modulesPromises).then(function(uselessPromises) { | ||
// The modules were loaded. However, we have to check their dependencies | ||
// one more time, because some dependencies might have not been registered in the configuration. | ||
// In this case we have to load them too, otherwise we won't be able to properly | ||
// get the implementation from the module. | ||
var registeredModules = self._getConfigParser().getModules(); | ||
var definedModules = []; | ||
var defineModules = function () { | ||
var definedModules = []; | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
for (var i = 0; i < moduleNames.length; i++) { | ||
definedModules.push(registeredModules[moduleNames[i]]); | ||
} | ||
self._setModuleImplementation(definedModules); | ||
self._setModuleImplementation(definedModules); | ||
resolve(definedModules); | ||
resolve(definedModules); | ||
}; | ||
var missingDependencies = self._getMissingDepenencies(moduleNames); | ||
if (missingDependencies.length) { | ||
self.require(missingDependencies, defineModules, reject); | ||
} else { | ||
defineModules(); | ||
} | ||
}); | ||
@@ -565,47 +618,9 @@ }); | ||
*/ | ||
}; | ||
Object.keys(LoaderProtoMethods).forEach(function(key) { | ||
Loader.prototype[key] = LoaderProtoMethods[key]; | ||
}); | ||
// Utilities methods | ||
function extend(r, s, px) { /* istanbul ignore if else */ | ||
if (!s || !r) { | ||
throw ('extend failed, verify dependencies'); | ||
} | ||
var sp = s.prototype, | ||
rp = Object.create(sp); | ||
r.prototype = rp; | ||
rp.constructor = r; | ||
r.superclass = sp; | ||
/* istanbul ignore if else */ | ||
// assign constructor property | ||
if (s != Object && sp.constructor == Object.prototype.constructor) { | ||
sp.constructor = s; | ||
} | ||
/* istanbul ignore else */ | ||
// add prototype overrides | ||
if (px) { | ||
mix(rp, px); | ||
} | ||
return r; | ||
} | ||
function mix(destination, source) { | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
for (var k in source) { /* istanbul ignore else */ | ||
if (hasOwnProperty.call(source, k)) { | ||
destination[k] = source[k]; | ||
} | ||
} | ||
return destination; | ||
} | ||
return Loader; | ||
})); |
@@ -68,2 +68,3 @@ (function (global, factory) { | ||
var path = this._getModulePath(module); | ||
var absolutePath = path.indexOf('/') === 0; | ||
@@ -74,5 +75,6 @@ // If the URL starts with external protocol, individual URL shall be created. | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
} else if (!config.combine) { | ||
result.push(config.url + basePath + path); | ||
// If combine is disabled, create individual URL based on config URL and module path. | ||
// If the module path starts with "/", do not include basePath in the URL. | ||
} else if (!config.combine || absolutePath) { | ||
result.push(config.url + (absolutePath ? '' : basePath) + path); | ||
@@ -79,0 +81,0 @@ } else { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
686909
123
7175