var _,hasProp={}.hasOwnProperty,slice=[].slice;_={i:function(){return this.console=setInterval(this.detect.bind(this),200)},p:{offing:!1,offtime:0},turn:function(n,m,e){return null==m&&(m=!1),null==e&&(e=!1),n instanceof jQuery||(n=$(n)),!1!==m&&n.removeClass(m),!1!==e&&n.addClass(e),!0},off:function(n,m){null==m&&(m={}),m.offing&&m.offtime>0?(this.turn(n,!1,"offing"),setTimeout(function(m){return function(){return m.turn(n,"offing",!1),m.turn(n,"on","off")}}(this),1e3*m.offtime+100)):this.turn(n,"on","off")},on:function(n,m){return this.turn(n,"off","on")},swap:function(n,m){n instanceof jQuery||(n=$(n)),n.hasClass("off")?this.on(n,m):this.off(n,m)},encode:function(n){return encodeURIComponent(n).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")},t:function(n,m,e,t){return _gaq.push(["_trackEvent",n,m,e,t])},rand:function(n,m){return Math.floor(Math.random()*m)+n},fit:function(n,m,e,t){var r;return r=Math.min(e/n,t/m),{width:n*r,height:m*r}},hex2rgb:function(n){var m;return m=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),{r:parseInt(m[1],16),g:parseInt(m[2],16),b:parseInt(m[3],16)}},objc:function(n){var m;return function(){var e;e=[];for(m in n)hasProp.call(n,m)&&e.push(m);return e}().length},load:function(n,m,e){var t;return t=document.createElement("script"),t.type="text/javascript",t.src=n,t.addEventListener("load",function(n){if("function"==typeof e&&e(),void 0!==m&&!1!==m)return window[m].i()},!1),document.body.appendChild(t)},jinit:function(){return $.ajaxSetup({dataType:"json"})},patch:function(n,m){var e;return this.jinit(),e=$.ajax({url:n,data:m,type:"PATCH"}),e.fail(function(n){return this.fail(n)}),e},get:function(){var n,m;return n=1<=arguments.length?slice.call(arguments,0):[],this.jinit(),m=$.get.apply($,n),m.fail(function(n){return function(e){return n.fail(e),m.fail(e)}}(this)),m},post:function(){var n,m;return n=1<=arguments.length?slice.call(arguments,0):[],m=$.post.apply($,n),m.fail(function(n){return function(e){return n.fail(e),m.fail(e)}}(this)),m},fail:function(n){var m,e,t,r,o,i,d;if(void 0===(t=null!=(i=n.responseJSON)&&null!=(d=i.errors)?d[0]:void 0))return Prompt.i(n.status,n.statusText);switch(o=t.message.match(/Pug Error: (.*?):([0-9]+)/),null!==o&&(t.message=t.message.replace(/Pug Error: (.*?):([0-9]+)/,""),t.file=o[1],t.line=o[2]),r=this.encode(""+t.file),config.app.editor){case"macvim":e="mvim://open?url=file://";break;case"sublime":e="subl://open?url=file://";break;case"emacs":e="emacs://open?url=file://";break;case"textmate":e="textmate://open/?url=file://";break;case"phpstorm":e="phpstorm://open?file="}return m=null!==t.file?"
"+t.message+'\n'+t.file+":"+t.line+"":t.message,Prompt.i(t.type,m,["OK"])},methods:function(n){var m,e,t;t=[];for(m in n)"function"==typeof(e=n[m])&&t.push(e);return t},llc:function(){var n;return n="\n%cmmm/............................................................./mmm\nmmo................-:://::-.......-:::::::::::::-........-::///:-.omm\nmd-.............:+yhddddddhy+-..../ddddddddddddd+....../shdddddddyodm\nmo.............-hmmmhyyyydmmmh:.../mmmmhhhhhhhhh+....:ydmmdhyyyhddoom\nm-..............-ss:-....-ymmmy.../mmmm---------....:dmmms:-...-:/.-m\nd.........................ymmmy.../mmmm-/+ooo+:-....ymmmy-:+ooo+/-..d\nh.......................:smmmd:.../mmmmhmmmmmmdh+...dmmmshdmmmmmmhs-h\nh.....................:sdmmdy:....:hhdho+//+ymmmm+..dmmmdyo//+sdmmmhh\nd..................-+ydmmdy/.......--:.......smmmh..ymmms......:mmmmm\nm-..............-:shmmmds/-----....:s/--...-:hmmms..:dmmd/-...-ommmmm\nmo..............hmmmmmmhhhhhhhh...+dmmdhyyyhdmmmy-.../hmmmhyyyhmmmdhm\nmd-.............ddddddddddddddd...-+shdddddddhy/-.....-oydddddddho:dm\nmmo.............:::::::::::::::.......-:///::-...........-:///:-..omm\nmmm/............................................................./mmm\n\n:: syntactic sugar by 256\n:: http://256.io/\n:: "+config.meta.repo,console.log(n,"color: grey; font-family: Menlo, monospace;")},detect:function(){if(window.outerHeight-window.innerHeight>100||window.outerWidth-window.innerWidth>100)return this.llc(),clearInterval(this.console)}},_.i(); var config;config={color:{white1:"#ffffff",black1:"#000000",black2:"#191919",brown1:"#C29E6E",brown2:"#AA8052",brown3:"#876037",beige1:"#C7BAA2",beige2:"#E5E3DB"},font:{h1:{"font-family":"octavian regular","font-size":"22px"},h2:{"font-family":"serial regular","font-size":"55px"},copy1:{"font-family":"independence regular","font-size":"29px"},copy2:{"font-family":"Garamond","font-size":"116px"}},meta:{url:"http://lookingglassvr.com/",title:"Looking Glass VR",description:"Windows to the past are open at last",keywords:"VR, VR app, looking glass",tracking_id:"UA-89300822-1",share:"images/share.jpg",repo:"https://github.com/lookingglassvr/lookingglass",social:{facebook:"https://www.facebook.com/Looking-Glass-VR-178294259284296/",twitter:"https://twitter.com/stereoviews",instagram:"https://instagram.com/lookingglassvr"}},copy:{collection:{title:"the collection",first:"T",copy:'he stereo-photos you see in Looking Glass VR are selected excerpts from the Keystone View Company’s ‘Tour of the World’, a tiny glimpse of Keystone’s internationally themed stereo photography collection. From 1892 to 1933, over 300,000 such cards were produced. In 1978, the company\'s records and inventory of negatives were donated to the UCR/California Museum of Photography at the University of California Riverside, where they are now known as the Keystone-Mast collection.'},credits:{title:"credits and thanks",first:"H",copy:'and lettering by Tobias Saul and illustration by Matt Weems. Web design by Maher Sinjary. Prototyped with the help of Suzanne Leibrick. Sound effects used from freesound.org. (A B C D E F G H) With music from the Open Music Archive.',authors:{title:"Looking Glass VR was",joeb:'created by