\n\n"},]}, {"tag":"div","attrib":{style:{134:"hidden",135:"hidden",137:"hidden",138:"hidden",140:"hidden",206:"9px",254:"s-resize",286:"solid",289:"rgb(221, 221, 221)",293:"1px",294:"solid",295:"rgb(221, 221, 221)",296:"1px",297:"solid",298:"rgb(221, 221, 221)",299:"1px",300:"solid",301:"rgb(221, 221, 221)",302:"1px",303:"solid",304:"rgb(221, 221, 221)",313:"1px",314:"solid",317:"rgb(221, 221, 221)",319:"solid",320:"rgb(221, 221, 221)",321:"1px",322:"solid",323:"rgb(221, 221, 221)",324:"9px",326:"no-repeat",327:"2px",328:"50%",329:"50% 2px",331:"url('https://accessibility.huit.harvard.edu/misc/grippie.png')",332:"rgb(238, 238, 238)"}},"children":[]},]}, {"text":"\n"}, {"tag":"div","attrib":{style:{1:"rgb(85, 85, 85)",2:"rgb(85, 85, 85)",55:"rgb(85, 85, 85)",60:"rgb(85, 85, 85)",61:"rgb(85, 85, 85)",144:"rgb(85, 85, 85)",177:"0px",182:"0px",183:"0px",184:"0px",230:"14.4px",264:"rgb(85, 85, 85)",271:"rgb(85, 85, 85)",276:"rgb(85, 85, 85)",289:"rgb(85, 85, 85)",295:"rgb(85, 85, 85)",298:"rgb(85, 85, 85)",301:"rgb(85, 85, 85)",304:"rgb(85, 85, 85)",317:"rgb(85, 85, 85)",320:"rgb(85, 85, 85)",323:"rgb(85, 85, 85)"}},"children":[ {"text":"Copy and paste this code to your website."},]}, {"text":"\n"},]}, {"text":"\n"},]},]}, {"tag":"div","attrib":{style:{19:"90",26:"100%",43:"-5px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",199:"-5px",201:"100%",206:"7px",230:"0.1px",250:"block",254:"n-resize",324:"7px",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"7px",110:"-5px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",192:"auto",197:"auto",198:"-5px",201:"7px",206:"100%",230:"0.1px",250:"block",254:"e-resize",324:"100%",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"100%",43:"auto",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",199:"auto",200:"-5px",201:"100%",206:"7px",230:"0.1px",250:"block",254:"s-resize",284:"-5px",324:"7px",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"7px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",192:"-5px",197:"-5px",201:"7px",206:"100%",230:"0.1px",250:"block",254:"w-resize",324:"100%",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"12px",43:"auto",52:"-99999px",110:"-5px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",134:"hidden",135:"hidden",137:"hidden",138:"hidden",140:"hidden",192:"auto",197:"auto",198:"-5px",199:"auto",200:"-5px",201:"12px",206:"12px",230:"0.1px",250:"block",254:"se-resize",284:"-5px",324:"12px",326:"no-repeat",327:"16px",328:"16px",329:"16px 16px",331:"url('https://accessibility.huit.harvard.edu/profiles/openscholar/modules/contrib/jquery_update/replace/ui/themes/base/minified/images/ui-icons_222222_256x240.png')",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"9px",43:"auto",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",192:"-5px",197:"-5px",199:"auto",200:"-5px",201:"9px",206:"9px",230:"0.1px",250:"block",254:"sw-resize",284:"-5px",324:"9px",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"9px",43:"-5px",110:"-5px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",192:"auto",197:"auto",198:"-5px",199:"-5px",201:"9px",206:"9px",230:"0.1px",250:"block",254:"ne-resize",324:"9px",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"div","attrib":{style:{19:"90",26:"9px",43:"-5px",122:"0px",123:"0px",124:"0px",125:"0px",126:"0px",127:"0px",128:"0px",129:"0px",192:"-5px",197:"-5px",199:"-5px",201:"9px",206:"9px",230:"0.1px",250:"block",254:"nw-resize",324:"9px",326:"repeat",327:"0%",328:"0%",329:"0% 0%",331:"none",332:"rgba(0, 0, 0, 0)"}},"children":[]},]}, {"tag":"div","attrib":{"id":"colorbox","role":"dialog","tabindex":"-1",style:{19:"9999",26:"auto",39:"50% 50%",43:"0px",114:"absolute",116:"50% 50%",134:"hidden",135:"hidden",137:"hidden",138:"hidden",140:"hidden",192:"0px",197:"0px",199:"0px",201:"auto",206:"auto",235:"sans-serif",250:"none",324:"auto",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"div","attrib":{"id":"cboxWrapper",style:{250:"block",287:"5px",288:"5px",290:"5px",291:"5px",310:"5px",311:"5px",315:"5px",316:"5px",332:"rgb(255, 255, 255)"}},"children":[ {"tag":"div","attrib":{style:{19:"auto",43:"auto",114:"static",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"auto",197:"auto",199:"auto",287:"0px",288:"0px",290:"0px",291:"0px",310:"0px",311:"0px",315:"0px",316:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"div","attrib":{"id":"cboxTopLeft",style:{26:"15px",201:"15px",206:"15px",238:"left",324:"15px"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxTopCenter",style:{206:"15px",238:"left",324:"15px"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxTopRight",style:{26:"15px",201:"15px",206:"15px",238:"left",324:"15px"}},"children":[]},]}, {"tag":"div","attrib":{style:{19:"auto",43:"auto",114:"static",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"auto",197:"auto",199:"auto",275:"left",287:"0px",288:"0px",290:"0px",291:"0px",310:"0px",311:"0px",315:"0px",316:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"div","attrib":{"id":"cboxMiddleLeft",style:{26:"15px",201:"15px",238:"left"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxContent",style:{114:"relative",134:"hidden",135:"hidden",137:"hidden",138:"hidden",140:"hidden",238:"left",275:"none",332:"rgb(255, 255, 255)"}},"children":[ {"tag":"div","attrib":{"id":"cboxTitle",style:{1:"rgb(83, 83, 83)",2:"rgb(83, 83, 83)",26:"100%",55:"rgb(83, 83, 83)",60:"rgb(83, 83, 83)",61:"rgb(83, 83, 83)",114:"absolute",122:"4px",123:"6px",124:"6px",125:"6px",126:"6px",127:"4px",128:"4px",129:"4px",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",144:"rgb(83, 83, 83)",192:"0px",197:"0px",200:"28px",201:"100%",238:"none",264:"rgb(83, 83, 83)",271:"rgb(83, 83, 83)",276:"rgb(83, 83, 83)",281:"border-box",284:"28px",289:"rgb(83, 83, 83)",295:"rgb(83, 83, 83)",298:"rgb(83, 83, 83)",301:"rgb(83, 83, 83)",304:"rgb(83, 83, 83)",317:"rgb(83, 83, 83)",320:"rgb(83, 83, 83)",323:"rgb(83, 83, 83)",332:"rgba(255, 255, 255, 0.7)"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxCurrent",style:{1:"rgb(148, 148, 148)",2:"rgb(148, 148, 148)",55:"rgb(148, 148, 148)",60:"rgb(148, 148, 148)",61:"rgb(148, 148, 148)",114:"absolute",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",144:"rgb(148, 148, 148)",192:"60px",197:"60px",200:"4px",238:"none",264:"rgb(148, 148, 148)",271:"rgb(148, 148, 148)",276:"rgb(148, 148, 148)",284:"4px",289:"rgb(148, 148, 148)",295:"rgb(148, 148, 148)",298:"rgb(148, 148, 148)",301:"rgb(148, 148, 148)",304:"rgb(148, 148, 148)",317:"rgb(148, 148, 148)",320:"rgb(148, 148, 148)",323:"rgb(148, 148, 148)",332:"rgba(0, 0, 0, 0)"}},"children":[]}, {"tag":"button","attrib":{"type":"button","id":"cboxPrevious",style:{26:"25px",31:"none",32:"normal",52:"-9999px",65:"center",114:"absolute",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",188:"normal",192:"0px",197:"0px",200:"0px",201:"25px",206:"25px",238:"none",254:"pointer",281:"border-box",284:"0px",324:"25px",326:"no-repeat",327:"0px",328:"-75px",329:"-75px 0px",331:"url('https://accessibility.huit.harvard.edu/profiles/openscholar/modules/contrib/colorbox/styles/default/images/controls.png')",332:"rgba(0, 0, 0, 0)",338:"button"}},"children":[]}, {"tag":"button","attrib":{"type":"button","id":"cboxNext",style:{26:"25px",31:"none",32:"normal",52:"-9999px",65:"center",114:"absolute",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",188:"normal",192:"27px",197:"27px",200:"0px",201:"25px",206:"25px",238:"none",254:"pointer",281:"border-box",284:"0px",324:"25px",326:"no-repeat",327:"0px",328:"-50px",329:"-50px 0px",331:"url('https://accessibility.huit.harvard.edu/profiles/openscholar/modules/contrib/colorbox/styles/default/images/controls.png')",332:"rgba(0, 0, 0, 0)",338:"button"}},"children":[]}, {"tag":"button","attrib":{"type":"button","id":"cboxSlideshow",style:{31:"none",32:"normal",65:"center",114:"static",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",188:"normal",238:"none",250:"inline-block",254:"pointer",281:"border-box",332:"rgba(0, 0, 0, 0)",338:"button"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxLoadingOverlay",style:{26:"100%",43:"0px",114:"absolute",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"0px",197:"0px",199:"0px",201:"100%",206:"100%",238:"none",324:"100%"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxLoadingGraphic",style:{26:"100%",43:"0px",114:"absolute",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"0px",197:"0px",199:"0px",201:"100%",206:"100%",238:"none",324:"100%",326:"no-repeat",327:"50%",328:"50%",329:"50% 50%",331:"url('https://accessibility.huit.harvard.edu/profiles/openscholar/modules/contrib/colorbox/styles/default/images/loading_animation.gif')",332:"rgba(0, 0, 0, 0)"}},"children":[]},]}, {"tag":"div","attrib":{"id":"cboxMiddleRight",style:{26:"15px",201:"15px",238:"left",275:"none"}},"children":[]},]}, {"tag":"div","attrib":{style:{19:"auto",43:"auto",114:"static",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"auto",197:"auto",199:"auto",275:"left",287:"0px",288:"0px",290:"0px",291:"0px",310:"0px",311:"0px",315:"0px",316:"0px",332:"rgba(0, 0, 0, 0)"}},"children":[ {"tag":"div","attrib":{"id":"cboxBottomLeft",style:{26:"15px",201:"15px",206:"10px",238:"left",324:"10px"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxBottomCenter",style:{206:"10px",238:"left",275:"none",324:"10px"}},"children":[]}, {"tag":"div","attrib":{"id":"cboxBottomRight",style:{26:"15px",201:"15px",206:"10px",238:"left",275:"none",324:"10px"}},"children":[]},]},]}, {"tag":"div","attrib":{style:{19:"auto",26:"9999px",28:"hidden",43:"auto",134:"visible",135:"visible",137:"visible",138:"visible",140:"visible",192:"auto",197:"auto",199:"auto",201:"9999px"}},"children":[]},]},]}}; let zIndexMax = 0 let base_url = "https:\/\/accessibility.huit.harvard.edu\/event\/creating-accessible-pdfs-062123"; function url_canonicalize( url ) { url = url.replace(/[?;]jsessionid=[!0-9a-z]+/i,'') let parts = new URL(url) let path = parts.pathname if (( path.length >= 2 )&&( path[0]=='/' )&&( path[1]=='/' )) { path = path.substr( 1 ) } // Transforms // to / if set at the beginning of path let path_parts = [] let path_orig_parts = path.split('/') for ( let i = 0 ; i < path_orig_parts.length ; i++ ) { let path_part = path_orig_parts[i] if (( i==1 )&&( path_part=='' )) continue if ( path_part == '.' ) continue // removes /. if ( path_part == '..' ) { if ( path_parts.length>1 ) { // removes /xxx/.. path_parts.pop() } continue; // and ^/../ which is weird stuff } path_parts.push( path_part ) } path = path_parts.join('/'); let portStr = parts.port ? ':'+parts.port : '' let queryStr = parts.search ? parts.search : '' let hashStr = parts.hash ? parts.hash : '' return parts.protocol + '//' + parts.hostname + portStr + path + queryStr + hashStr } function strip_filename( path ) { last_slash = path.lastIndexOf('/') return ( last_slash >= 0 )? path.substr( 0, last_slash+1 ) : '/' } function getAbsoluteUrl( url ) { if ( url.match(/^data:|^javascript:/i ) ) return url let base_parts = new URL(base_url) if ( base_parts.protocol && base_parts.hostname ) { if ( url.indexOf('//') == 0 ) { url = base_parts.protocol + url } if ( url.indexOf('/') == 0 ) { url = base_parts.protocol + '//' + base_parts.hostname + url; } if ( ! url.match(/^[a-z]{3,5}:\/\//i) ) { let base_path = base_parts.pathname ? base_parts.pathname : '/' url = base_parts.protocol + '//' + base_parts.hostname + strip_filename( base_path ) + url } } return url_canonicalize(url) } function convert_url( tagName, attrib, value ) { let entry = cache_url switch ( attrib ) { case 'src': entry = entry.replace(/index2\.php/,'display2.php') case 'href': if ( value.startsWith('data:') ) return value let postfix = '' if ( tagName.toLowerCase() == 'iframe' ) postfix = '&inframe=1' console.log('convert url : ',entry+encodeURIComponent( getAbsoluteUrl(value) )+postfix) return entry+encodeURIComponent( getAbsoluteUrl(value) )+postfix } return value } let console_timing_count = 0 function console_timing() { if ( !( console_timing_count++ % 1000 ) ) { console.log('1000 ticks') } } let parse_inBody = false function parse_json( json, parentStyles ) { console_timing() if ( json.tag ) { let tag switch ( json.tag ) { case 'head': tag = document.head; break; case 'body': tag = document.body; break; //document.createElement('div'); // document.body.appendChild(tag) break; default: try { tag = document.createElement(json.tag) } catch (error) { return document.createElement('span') /* sometimes, we get an invalid tag name ; drop it */ } } if ( json.tag == 'base' ) { if ( json.attrib.href ) base_url = json.attrib.href } if ( json.tag == 'head' ) { let style = document.createElement('style') style.innerHTML = '.w { '+default_styles_css+' }' tag.appendChild(style) } let ourStyle = {} for ( const attrib in json.attrib ) { if ( attrib == 'style' ) { for ( const style in json.attrib.style ) { let value = json.attrib.style[style] let key = wikiwix_styles[style] if ( default_styles[key] != value ) { tag.style[key] = value } ourStyle[style] = value } for ( const style in parentStyles ) { if ( !ourStyle.hasOwnProperty(style) ) { let value = parentStyles[style] let key = wikiwix_styles[style] if ( default_styles[key] != value ) { tag.style[wikiwix_styles[style]] = parentStyles[style] } ourStyle[style] = parentStyles[style] } } if ( ourStyle[style_to_id['position'] ] != 'static' ) { let zIndex = parseInt(ourStyle[style_to_id['z-index']]) if (( zIndex != NaN )&&( zIndex > zIndexMax )) zIndexMax = zIndex } } else { try { if ( attrib !== 'srcset' ) { tag.setAttribute( attrib, convert_url(json.tag,attrib,json.attrib[attrib]) ) } } catch (err) {} } } if ( json.tag == 'body' ) { tag.style.overflowY='auto' /* tag.style.height='auto' tag.style.inset='0' tag.style.margin='0' tag.style.zIndex='0'*/ } if ( parse_inBody ) tag.setAttribute('class','w') json.children.forEach( (child)=>{ let node = parse_json(child,ourStyle) if (( node instanceof Node )&&( json.tag != 'html' )) tag.appendChild( node ) } ) return tag } else if ( json.text ) { return document.createTextNode( json.text ) } return false } parse_json(wikiwix_dom.head,{}) parse_inBody = true parse_json(wikiwix_dom.body,{}) if ( zIndexMax > 0 ) { $('#wikiwix_container').css('z-index',zIndexMax+1) $('#wikiwix_login_container').css('z-index',zIndexMax+2) $('#wikiwix_minimizer').css('z-index',zIndexMax+3) $('#popup_notice').css('z-index',zIndexMax+4) }