Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/pygments/lexers/__pycache__/ |
Upload File : |
o ���a�| � @ s d Z ddlZddlZddlmZmZmZmZmZm Z m Z ddlmZm Z mZmZmZmZmZmZmZ g d�ZdZdZdZd Zd ZdZdZd ZdZdZdZ ee e e e Z!G dd� de�Z"defdej#fdej$dfdej%fe ed dd�ej&fe edd�ej'fe ddd�ej(fdej)fdej*fdej+fde j,d fd!e j-fd"ej.fd#eej/ej0�fd$eej1ej0�fd%ej2d&fd'efd(efd)ej3d*fd+ej-d,fd-efgd.ej2d/fed0�gdefd1ej4d2fd3ej5d4fd5ej6d6fd7ej7fd%ej2d&fd8efd9efd)ej3d*fd+ej-d,fg d:ej3fd%ej2d&fd)ej3d/fgd;ej-fd%ej2d&fd+ej-d/fgd<ej$fd%ej2d&fd=ej$d/fgd7ej4fd%ej2d&fed/�gd7ej5fd%ej2d&fed/�gd7ej6fd%ej2d&fed/�gd>ej+fed0�gd?� Z8d@dA� Z9dBdC� Z:G dDdE� dEe�Z;G dFdG� dGe�Z<G dHdI� dIe"�Z=dS )Jz� pygments.lexers.css ~~~~~~~~~~~~~~~~~~~ Lexers for CSS and related stylesheet formats. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�ExtendedRegexLexer� RegexLexer�include�bygroups�default�words�inherit) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation� Whitespace)�CssLexer� SassLexer� ScssLexer�LessCssLexer)z-ms-zmso-z-moz-z-o-z-xv-z-atsc-z-wap-z-khtml-z-webkit-zprince-z-ah-z-hp-z-ro-z-rim-z-tc-(r z align-contentzalign-itemsz align-selfzalignment-baseline�all� animationzanimation-delayzanimation-directionzanimation-durationzanimation-fill-modezanimation-iteration-countzanimation-namezanimation-play-statezanimation-timing-function� appearance�azimuthzbackface-visibility� backgroundzbackground-attachmentzbackground-blend-modezbackground-clipzbackground-colorzbackground-imagezbackground-originzbackground-positionzbackground-repeatzbackground-sizezbaseline-shiftzbookmark-labelzbookmark-levelzbookmark-state�borderz border-bottomzborder-bottom-colorzborder-bottom-left-radiuszborder-bottom-right-radiuszborder-bottom-stylezborder-bottom-widthzborder-boundaryzborder-collapsezborder-colorzborder-imagezborder-image-outsetzborder-image-repeatzborder-image-slicezborder-image-sourcezborder-image-widthzborder-leftzborder-left-colorzborder-left-stylezborder-left-widthz border-radiuszborder-rightzborder-right-colorzborder-right-stylezborder-right-widthzborder-spacingzborder-stylez border-topzborder-top-colorzborder-top-left-radiuszborder-top-right-radiuszborder-top-stylezborder-top-widthzborder-width�bottomzbox-decoration-breakz box-shadowz box-sizingzbox-snapzbox-suppresszbreak-afterzbreak-beforezbreak-insidezcaption-side�caretzcaret-animationzcaret-colorzcaret-shape�chains�clear�clipz clip-pathz clip-rule�colorzcolor-interpolation-filterszcolumn-countzcolumn-fillz column-gapzcolumn-rulezcolumn-rule-colorzcolumn-rule-stylezcolumn-rule-widthzcolumn-spanzcolumn-width�columns�contentzcounter-incrementz counter-resetzcounter-set�crop�cuez cue-afterz cue-before�cursor� direction�displayzdominant-baseline� elevationzempty-cells�filter�flexz flex-basiszflex-directionz flex-flowz flex-growzflex-shrinkz flex-wrap�floatzfloat-deferzfloat-offsetzfloat-referencezflood-colorz flood-opacity�flowz flow-fromz flow-into�fontzfont-familyzfont-feature-settingszfont-kerningzfont-language-overridez font-sizezfont-size-adjustzfont-stretchz font-stylezfont-synthesiszfont-variantzfont-variant-alternateszfont-variant-capszfont-variant-east-asianzfont-variant-ligatureszfont-variant-numericzfont-variant-positionzfont-weightzfootnote-displayzfootnote-policyzglyph-orientation-vertical�gridz grid-areazgrid-auto-columnszgrid-auto-flowzgrid-auto-rowszgrid-columnzgrid-column-endzgrid-column-gapzgrid-column-startzgrid-gapzgrid-rowzgrid-row-endzgrid-row-gapzgrid-row-startz grid-templatezgrid-template-areaszgrid-template-columnszgrid-template-rowszhanging-punctuation�heightzhyphenate-characterzhyphenate-limit-charszhyphenate-limit-lastzhyphenate-limit-lineszhyphenate-limit-zone�hyphenszimage-orientationzimage-resolutionzinitial-letterzinitial-letter-alignzinitial-letter-wrap� isolationzjustify-contentz justify-itemszjustify-self�leftzletter-spacingzlighting-colorz line-breakz line-gridzline-heightz line-snapz list-stylezlist-style-imagezlist-style-positionzlist-style-type�marginz margin-bottomzmargin-leftzmargin-rightz margin-topzmarker-sidezmarquee-directionzmarquee-loopz marquee-speedz marquee-style�maskzmask-borderzmask-border-modezmask-border-outsetzmask-border-repeatzmask-border-slicezmask-border-sourcezmask-border-widthz mask-clipzmask-compositez mask-imagez mask-modezmask-originz mask-positionzmask-repeatz mask-sizez mask-typez max-heightz max-linesz max-widthz min-heightz min-widthzmix-blend-mode�motionz motion-offsetzmotion-pathzmotion-rotationzmove-toznav-downznav-leftz nav-rightznav-upz object-fitzobject-positionzoffset-afterz offset-beforez offset-endzoffset-start�opacity�order�orphans�outlinez outline-colorzoutline-offsetz outline-stylez outline-width�overflowzoverflow-stylez overflow-wrapz overflow-xz overflow-y�paddingzpadding-bottomzpadding-leftz padding-rightzpadding-top�pagezpage-break-afterzpage-break-beforezpage-break-insidezpage-policy�pausezpause-afterzpause-before�perspectivezperspective-origin�pitchzpitch-rangezplay-duringzpolar-anglezpolar-distance�positionzpresentation-level�quoteszregion-fragment�resize�restz rest-afterzrest-before�richness�right�rotationzrotation-pointz ruby-alignz ruby-mergez ruby-position�runningzscroll-snap-coordinatezscroll-snap-destinationzscroll-snap-points-xzscroll-snap-points-yzscroll-snap-typezshape-image-thresholdzshape-insidezshape-marginz shape-outside�size�speakzspeak-aszspeak-headerz speak-numeralzspeak-punctuationzspeech-rate�stressz string-setztab-sizeztable-layoutz text-alignztext-align-lastztext-combine-uprightztext-decorationztext-decoration-colorztext-decoration-lineztext-decoration-skipztext-decoration-stylez text-emphasisztext-emphasis-colorztext-emphasis-positionztext-emphasis-styleztext-indentztext-justifyztext-orientationz text-overflowztext-shadowztext-space-collapseztext-space-trimztext-spacingztext-transformztext-underline-positionz text-wrap�top� transformztransform-originztransform-style� transitionztransition-delayztransition-durationztransition-propertyztransition-timing-functionzunicode-bidizuser-selectzvertical-align� visibilityz voice-balancezvoice-durationzvoice-familyzvoice-pitchzvoice-rangez voice-ratezvoice-stresszvoice-volume�volumezwhite-space�widows�widthzwill-changez word-breakzword-spacingz word-wrapz wrap-afterzwrap-beforez wrap-flowzwrap-insidezwrap-throughzwriting-modezz-index(+ �absolute�aliasr zall-petite-capsz all-scrollzall-small-capsz allow-end�alpha� alternatezalternate-reverse�always�armenian�auto�avoidzavoid-columnz avoid-page� backwards�balance�baseline�below�blink�block�bold�bolderz border-box�bothr zbox-decorationz break-word� capitalize�cell�center�circler �clone�close-quotez col-resize�collapser! z color-burnzcolor-dodge�columnzcolumn-reverse�compact� condensed�contain� containerzcontent-boxzcontext-menu�copy�coverzcrisp-edges� crosshair�currentColor�cursive�darken�dashed�decimal�decimal-leading-zeror �descendants� difference�digits�disc� distribute�dot�dotted�doublez double-circle�e-resizez each-line�easezease-inzease-in-outzease-out�edges�ellipsis�endz ew-resize� exclusion�expanded�extra-condensed�extra-expanded�fantasy�fillzfill-box�filled�first�fixed�flatr+ zflex-endz flex-start�flipz force-end�forwardsz from-imagez full-width�geometricPrecision�georgian�groove�hangingz hard-light�help�hidden�hide� horizontal�hue�icon�infiniter �initial�ink�inlinezinline-blockzinline-flex�inline-table�inset�insidez inter-word�invert�isolate�italic�justify�large�larger�lastr3 �lighten�lighter�line-through�linear� list-item�local�loose�lower-alpha�lower-greekzlower-latin�lower-roman� lowercase�ltr� luminance� luminosity� mandatory�manipulation�manualz margin-boxzmatch-parent�medium�mixed� monospace�move�multiply�n-resize� ne-resizeznesw-resize�no-close-quotezno-drop� no-open-quote� no-repeat�none�normalznot-allowed�nowrapz ns-resize� nw-resizeznwse-resize�objects�oblique�off�on�open� open-quote�optimizeLegibility� optimizeSpeed�outset�outside�over�overlay�overlinezpadding-boxr= zpan-downzpan-leftz pan-rightzpan-upzpan-xzpan-y�pausedzpetite-caps� pixelated�pointerzpreserve-3d�progress� proximity�relative�repeatzrepeat no-repeat�repeat-x�repeat-y�reverse�ridgerF �round�rowz row-resizezrow-reverse�rtl�rubyz ruby-basezruby-base-containerz ruby-textzruby-text-containerzrun-inrH �s-resize� sans-serif� saturationz scale-down�screen�scroll� se-resize�semi-condensed� semi-expanded�separate�serif�sesame�show�sidewaysz sideways-leftzsideways-right�slice�small� small-caps�smaller�smooth�snapz soft-light�solid�spacezspace-aroundz space-between�spaces�square�start�staticzstep-endz step-start�sticky�stretch�strictz stroke-box�style� sw-resize�table� table-caption� table-cell�table-column�table-column-group�table-footer-group�table-header-group� table-row�table-row-group�text�thick�thinztitling-caps�torL �triangle�ultra-condensed�ultra-expanded�under� underline�unicase�unset�upper-alpha�upper-latin�upper-roman� uppercase�uprightzuse-glyph-orientation�verticalz vertical-textzview-box�visible�w-resize�wait�wavy�weightzweight style�wrapzwrap-reverse�x-large�x-small�xx-large�xx-smallzzoom-inzzoom-out)�� aliceblue�antiquewhite�aqua� aquamarine�azure�beige�bisque�black�blanchedalmond�blue� blueviolet�brown� burlywood� cadetblue� chartreuse� chocolate�coral�cornflowerblue�cornsilk�crimson�cyan�darkblue�darkcyan� darkgoldenrod�darkgray� darkgreen�darkgrey� darkkhaki�darkmagenta�darkolivegreen� darkorange� darkorchid�darkred� darksalmon�darkseagreen� darkslateblue� darkslategray� darkslategrey� darkturquoise� darkviolet�deeppink�deepskyblue�dimgray�dimgrey� dodgerblue� firebrick�floralwhite�forestgreen�fuchsia� gainsboro� ghostwhite�gold� goldenrod�gray�green�greenyellow�grey�honeydew�hotpink� indianred�indigo�ivory�khaki�lavender� lavenderblush� lawngreen�lemonchiffon� lightblue� lightcoral� lightcyan�lightgoldenrodyellow� lightgray� lightgreen� lightgrey� lightpink�lightsalmon� lightseagreen�lightskyblue�lightslategray�lightslategrey�lightsteelblue�lightyellow�lime� limegreen�linen�magenta�maroon�mediumaquamarine� mediumblue�mediumorchid�mediumpurple�mediumseagreen�mediumslateblue�mediumspringgreen�mediumturquoise�mediumvioletred�midnightblue� mintcream� mistyrose�moccasin�navajowhite�navy�oldlace�olive� olivedrab�orange� orangered�orchid� palegoldenrod� palegreen� paleturquoise� palevioletred� papayawhip� peachpuff�peru�pink�plum� powderblue�purple� rebeccapurple�red� rosybrown� royalblue�saddlebrown�salmon� sandybrown�seagreen�seashell�sienna�silver�skyblue� slateblue� slategray� slategrey�snow�springgreen� steelblue�tan�teal�thistle�tomato� turquoise�violet�wheat�white� whitesmoke�yellow�yellowgreen�transparent)9�above�aural�behind� bidi-override�center-left�center-right�cjk-ideographic� continuousr$ �cross�embed�far-left� far-right�fast�faster�hebrew�high�higher�hiragana�hiragana-iroha�katakana�katakana-iroha� landscape� left-side� leftwards�level�loud�low�lower�message-box�middle�mix�narrower�once�portrait� right-side� rightwards�silent�slow�slower� small-caption�soft� spell-out� status-bar�super�text-bottom�text-top�wider�x-fast�x-high�x-loud�x-low�x-soft�yes�prezpre-wrapzpre-line)?�attr� blackness�blend�blenda�blur� brightness�calcrg z color-mod�contrast�counterzcubic-bezierzdevice-cmykzdrop-shadow�ellipser\ � grayscale�hsl�hslar� z hue-rotate�hwb�imager� r� � lightnesszlinear-gradient�matrix�matrix3dr7 r? �polygonzradial-gradient�rectzrepeating-linear-gradientzrepeating-radial-gradient�rgb�rgba�rotate�rotate3d�rotateX�rotateY�rotateZ�saturater� �scale�scale3d�scaleX�scaleY�scaleZ�sepia�shade�skewX�skewY�steps�tint�toggle� translate�translate3d� translateX� translateY� translateZ� whiteness)�deg�grad�rad�turn)�Hz�kHz)�em�ex�ch�rem�vh�vw�vmin�vmax�px�mm�cm�in�pt�pc�q)�dpi�dpcm�dppx)�s�msc @ s8 e Zd ZdZdZdgZdgZdgZed�gde fde fd ed fdeee j�fdeee j�fd eee j�fdeee�dfde jfdefdejfdejfgd edfdedfed�ged�dedfgde fdedfdefde jfee�ejfdd�e� d eee e�dfdee je e�dfdee e e�dfde fg de fee�e jjfed �dd�e� d! ee je�d"fd#ee j e�d"fee!d$d%�ej"fee#d$d%�ej"fee$d$d%�ej"feed$d%�efd&e jfde fed'�d(efd)efdejfdejfd*e fdedfdedfgde fd+e jfed �ee�ejfee!d$d%�ej"fee#d$d%�ej"fee$d$d%�ej"fdd�e� d! ee je�d"fd#ee j e�d"fde fed'�d,efd-efdejfdejfd.e fd/edfgd0ee jeeje�fd1ee jeeje�fd2ee jeej%e�fgd3e&j'fd4e&j(d5fd6e&j)d5fgee*d$d%�ej+fd7ej+fe,d�gd8� Z-d9S ):r z+ For CSS (Cascading Style Sheets). �CSS�cssz*.cssztext/css�basics�\s+z/\*(?:.|\n)*?\*/�\{r# z(\:{1,2})([\w-]+)z(\.)([\w-]+)z(\#)([\w-]+)z(@)([\w-]+)�atrule�[\w-]+z[~^*!%&$\[\]()<>|+=@:;,./?-]z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*'� atcontent�;�#pop�\}z#pop:2z^@.*?$�(�|z )(\s*)(\:)�value-startz([-]+[a-zA-Z_][\w-]*)(\s*)(\:)z([a-zA-Z_][\w-]*)(\s*)(\:)�urlsz)(\()�function-startz([a-zA-Z_][\w-]+)(\()�\b��suffixz\!important�numeric-valuesz[~^*!%&<>|+=@:./?-]+z [\[\](),]+z[a-zA-Z_][\w-]*z[-]+([\w+]+[-]*)+z[*+/-]�,z [a-zA-Z_-]\w*�\)z(url)(\()(".*?")(\))z(url)(\()('.*?')(\))z(url)(\()(.*?)(\))z\#[a-zA-Z0-9]{1,6}z[+\-]?[0-9]*[.][0-9]+�numeric-endz[+\-]?[0-9]+�%) �rootr< r? rA r# rG rI rH rM rP N).�__name__� __module__�__qualname__�__doc__�name�aliases� filenames� mimetypesr r r r r r � Decorator�Class� Namespacer �Tagr r �Double�Single�Preprocr �_vendor_prefixes�Pseudo�join�_css_properties�Variable�Builtin�#_functional_notation_keyword_values�Function�_keyword_values�Constant�_other_keyword_values�_color_keywords�Otherr �Hex�Float�Integer� _all_units�Typer �tokens� ru ru �5/usr/lib/python3/dist-packages/pygments/lexers/css.pyr s� �������������� � � �� �� �r �[ \t]+z [!$][\w-]+zurl\(� string-urlz[a-z_-][\w-]*(?=\())�r� rS rW rX r� rY rZ r] r� r^ r� r_ r` ra rb rc rd r� r� rf rg r� ri rj rm r� rr r� rt rv rx rw r r{ r| r r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r. r� r� r� r� r r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r� r r r r r r r r r r r� r� r r r� r r r r r r r �urlr r r r� r� r� r# r� r� r$ r� r% r& r� rJ rK )r. r� r\ r� r} r� r� rW r] ry r� r� r� r0 r� r) z\!(important|default)z(true|false)z(and|or|not)z/\*�inline-comment�//[^\n]*z\#[a-z0-9]{1,6}z(-?\d+)(\%|[a-z]+)?z(-?\d*\.\d+)(\%|[a-z]+)?�#\{� interpolationz[~^*!&%<>|+=@:,./?-]+z [\[\]()]+�"� string-double�'� string-singlez [a-z_-][\w-]*rD rC �valuez\:�pseudo-classz\.�classz\#�idr@ �&z[~^*!&\[\]()<>|+=@:;,./?-]z(\\.|#(?=[^\n{])|[^\n"#])+z(\\.|#(?=[^\n{])|[^\n'#])+z(\\#|#(?=[^\n{])|[^\n#)])+rO z(from|to|through)) r� r} �selectorr r� rx r� r� r� �forc c s� � |� d�}|�� t|fV ||_|�� |_t|d�r2|jr2|�|j �r2||j kr2|j �|j� d S d |_d |_ |j �d� d S )Nr �block_stater# )�groupr� r �last_indentationr� �pos�hasattrr� � startswith�block_indentation�stack�append)�lexer�match�ctx�indentationru ru rv �_indentation� s � � r� c s � �fdd�}|S )Nc 3 sF � |� � �|�d�fV t|d�r|j|_nd|_� |_|�� |_d S )Nr r� � )r� r� r� r� r� r� r� r� )r� r� r� ��state�tokenru rv �callback s � z_starts_block.<locals>.callbackru )r� r� r� ru r� rv � _starts_block s r� c @ s� e Zd ZdZdZdgZdgZdgZej ej B Zdefde fgdeejd �d fdeejd�d fd edfdedfdedfdeeeej�dfdeeeej�dfdedfdedfdejdfdejdfdeeje�dfdejdfdejdfed�gdejfd ed fgdejfd ed fgd!efd"efd ed fgd#ejfd$ejd%fd&eee�dfed�gd#ejfd$ejd%fd'eee�dfgd(ejfd$ejd%fd)ed*fgd+�Ze�� D ]\Z Z!e"�"e!�ee <