Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 0øªj©#ã@sFdZddlZddlmZGdd„dƒZGdd„dƒZGd d „d ƒZdS) aZ weasyprint.formatting_structure.targets --------------------------------------- Handle target-counter, target-counters and target-text. The TargetCollector is a structure providing required targets' counter_values and stuff needed to build pending targets later, when the layout of all targeted anchors has been done. éNé)ÚLOGGERc@seZdZdZddd„ZdS)ÚTargetLookupItemz‡Item controlling pending targets and page based target counters. Collected in the TargetCollector's ``target_lookup_items``. ÚpendingcCs"||_d|_i|_d|_i|_dS)N)ÚstateÚ target_boxÚparse_again_functionsÚpage_maker_indexÚcached_page_counter_values)Úselfr©r úd|_|jj||f|ƒ|jdkrTtj d|ƒ|S)zîGet a TargetLookupItem corresponding to ``anchor_token``. If it is already filled by a previous anchor-element, the status is 'up-to-date'. Otherwise, it is 'pending', we must parse the whole tree again. Z undefinedrTz7Content discarded: target points to undefined anchor %r) r"rr%rrrrr'rÚerror)r r!Z source_boxÚ css_tokenrr(Úitemr r r Ú lookup_targetfs     zTargetCollector.lookup_targetcCs@|jj|ƒ}|r<|jdkr s