;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; with all optimizations.
;;; This file contains utf-8 non-ASCII characters,
;;; and so cannot be loaded into Emacs 22 or earlier.
(and (boundp 'emacs-version)
(< (aref emacs-version (1- (length emacs-version))) ?A)
(string-lessp emacs-version "23")
(error "`%s' was compiled for Emacs 23 or later" #$))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312\313\314\315&\210\316\317\320\321\322DD\323\312\324\314\307\325\326& \210\316\327\320\321\330DD\331\312\324\314\307\325\332& \210\316\333\320\321\334DD\335\312\313\314\307\325\336& \210\316\337\320\321\340DD\341\312\342\314\307\325\336& \210\316\343\320\321\344DD\345\314\307\325\346&\210\316\347\320\321\350DD\351\314\307\325\352&\210\316\353\320\321\354DD\355\314\307\325\352&\210\316\356\320\321\357DD\360\314\307\325\352&\210\316\361\320\321\362DD\363\312\313\325\364\314\307& \210\316\365\320\321\366DD\367\312\370\325\371\314\307& \210\316\372\320\321\373DD\374\312\370\314\307\325\321& \210\316\375\320\321\376DD\377\312\370\314\307\325\336& \207" [require browse-url dom seq svg image custom-declare-group shr nil "Simple HTML Renderer" :version "25.1" :group web custom-declare-variable shr-max-image-proportion funcall function #[0 "\300\207" [0.9] 1] "How big pictures displayed are in relation to the window they're in.\nA value of 0.7 means that they are allowed to take up 70% of the\nwidth and height of the window. If they are larger than this,\nand Emacs supports it, then the images will be rescaled down to\nfit these criteria." "24.1" :type float shr-blocked-images #[0 "\300\207" [nil] 1] "Images that have URLs matching this regexp will be blocked." (choice (const nil) regexp) shr-use-fonts #[0 "\300\207" [t] 1] "If non-nil, use proportional fonts for text." boolean shr-use-colors #[0 "\300\207" [t] 1] "If non-nil, respect color specifications in the HTML." "26.1" shr-table-horizontal-line #[0 "\300\207" [nil] 1] "Character used to draw horizontal table lines.\nIf nil, don't draw horizontal table lines." (choice (const nil) character) shr-table-vertical-line #[0 "\300\207" [32] 1] "Character used to draw vertical table lines." character shr-table-corner #[0 "\300\207" [32] 1] "Character used to draw table corners." shr-hr-line #[0 "\300\207" [45] 1] "Character used to draw hr lines." shr-width #[0 "\300\207" [nil] 1] "Frame width to use for rendering.\nMay either be an integer specifying a fixed width in characters,\nor nil, meaning that the full width of the window should be used.\nIf `shr-use-fonts' is set, the mean character width is used to\ncompute the pixel width, which is used instead." (choice (integer :tag "Fixed width in characters") (const :tag "Use the width of the window" nil)) shr-bullet #[0 "\300\207" [#1="* "] 1 #1#] "Bullet used for unordered lists.\nAlternative suggestions are:\n- \" \"\n- \" \"" "24.4" string shr-external-browser #[0 "\300\207" [browse-url-default-browser] 1] "Function used to launch an external browser." shr-image-animate #[0 "\300\207" [t] 1] "Non nil means that images that can be animated will be."] 10)
#@157 If bound, this should be a function that will return the content.
This is used for cid: URLs, and the function is called with the
cid: URL as the argument.
(defvar shr-content-function nil (#$ . 3206))
#@46 Function called to put image and alt string.
(defvar shr-put-image-function 'shr-put-image (#$ . 3414))
(byte-code "\300\301\302\303\304\305%\210\300\306\307\310\304\305%\207" [custom-declare-face shr-strike-through ((t (:strike-through t))) "Font for <s> elements." :group shr shr-link ((t (:inherit link))) "Font for link elements."] 6)
#@37 If non-nil, inhibit loading images.
(defvar shr-inhibit-images nil (#$ . 3759))
#@208 Alist of tag/function pairs used to alter how shr renders certain tags.
For instance, eww uses this to alter rendering of title, forms
and other things:
((title . eww-tag-title)
(form . eww-tag-form)
...)
(defvar shr-external-rendering-functions nil (#$ . 3846))
(defvar shr-folding-mode nil)
(defvar shr-start nil)
(defvar shr-indentation 0)
(defvar shr-internal-width nil)
(defvar shr-list-mode nil)
(defvar shr-content-cache nil)
(defvar shr-kinsoku-shorten nil)
(defvar shr-table-depth 0)
(defvar shr-stylesheet nil)
(defvar shr-base nil)
(defvar shr-depth 0)
(defvar shr-warning nil)
(defvar shr-ignore-cache nil)
(defvar shr-target-id nil)
(defvar shr-table-separator-length 1)
(defvar shr-table-separator-pixel-width 0)
(defvar shr-table-id nil)
(defvar shr-current-font nil)
(defvar shr-internal-bullet nil)
(defvar shr-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\323#\210\301\325\317#\210\301\326\327#\210\301\330\317#\210\211\207" [make-sparse-keymap define-key "a" shr-show-alt-text "i" shr-browse-image "z" shr-zoom-image [9] shr-next-link [134217737] shr-previous-link [follow-link] mouse-face [mouse-2] shr-browse-url "I" shr-insert-image "w" shr-maybe-probe-and-copy-url "u" "v" "O" shr-save-contents "
"] 5))
(defvar shr-image-map (byte-code "\302!\303\301!\203 \304 \"\210\211\207" [shr-map image-map copy-keymap boundp set-keymap-parent] 4))
#@64 Display the HTML rendering of the current buffer.
(fn BUFFER)
(defalias 'shr-render-buffer #[257 "\300\301!\204\n \302\303!\210\304\305!\210\306 \210\307rq\210\301ed\")!\210eb\207" [fboundp libxml-parse-html-region error "This function requires Emacs to be compiled with libxml2" pop-to-buffer "*html*" erase-buffer shr-insert-document] 5 (#$ . 5369) (byte-code "pC\207" [] 1)])
#@98 Display the HTML rendering of the region between BEGIN and END.
(fn BEGIN END &optional BUFFER)
(defalias 'shr-render-region #[770 "\300\301!\204\n \302\303!\210r\211\206 pq\210\301\"|\210b\210\304!\262)\207" [fboundp libxml-parse-html-region error "This function requires Emacs to be compiled with libxml2" shr-insert-document] 6 (#$ . 5756) "r"])
#@75 Return non-nil if we know at least one of the fringes has non-zero width.
(defalias 'shr--have-one-fringe-p #[0 "\302\303!\205Y \304\305\203 \306\202 \307 \310=\203 \311\202 \312\313 !\206% \314\315\316 !\"*\314U?\206Y \310\305\203= \306\202> |