{"version":3,"file":"photomosaic-wo-react.min.js","sources":["photomosaic-wo-react.js"],"names":["jQuery","window","registerNamespace","ns","raw","nsParts","split","root","i","length","sub","jQuerySub","selector","context","fn","init","extend","this","superclass","prototype","constructor","call","rootjQuerySub","document","PhotoMosaic","Plugins","Modernizr","a","b","c","y","j","cssText","A","B","indexOf","C","d","e","D","f","bind","E","charAt","toUpperCase","slice","o","join","p","k","v","x","g","documentElement","h","createElement","style","m","toString","n","toLowerCase","q","t","u","w","hasOwnProperty","Function","TypeError","arguments","apply","concat","Object","csstransforms","csstransitions","F","push","addTest","className","_version","_prefixes","_domPrefixes","_cssomPrefixes","testProp","testAllProps","prefixed","replace","EventEmitter","indexOfListener","listeners","listener","alias","name","proto","exports","originalGlobalValue","getListeners","evt","response","key","events","_getEvents","test","flattenListeners","flatListeners","getListenersAsObject","Array","addListener","listenerIsWrapped","once","on","addOnceListener","defineEvent","defineEvents","evts","removeListener","index","splice","off","addListeners","manipulateListeners","removeListeners","remove","value","single","multiple","RegExp","removeEvent","type","_events","removeAllListeners","emitEvent","args","_getOnceReturnValue","trigger","emit","setOnceReturnValue","_onceReturnValue","noConflict","define","amd","module","getIEEvent","obj","event","target","srcElement","docElem","addEventListener","attachEvent","handleEvent","unbind","removeEventListener","detachEvent","err","undefined","eventie","factory","require","imagesLoaded","prop","isArray","objToString","makeArray","ary","len","ImagesLoaded","elem","options","onAlways","querySelectorAll","elements","getImages","$","jqDeferred","Deferred","_this","setTimeout","check","LoadingImage","img","Resource","src","cache","console","hasConsole","images","nodeName","addImage","childElems","jLen","loadingImage","onConfirm","image","message","debug","log","progress","checkedCount","complete","hasAnyBroken","isLoaded","notify","eventName","isComplete","jqMethod","callback","instance","promise","resource","isConfirmed","confirm","naturalWidth","resrc","isChecked","proxyImage","Image","method","onload","unbindProxyEvents","onerror","__indexOf","item","l","__slice","$w","Context","Waypoint","allWaypoints","contextCounter","contextKey","contexts","isTouch","jQMethods","methods","resizeEvent","scrollEvent","waypointCounter","waypointKey","wp","wps","horizontal","vertical","$element","element","didResize","didScroll","id","oldScroll","scrollLeft","scrollTop","waypoints","scrollHandler","doScroll","settings","scrollThrottle","resizeHandler","resizeThrottle","axes","newScroll","forward","backward","each","aKey","axis","direction","isForward","triggered","wKey","waypoint","_ref","_ref1","offset","sort","reverse","continuous","refresh","cOffset","isWin","isWindow","contextOffset","left","contextScroll","contextDimension","width","offsetProp","top","height","adjustment","elementOffset","oldOffset","isFunction","parseFloat","Math","ceil","onlyOnScroll","enabled","checkEmpty","isEmptyObject","idList","contextHeight","outerHeight","handler","triggerOnce","destroy","disable","enable","getWaypointsByElement","all","ids","map","defaults","$this","contextElement","closest","_invoke","prev","_traverse","stack","next","aggregate","inArray","pushStack","isPlainObject","error","viewportHeight","innerHeight","contextSelector","collection","arr","unique","above","_filter","below","right","extendFn","methodName","getHashtag","url","location","href","hashtag","decodeURI","substring","setHashtag","theRel","hash","rel_index","clearHashtag","getParam","regexS","regex","results","exec","prettyPhoto","version","pp_settings","_showContent","hide","projectedTop","scroll_pos","windowHeight","pp_dimensions","$ppt","fadeTo","animation_speed","$pp_pic_holder","find","animate","halfWidth","windowWidth","fadeIn","isSet","_getFileType","pp_images","set_position","show","allow_expand","autoplay_slideshow","pp_slideshow","pp_open","startSlideshow","changepicturecallback","_insert_gallery","ajaxcallback","_hideContent","css","fadeOut","_checkPosition","setCount","_fitToViewport","resized","_getDimensions","imageWidth","imageHeight","pp_containerWidth","pp_containerHeight","doresize","allow_resize","percentBased","fitting","floor","containerHeight","containerWidth","horizontal_padding","contentHeight","pp_contentHeight","contentWidth","pp_contentWidth","$pp_details","detailsHeight","clone","addClass","theme","appendTo","position","$pp_title","titleHeight","itemSrc","noQueryString","match","substr","_center_overlay","_get_scroll","contentwidth","self","pageYOffset","pageXOffset","body","_resize_overlay","$pp_overlay","overlay_gallery","itemWidth","navWidth","itemsPerPage","totalPage","$pp_gallery","galleryWidth","fullGalleryWidth","removeClass","goToPage","changeGalleryPage","$pp_gallery_li","filter","_build_overlay","social_tools","facebook_like_link","encodeURIComponent","markup","append","currentGalleryPage","toInject","classname","img_src","gallery_markup","after","click","stopSlideshow","hover","changePage","slideshow","prepend","attr","opacity","modal","close","hasClass","open","hook","show_title","default_width","default_height","counter_separator_label","hideflash","wmode","autoplay","deeplinking","overlay_gallery_max","keyboard_shortcuts","ie6_fallback","image_markup","flash_markup","quicktime_markup","iframe_markup","inline_markup","custom_markup","matchedObjects","is","keyCode","preventDefault","initialize","galleryRegExp","pp_titles","pp_descriptions","size","html","text","unescape","movie_width","movie_height","imgPreloader","skipInjection","nextImage","prevImage","innerHTML","alert","movie_id","movie","regExp","vimeo_width","flash_vars","filename","frame_url","get","responseHTML","myClone","wrapInner","slide_speed","slide_to","setInterval","clearInterval","stop","pp_alreadyInitialized","hashIndex","hashRel","Utils","S4","random","info","msg","prefix","print","makeID","small","deepSearch","arrayToObj","array","pickImageSize","sizes","scaled","original","adjusted","debounce","func","wait","immediate","timeout","timestamp","result","now","Date","getTime","later","last","callNow","logGalleryData","gallery","output","thumb","caption","JSON","stringify","ErrorChecks","initial","opts","input","prevent_crop","imageDimensions","to_delete","isNaN","rest","layout","json","columns","constraint","Inputs","$node","$images","$image","eq","alt","parseInt","parent","links","xml","data","children","Loader","$container","mosaic","lazyload","skipLazyload","trigger_point","loading_transition","image_loaded","fail","always","$parent","parents","toggleClasses","_transition_end_event_name","resize_transition_settings","duration","$mosaic","$loading","Layouts","Common","makeColumnBuckets","num_cols","max_width","num_images","maths","plus","minus","getColumnWidth","total_padding","padding","usable_width","col_width","getColumnHeights","imagesById","column_heights","column_height","container","dealIntoColumns","isRefreshing","order","sortRandomly","sortIntoMasonry","sortIntoColumns","sortIntoRows","randomizeImages","num_columns","which","min","shift","positionImagesInMosaic","column_width","col_height","normalizeAdjustments","adjustments","node","_options","getData","mosaic_height","scaleToWidth","getMosaicHeight","adjustColumnsToHeight","errorChecks","aspectRatio","balanceColumnsToHeight","positionImagesInContainer","mean","values","sum","max","target_height","adjustColumnToHeight","diff","abs","balanceColumnToHeight","divy","remainder","update","props","grid","setContainers","scaleToContainer","alignInContainer","aspect_ratio","getAspectRatio","shape","scaled_height","shouldScaleWidth","sizing","align","prefixId","React","createClass","componentDidMount","getDOMNode","render","class_name","image_wrapper","center","DOM","div","node_type","params","spinner","link","external","rel","title","path","data-src","span","loading","pluginName","photoMosaic","el","_id","event_names","WebkitTransition","MozTransition","OTransition","msTransition","transition","_defaults","external_links","show_loading","resize_transition","time","effect","modal_name","modal_group","modal_hash","modal_ready_callback","orphans","log_gallery_data","adjustDeprecatedOptions","preload","when","getGalleryData","then","setImageIDs","configure","react","renderComponent","hasDims","prepData","preloadify","proxy","preloadDone","preloadProgress","layout_data","view_model","mosaic_data","makeSpecialClasses","loader","modalCallback","class","image_url","$item","isPreload","$preload","$img","modal_text","mem","full","some","hasSpecifiedDims","getLoadingTransition","getResizeTransition","getLayoutClass","getUniqueClass","getAvia","avia_framework_globals","classes","checkLazyload","setProps","force_order","responsive_transition","responsive_transition_settings","_name","Mosaics","$el"],"mappings":";;;;;;CAAC,SAAUA,EAAQC,GAEf,QAASC,GAAkBC,EAAIC,GAG3B,IAAK,GAFDC,GAAUF,EAAGG,MAAM,KACnBC,EAAON,EACFO,EAAI,EAAGA,EAAIH,EAAQI,OAAQD,IACD,mBAApBD,GAAKF,EAAQG,MACpBD,EAAKF,EAAQG,IAAM,EAAQJ,MAE/BG,EAAOA,EAAKF,EAAQG,IAK5BR,EAAOU,IAAM,WACT,QAASC,GAAWC,EAAUC,GAC1B,MAAO,IAAIF,GAAUG,GAAGC,KAAMH,EAAUC,GAE5Cb,EAAOgB,QAAQ,EAAML,EAAWM,MAChCN,EAAUO,WAAaD,KACvBN,EAAUG,GAAKH,EAAUQ,UAAYF,OACrCN,EAAUG,GAAGM,YAAcT,EAC3BA,EAAUD,IAAMO,KAAKP,IACrBC,EAAUG,GAAGC,KAAO,SAAeH,EAAUC,GAKzC,MAJKA,IAAWA,YAAmBb,MAAYa,YAAm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