text stringlengths 1 22.8M |
|---|
Prince Laurent of Belgium (, ; born 19 October 1963) is the second son and youngest child of King Albert II and Queen Paola, and younger brother of King Philippe. Laurent's involvement with animal welfare and the environment, together with a relative lack of interest in protocol, has caused him to be dubbed by elements of the popular Belgian press as (the eco-blunderer). Currently, he is 13th in the Belgian line of succession. He had been as high as third in line, but the constitution was amended in 1991 to extend an equal right of succession to women, putting him behind his sister, Princess Astrid, and her descendants.
Early life and education
Born in the near Laeken, Belgium, he was educated at the Royal Cadet High School and at the Royal Military Academy.
Marriage and children
Prince Laurent and Claire Louise Coombs were married in Brussels on 12 April 2003. Coombs was also given the title of Princess of Belgium upon her marriage. The couple have three children:
Princess Louise (born 6 February 2004),
Prince Nicolas (born 13 December 2005, twin with Aymeric)
Prince Aymeric (born 13 December 2005, twin with Nicholas).
The brothers are fifteenth and sixteenth line of succession to the throne. The family live in Villa Clementine, in Tervuren.
Prince Laurent is also a godfather to Princess Maria Carolina of Bourbon-Two Sicilies, the daughter of Prince Carlo, Duke of Castro, a current pretender to the former throne of Two Sicilies and his wife, Princess Camilla, Duchess of Castro.
Alleged corruption scandal
In December 2006, Prince Laurent's name surfaced in a corruption scandal in which funds of the Belgian Navy were spent on his residence (Villa Clémentine) in Tervuren. Although the investigating magistrates denied that Laurent was personally implicated, some of the accused have implicated the prince in the press.
On 5 January 2007, it became known that King Albert II had signed a royal decree, making it possible for Laurent to be called up as a witness in the corruption trial which was to start 8 January. One of the defendants immediately used this to subpoena the prince. During the evening of 8 January, Prince Laurent was interrogated by federal police, appearing in court the following day where he testified at the trial that he had no reason to believe the funding of his renovations could be illegal.
Media reports in March 2007 suggested that Laurent was no longer welcome at the Royal Palace, possibly due to his role in the corruption scandal.
In March 2011, the prince visited the former Belgian colony of the Congo without receiving the required permission; the reported purpose of the visit was to promote awareness of deforestation. As a result, on 9 April he accepted conditions laid down by Belgian Prime Minister Yves Leterme regarding his future activities; had he not done so, the matter of his annual appanage would have been in question.
Health
In March 2014, Prince Laurent was hospitalised with pneumonia and depression. He was voluntarily placed in a medically-induced coma on March 25, and was awakened on 27 March. On 4 April, Queen Paola stated in a letter that Laurent's condition was improving, and that she felt he was 'the most vulnerable' of her three children.
Titles, styles and honours
His Royal Highness Prince Laurent of Belgium
Prince Laurent does not hold a personal title as younger princes were previously accustomed to receive in the past (such as Count of Flanders or Prince of Liège).
Honours
National
:
Grand Cordon of the Order of Leopold
Foreign
:
Grand Cross 1st Class of the Order of Merit of the Federal Republic of Germany
:
Grand Cross of the Order of Merit of the Republic of Hungary
Sovereign Military Order of Malta:
Knight Grand Cross of Honour and Devotion of the Sovereign Military Order of Malta
:
Knight Grand Cross of the Order of Adolphe of Nassau
:
Knight Grand Cross of the Order of the Crown
:
Knight Grand Cross of the Order of Merit
:
Grand Cross of the Order of Prince Henry
:
Knight Grand Cross of the Order of Civil Merit
:
Knight Grand Cross of the Royal Order of the Polar Star
Dynastic orders
Two Sicilian Royal Family:
Knight Grand Cross of Justice of the Two Sicilian Royal Sacred Military Constantinian Order of Saint George
Military ranks
Source : www.monarchie.be, Prince Laurent
Arms
References
External links
Official biography from the Belgian Royal Family website
|-
1963 births
Living people
Royal Military Academy (Belgium) alumni
Members of the Senate (Belgium)
Belgian people of Italian descent
Belgian people of Swedish descent
Belgian Roman Catholics
Grand Crosses 1st class of the Order of Merit of the Federal Republic of Germany
Recipients of the Order of Merit of the Republic of Hungary
Grand Crosses of the Order of Merit of the Republic of Hungary (military)
Knights of Malta
Recipients of the Order of the Crown (Netherlands)
Grand Crosses of the Order of the Crown (Netherlands)
Recipients of the Order of Prince Henry
Grand Crosses of the Order of Prince Henry
Order of Civil Merit members
Grand Cross of the Order of Civil Merit
Commanders Grand Cross of the Order of the Polar Star
House of Belgium
People from Laeken
Political controversies in Belgium
Princes of Saxe-Coburg and Gotha
Sons of kings
Royal scandals in Belgium |
Ligue contre le racisme et l'antisémitisme et Union des étudiants juifs de France c. Yahoo! Inc. et Société Yahoo! France (LICRA c. Yahoo!) is a French court case decided by the Tribunal de grande instance of Paris in 2000. The case concerned the sale of memorabilia from the Nazi period by Internet auction and the application of national laws to the Internet. Some observers have claimed that the judgement creates a universal competence for French courts to decide Internet cases.
A related case before the United States courts concerning the enforcement of the French judgement reached the 9th US Circuit Court of Appeals, where a majority of the judges ruled to dismiss Yahoo!'s appeal.
Criminal proceedings were also brought in the French courts against Yahoo!, Inc. and its then president Timothy Koogle; the defendants were acquitted on all charges, a verdict that was upheld on appeal.
The civil case in France
LICRA complained that Yahoo! were allowing their online auction service to be used for the sale of memorabilia from the Nazi period, contrary to Article R645-1 of the French Criminal Code. These facts were not contested during the case.
The defense rested on the fact that these auctions were conducted under the jurisdiction of the United States. It was claimed that there were no technical means to prevent French residents from participating in these auctions, at least without placing the company in financial difficulty and compromising the existence of the Internet.
The defendants noted
that their servers were located on US territory,
that their services were primarily aimed at US residents,
that the First Amendment to the United States Constitution guarantees freedom of speech and expression, and that any attempt to enforce a judgment in the United States would fail for unconstitutionality.
As such, they contended that the French court was incompetent to hear the case.
Article R645-1
Article R645-1 of the French Criminal Code prohibits to "wear or exhibit" in public uniforms, insignias and emblems which "recall those used" by
an organisation declared illegal in application of Art. 9 of the Nuremberg Charter, or by
a person found guilty of crimes against humanity as defined by Arts. L211-1 to L212-3 or by the Law № 64-1326 of 1964-12-26.
Display is allowed for the purposes of films, theatrical productions and historical exhibitions.
The penalty is a fifth class fine (up to 1,500 EUR), to which can be added one or more complementary penalties among:
withdrawal of the right to possess or hold any regulated weapon for up to three years;
confiscation of one or more regulated weapon either possessed by the convict or to which he has a free access;
confiscation of the objects concerned;
from 20 to 120 hours of community service.
The judgment
An interim judgment of May 22, 2000 confirmed the illegal nature of the sale under French law and appointed experts to advise the court as to what technical measures might be taken to prevent a repeat of the offense. The team of experts reported on November 6, and the court rendered an injunction against the defendants on November 10. Tribunal de grande instance (T.G.I.) (ordinary court of original jurisdiction) Paris, May 22, 2000 and November 22, 2000, No RG:00/0538 had given the judgment.
Competence of the French court
The court ruled that there were sufficient links with France to give it full jurisdiction to hear the complaint. In particular:
the auctions of Nazi memorabilia were open to bidders from any country, including France;
the display of such objects, and the viewing of such objects in France, caused a public nuisance and was forbidden under French criminal law;
Yahoo! Inc. was aware that French residents used its auction site, as it displayed French-language advertisements on its pages when they were accessed from computers in France.
This last point was also referred to in the injunction against Yahoo! Inc. The court specifically dismissed the claim that the alleged problems of enforcing a judgment were sufficient to nullify its competence.
Société Yahoo! France
Société Yahoo! France had been ordered on May 22, 2000 to warn its users that they may breach French law if they followed links from its site to sites operated by Yahoo! Inc. The court acknowledged that this order had been substantially complied with "in letter and in spirit". It refused a request from the plaintiffs to order Yahoo! France to remove links to the American sites, but reiterated that a warning must be given to users before they activated such links.
Yahoo! Inc.
Yahoo! Inc. had been ordered on May 22, 2000 to take all appropriate measures to deter and prevent access to auctions of Nazi memorabilia on its site by French residents. Yahoo! contended that it was impossible to comply with this order.
The report of the court-appointed experts noted that, as of 2000, roughly 70% of French Internet users could be identified as such by the use of DNS databases.
The court ruled that Yahoo! Inc. must comply with the original injunction within three months or face a fine of one hundred thousand (100,000) francs (15,244.90 EUR) per day.
Proceedings in the United States
On January 10, 2001 Yahoo! announced that it would not appeal against the ruling in France.
It decided to take the case before the United States District Court for the Northern District of California in San Jose, asking it to find that the French ordinance is not effective in the United States. Judge Jeremy Fogel found the decision returned by the Tribunal de grande instance de Paris to be inconsistent with the First Amendment to the Constitution of the United States, relating to freedom of expression, and that consequently it is inapplicable in the United States.
The LICRA and the UEJF appealed the decision before the U.S. Court of Appeals for the Ninth Circuit. On August 23, 2004, the Ninth Circuit reversed the earlier holding, after finding that the district court did not have personal jurisdiction over the appellants, namely LICRA and UEJF. The court quoted the following criteria for the establishment of personal jurisdiction as stated in an earlier Ninth Circuit case, Bancroft & Masters, Inc. v. Augusta National Inc.:
The majority then concluded that:
There was one dissenting opinion, written by Judge Melvin Brunetti, who argued that "a defendant's intentional targeting of his actions at the plaintiff in the forum state", which he viewed the French charges and fines as constituting, sufficed to give jurisdiction to the forum state, the United States, under the Supreme Court's "express aiming" precedent.
The case created a media response and sparked a backlash of controversy in the United States, where many saw it as the censoring of a United States publication by a foreign power. Although technically the decision only required Yahoo! to prevent the sale of Nazi objects to people in France, Yahoo! has since chosen to remove the sale of Nazi memorabilia from its site entirely.
Yahoo! Inc. v. La Ligue Contre Le Racisme et l'antisémitisme (LICRA)
On 12 January 2006, the same court delivered an en banc judgment reversing the judgment of the district court and remanded the case with directions to dismiss the action. The majority was split on whether to remand on ripeness or personal jurisdiction grounds. Judge William Fletcher noted that:
Yahoo! is necessarily arguing that it has a First Amendment right to violate French criminal law and to facilitate the violation of French criminal law by others. [...] the extent — indeed the very existence — of such an extraterritorial right under the First Amendment is uncertain.
On 30 May 2006 the Supreme Court of the United States denied certiorari.
References
External links
Collection of articles concerning the case
Tech Law Journal: 9th Circuit Reverses in Yahoo! v. LICRA
French case law
United States Free Speech Clause case law
United States Internet case law
Yahoo! litigation
2000 in France
United States Court of Appeals for the Ninth Circuit cases
Nazism
E-commerce in France
2000 in case law |
Feng Tian (, born February 12, 1992), also known as Win Feng, is a Japanese actor, singer and model. He is a member of the Taiwanese boyband SpeXial since 2015. His real name is .
Biography
Tian was born in Aomori Prefecture, Japan on February 12, 1992. He began his career as a model and participated in many international fashion shows. In the second half of 2014, he joined the Taiwanese boy band SpeXial alongside two other new members. He debuted in SpeXial under the English name of "Win" on January 13, 2015. In the group, he performs as vocalist.
As an actor, he is best known for his roles in web series like Men with Sword, KO One Re-member and KO One Re-call.
Filmography
Television
Web series
Movies
References
External links
Official web site
1992 births
Living people
Taiwanese male television actors
21st-century Taiwanese male actors
21st-century Taiwanese male singers
Taiwanese pop singers
Taiwanese idols
Japanese expatriates in Taiwan |
Robert Welles, 8th Baron Willoughby de Eresby and 8th Baron Welles (died 19 March 1470), was the son of Richard Welles, 7th Baron Welles, and Joan Willoughby, 7th Baroness Willoughby de Eresby. He was the prime mover in an uprising against Edward IV in 1470, although his actions were possibly orchestrated by Richard Neville, 16th Earl of Warwick.
Family
Robert Welles was the only son of Richard Welles, 7th Baron Welles, and Joan Willoughby, in her own right Lady Willoughby, the only daughter and heiress of Robert Willoughby, 6th Baron Willoughby de Eresby, by his first wife, Elizabeth Montagu, daughter of John Montagu, 3rd Earl of Salisbury. He had an only sister, Joan Welles, 9th Baroness Willoughby de Eresby, who married Sir Richard Hastings.
Career
Welles was ordered to be arrested with his mother on 11 May 1461. He was a Justice of the Peace for Lincolnshire from 4 February 1467.
By 1470 discontent with Edward IV's rule had already led to open rebellion under Robin of Redesdale, resulting in the deaths of several senior Yorkists. The King pardoned the rebels, but there was continuing unrest in Lincolnshire. Historian Richard W. Kaeuper argues that the promotion of "parvenu Yorkist loyalists" in the area, and the King's toleration of their violent behaviour and defiance of the law provoked Sir Robert Welles and his father, Richard Welles, 7th Baron Welles, into resistance to the regime. Sir Robert Welles issued a series of proclamations throughout Lincolnshire, calling on men to resist the King who, he claimed, was coming to punish local people for supporting the earlier rebellion of Robin of Redesdale, in breach of the pardon he had given.
In February 1470 Sir Robert Welles attacked Gainsborough Old Hall, the house of Sir Thomas Burgh, Edward IV's Master of Horse. This incident is thought by some historians to have been a plot by Richard Neville, 16th Earl of Warwick, to provoke a reaction from Edward IV; however other historians consider it merely a 'private war'. The King summoned Sir Robert Welles' father, Lord Welles, and uncle, Sir Thomas Dymoke, to London to account for their actions. Both took sanctuary at Westminster Abbey, from which they were lured by the promise of a pardon, which was granted on 3 March 1470. By this time Sir Robert Welles had openly declared for Warwick and George, Duke of Clarence, and after pardoning Lord Welles and Dymoke, the King kept them under restraint while he marched north to personally suppress the Lincolnshire rebellion.
Sir Robert Welles assumed the style 'Captain of the Commons of Lincolnshire', and on 4 March 1470 mustered forces to resist the King. Warwick and Clarence sent letters to the King claiming they were raising armies to support him, hoping to use Sir Robert Welles to draw Edward into a trap by bringing their own armies up when the King pursued Welles. Welles pulled back his forces, but refused to lay down his arms, whereupon the King had Lord Welles and Dymoke executed at Queen's Cross in Stamford on 12 March 1470. Sir Robert Welles gave battle at Empingham at Losecoat Field, and was utterly defeated. He was captured, along with documents proving the complicity of Warwick and Clarence, who were forced to flee the country. Welles confessed his treason, naming Warwick and Clarence as the "partners and chief provokers" of the rebellion, and was beheaded on 19 March 1470 at Doncaster. On 25 April 1470, the King ordered the seizure of his lands.
After the executions of Sir Robert Welles, his only sister, Joan Welles, inherited, according to modern doctrine, the baronies of Willoughby and Welles.
Five years later, both Sir Robert Welles and his father were attainted. The Act of Attainder appears to have been passed by Parliament shortly after the death of Sir Robert Welles' only sister, Joan Welles, and according to some historians, its purpose was to enable Edward IV to grant Joan Welles' lands, after her death, to her former husband, 'the trusted Yorkist Sir Richard Hastings', Accordingly, on 23 January 1475, the King granted Hastings a life interest in the greater part of the Welles and Willoughby estates. Moreover, Hastings was summoned to Parliament from 14 November 1482 to 9 December 1483 by writs directed Ricardo Hastyng de Wellys, whereby he is held to have become either Lord Hastings of Welles, or Lord Welles.
Under Henry VII, the attainders of Sir Robert Welles and his father, as well as the attainder of Sir Robert Welles' uncle of the half blood, John Welles, were all reversed by the Parliament of 1485/6. John Welles was still living, and with the reversal of his attainder became Lord Welles. Sir Richard Hastings was thus no longer recognized as Lord Welles. In compensation, however, it was enacted in the same year that Hastings should be entitled, for life, to all the lands which had belonged to Joan Welles' father. Having received this grant, until his death Hastings continued to be styled, and styled himself, Lord Willoughby, to the exclusion of Christopher Willoughby, 10th Baron Willoughby de Eresby, who should have inherited the title.
Marriage
Sir Robert Welles married Elizabeth Bourchier (d.1470), the daughter of John Bourchier, 1st Baron Berners, and Margery Berners, daughter and heiress of Richard Berners, esquire. She survived him by only a few months, and was buried by his side in the church of the Whitefriars in Doncaster. She left a will dated 2 October 1470.
Notes
References
1470 deaths
08
People executed under the Yorkists
English executions
People executed under the Plantagenets by decapitation
Year of birth unknown |
Prince Maximilian William Augustus Albert Charles Gregory Odo of Saxony, Duke of Saxony (; 17 November 1870 – 12 January 1951) was a member of the Albertine branch of the House of Wettin and a Catholic priest.
Early life
Maximilian Wilhelm August Albert Karl Gregor Odo of Saxony was born in Dresden, capital of the Kingdom of Saxony, the seventh of the eight children of Prince George of Saxony and his wife Infanta Maria Anna of Portugal. He was born with the titles Prince and Duke of Saxony, with the style Royal Highness. Amongst his siblings was the last Saxon king Frederick Augustus III and Princess Maria Josepha mother of the last Austrian Emperor Charles I.
Priesthood
On 26 July 1896, despite initial opposition from his family, Prince Maximilian decided to study for the priesthood and was subsequently ordained a priest. He renounced his claim to the throne of Saxony on entering the priesthood and also expressed a determination to refuse the apanage that he was entitled to from the Kingdom of Saxony.
Professor
In January 1899 Prince Maximilian graduated Doctor of Theology from the University of Würzburg. After working as a pastor at a church in Nuremberg, on 21 August 1900 Prince Maximilian accepted the post of Professor of Canon Law at the University of Fribourg.
In late 1910 Prince Maximilian caused controversy by publishing an article in an ecclesiastical periodical on the union of the Eastern and Roman churches. Prince Maximilian argued that the six dogmas should be waived in order to facilitate the return of the Eastern to the Catholic Church. Consequently, upon the article he went to see Pope Pius X to explain, and as a result of the meeting agreed to retract the article and signed a declaration acknowledging errors in it. It was announced that he had renewed his full and unconditional adhesion to the doctrines of the Catholic Church.
War
During the First World War Prince Maximilian served as an Army chaplain and in this capacity he attended to wounded soldiers, gave unction to the dying and said mass while under shell fire. He was liked by the French prisoners of war as he also dedicated himself to their welfare. He also used the international bureau in Geneva to send word to the families of the French prisoners.
Following the German Empire's defeat in the war his brother King Frederick Augustus III was forced to abdicate as the monarchy was abolished.
Death
Prince Maximilian died in Fribourg, Switzerland, as the last surviving grandchild of Queen Maria II and King Fernando II of Portugal, and last great-grandchild of Pedro IV of Portugal & I of Brazil.
Honours
: Knight of the Order of the Rue Crown
: Knight of the Order of the Black Eagle
: Knight of the House Order of Fidelity, 1908
: Knight of the Order of St. Hubert, 1898
: Grand Cross of the Order of the White Falcon, 1890
: Grand Cross of the Order of St. Stephen, 1891
Ancestry
References
External links
1870 births
1951 deaths
Saxon princes
House of Wettin
20th-century German Roman Catholic priests
Nobility from Dresden
University of Würzburg alumni
Albertine branch
Grand Crosses of the Order of Saint Stephen of Hungary
Sons of kings |
```scheme
(declare (block) (standard-bindings) (extended-bindings))
(begin
(define gerbil/compiler/optimize-spec::timestamp 1713631270)
(begin
(define gxc#::generate-method-specializers::t
(let ((__tmp177811 (list gxc#::identity::t))
(__tmp177810 (cons (cons 'final: '#t) '())))
(declare (not safe))
(__make-class-type
'gxc#::generate-method-specializers::t
'::generate-method-specializers
__tmp177811
'()
__tmp177810
'#f)))
(define gxc#::generate-method-specializers?
(let ()
(declare (not safe))
(__make-class-predicate gxc#::generate-method-specializers::t)))
(define gxc#make-::generate-method-specializers
(lambda _%$args176608%_
(apply make-instance
gxc#::generate-method-specializers::t
_%$args176608%_)))
(define gxc#::generate-method-specializers-bind-methods!
(let ((__tmp177812
(lambda ()
(force gxc#::identity-bind-methods!)
(let ()
(declare (not safe))
(bind-method!__0
gxc#::generate-method-specializers::t
'%#begin
gxc#xform-begin%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::generate-method-specializers::t
'%#begin-syntax
gxc#xform-begin-syntax%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::generate-method-specializers::t
'%#module
gxc#xform-module%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::generate-method-specializers::t
'%#define-values
gxc#generate-method-specializers-define-values%))
(let ()
(declare (not safe))
(__seal-class! gxc#::generate-method-specializers::t)))))
(declare (not safe))
(__make-promise __tmp177812)))
(define gxc#apply-generate-method-specializers
(lambda (_%stx176600%_)
(force gxc#::generate-method-specializers-bind-methods!)
(let* ((_%self176603%_
(let ((__obj177803
(let ()
(declare (not safe))
(##structure gxc#::generate-method-specializers::t))))
__obj177803))
(__tmp177813
(lambda ()
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self176603%_ _%stx176600%_)))))
(declare (not safe))
(__call-with-parameters
__tmp177813
gxc#current-compile-method
_%self176603%_))))
(define gxc#::extract-receiver::t
(let ((__tmp177815 (list gxc#::false::t))
(__tmp177814 (cons (cons 'final: '#t) '())))
(declare (not safe))
(__make-class-type
'gxc#::extract-receiver::t
'::extract-receiver
__tmp177815
'()
__tmp177814
'#f)))
(define gxc#::extract-receiver?
(let ()
(declare (not safe))
(__make-class-predicate gxc#::extract-receiver::t)))
(define gxc#make-::extract-receiver
(lambda _%$args176597%_
(apply make-instance gxc#::extract-receiver::t _%$args176597%_)))
(define gxc#::extract-receiver-bind-methods!
(let ((__tmp177816
(lambda ()
(force gxc#::false-bind-methods!)
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#begin
gxc#apply-last-begin%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#begin-annotation
gxc#extract-receiver-begin-annotation%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#let-values
gxc#apply-body-last-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#letrec-values
gxc#apply-body-last-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#letrec*-values
gxc#apply-body-last-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::extract-receiver::t
'%#if
gxc#extract-receiver-if%))
(let ()
(declare (not safe))
(__seal-class! gxc#::extract-receiver::t)))))
(declare (not safe))
(__make-promise __tmp177816)))
(define gxc#apply-extract-receiver
(lambda (_%stx176589%_)
(force gxc#::extract-receiver-bind-methods!)
(let* ((_%self176592%_
(let ((__obj177805
(let ()
(declare (not safe))
(##structure gxc#::extract-receiver::t))))
__obj177805))
(__tmp177817
(lambda ()
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self176592%_ _%stx176589%_)))))
(declare (not safe))
(__call-with-parameters
__tmp177817
gxc#current-compile-method
_%self176592%_))))
(define gxc#::collect-object-refs::t
(let ((__tmp177819 (list gxc#::void::t))
(__tmp177818 (cons (cons 'final: '#t) '())))
(declare (not safe))
(__make-class-type
'gxc#::collect-object-refs::t
'::collect-object-refs
__tmp177819
'(receiver methods slots)
__tmp177818
'#f)))
(define gxc#::collect-object-refs?
(let ()
(declare (not safe))
(__make-class-predicate gxc#::collect-object-refs::t)))
(define gxc#make-::collect-object-refs
(lambda _%$args176586%_
(apply make-instance gxc#::collect-object-refs::t _%$args176586%_)))
(define gxc#::collect-object-refs-receiver
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::collect-object-refs::t 'receiver)))
(define gxc#::collect-object-refs-methods
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::collect-object-refs::t 'methods)))
(define gxc#::collect-object-refs-slots
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::collect-object-refs::t 'slots)))
(define gxc#::collect-object-refs-receiver-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::collect-object-refs::t 'receiver)))
(define gxc#::collect-object-refs-methods-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::collect-object-refs::t 'methods)))
(define gxc#::collect-object-refs-slots-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::collect-object-refs::t 'slots)))
(define gxc#&::collect-object-refs-receiver
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::collect-object-refs::t
'receiver)))
(define gxc#&::collect-object-refs-methods
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::collect-object-refs::t
'methods)))
(define gxc#&::collect-object-refs-slots
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::collect-object-refs::t
'slots)))
(define gxc#&::collect-object-refs-receiver-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::collect-object-refs::t
'receiver)))
(define gxc#&::collect-object-refs-methods-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::collect-object-refs::t
'methods)))
(define gxc#&::collect-object-refs-slots-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::collect-object-refs::t
'slots)))
(define gxc#::collect-object-refs-bind-methods!
(let ((__tmp177820
(lambda ()
(force gxc#::void-bind-methods!)
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#begin
gxc#apply-begin%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#begin-annotation
gxc#apply-begin-annotation%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#lambda
gxc#apply-body-lambda%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#case-lambda
gxc#apply-body-case-lambda%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#let-values
gxc#apply-body-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#letrec-values
gxc#apply-body-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#letrec*-values
gxc#apply-body-let-values%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#call
gxc#collect-object-refs-call%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#if
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#set!
gxc#apply-body-setq%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-ref
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-set!
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-direct-ref
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-direct-set!
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-unchecked-ref
gxc#apply-operands))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::collect-object-refs::t
'%#struct-unchecked-set!
gxc#apply-operands))
(let ()
(declare (not safe))
(__seal-class! gxc#::collect-object-refs::t)))))
(declare (not safe))
(__make-promise __tmp177820)))
(define gxc#apply-collect-object-refs__%
(lambda (_%@@keywords176552%_
_%receiver176547176553%_
_%methods176548176555%_
_%slots176549176557%_
_%stx176559%_)
(let* ((_%receiver176562%_
(if (eq? _%receiver176547176553%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'receiver:))
_%receiver176547176553%_))
(_%methods176564%_
(if (eq? _%methods176548176555%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'methods:))
_%methods176548176555%_))
(_%slots176566%_
(if (eq? _%slots176549176557%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'slots:))
_%slots176549176557%_)))
(force gxc#::collect-object-refs-bind-methods!)
(let* ((_%self176568%_
(let ((__obj177807
(let ()
(declare (not safe))
(##structure
gxc#::collect-object-refs::t
'#f
'#f
'#f))))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177807
_%receiver176562%_
'1
'#f
'#f))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177807
_%methods176564%_
'2
'#f
'#f))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177807
_%slots176566%_
'3
'#f
'#f))
__obj177807))
(__tmp177821
(lambda ()
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self176568%_ _%stx176559%_)))))
(declare (not safe))
(__call-with-parameters
__tmp177821
gxc#current-compile-method
_%self176568%_)))))
(define gxc#apply-collect-object-refs__@
(lambda (_%@@keywords176575%_ . _%args176576%_)
(apply gxc#apply-collect-object-refs__%
_%@@keywords176575%_
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176575%_
'receiver:
absent-value))
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176575%_
'methods:
absent-value))
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176575%_
'slots:
absent-value))
_%args176576%_)))
(define gxc#apply-collect-object-refs
(lambda _%args176550176582%_
(apply keyword-dispatch
'#(receiver: slots: methods:)
gxc#apply-collect-object-refs__@
_%args176550176582%_)))
(define gxc#::subst-object-refs::t
(let ((__tmp177823 (list gxc#::basic-xform-expression::t))
(__tmp177822 (cons (cons 'final: '#t) '())))
(declare (not safe))
(__make-class-type
'gxc#::subst-object-refs::t
'::subst-object-refs
__tmp177823
'(receiver klass methods slots)
__tmp177822
'#f)))
(define gxc#::subst-object-refs?
(let ()
(declare (not safe))
(__make-class-predicate gxc#::subst-object-refs::t)))
(define gxc#make-::subst-object-refs
(lambda _%$args176543%_
(apply make-instance gxc#::subst-object-refs::t _%$args176543%_)))
(define gxc#::subst-object-refs-receiver
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::subst-object-refs::t 'receiver)))
(define gxc#::subst-object-refs-klass
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::subst-object-refs::t 'klass)))
(define gxc#::subst-object-refs-methods
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::subst-object-refs::t 'methods)))
(define gxc#::subst-object-refs-slots
(let ()
(declare (not safe))
(__make-class-slot-accessor gxc#::subst-object-refs::t 'slots)))
(define gxc#::subst-object-refs-receiver-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::subst-object-refs::t 'receiver)))
(define gxc#::subst-object-refs-klass-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::subst-object-refs::t 'klass)))
(define gxc#::subst-object-refs-methods-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::subst-object-refs::t 'methods)))
(define gxc#::subst-object-refs-slots-set!
(let ()
(declare (not safe))
(__make-class-slot-mutator gxc#::subst-object-refs::t 'slots)))
(define gxc#&::subst-object-refs-receiver
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::subst-object-refs::t
'receiver)))
(define gxc#&::subst-object-refs-klass
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::subst-object-refs::t
'klass)))
(define gxc#&::subst-object-refs-methods
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::subst-object-refs::t
'methods)))
(define gxc#&::subst-object-refs-slots
(let ()
(declare (not safe))
(__make-class-slot-unchecked-accessor
gxc#::subst-object-refs::t
'slots)))
(define gxc#&::subst-object-refs-receiver-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::subst-object-refs::t
'receiver)))
(define gxc#&::subst-object-refs-klass-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::subst-object-refs::t
'klass)))
(define gxc#&::subst-object-refs-methods-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::subst-object-refs::t
'methods)))
(define gxc#&::subst-object-refs-slots-set!
(let ()
(declare (not safe))
(__make-class-slot-unchecked-mutator
gxc#::subst-object-refs::t
'slots)))
(define gxc#::subst-object-refs-bind-methods!
(let ((__tmp177824
(lambda ()
(force gxc#::basic-xform-expression-bind-methods!)
(let ()
(declare (not safe))
(bind-method!__0
gxc#::subst-object-refs::t
'%#begin
gxc#xform-begin%))
(let ()
(declare (not safe))
(bind-method!__0
gxc#::subst-object-refs::t
'%#call
gxc#subst-object-refs-call%))
(let ()
(declare (not safe))
(__seal-class! gxc#::subst-object-refs::t)))))
(declare (not safe))
(__make-promise __tmp177824)))
(define gxc#apply-subst-object-refs__%
(lambda (_%@@keywords176505%_
_%receiver176499176506%_
_%klass176500176508%_
_%methods176501176510%_
_%slots176502176512%_
_%stx176514%_)
(let* ((_%receiver176517%_
(if (eq? _%receiver176499176506%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'receiver:))
_%receiver176499176506%_))
(_%klass176519%_
(if (eq? _%klass176500176508%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'klass:))
_%klass176500176508%_))
(_%methods176521%_
(if (eq? _%methods176501176510%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'methods:))
_%methods176501176510%_))
(_%slots176523%_
(if (eq? _%slots176502176512%_ absent-value)
(let ()
(declare (not safe))
(error '"Missing required keyword argument" 'slots:))
_%slots176502176512%_)))
(force gxc#::subst-object-refs-bind-methods!)
(let* ((_%self176525%_
(let ((__obj177809
(let ()
(declare (not safe))
(##structure
gxc#::subst-object-refs::t
'#f
'#f
'#f
'#f))))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177809
_%receiver176517%_
'1
'#f
'#f))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177809
_%klass176519%_
'2
'#f
'#f))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177809
_%methods176521%_
'3
'#f
'#f))
(let ()
(declare (not safe))
(##unchecked-structure-set!
__obj177809
_%slots176523%_
'4
'#f
'#f))
__obj177809))
(__tmp177825
(lambda ()
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self176525%_ _%stx176514%_)))))
(declare (not safe))
(__call-with-parameters
__tmp177825
gxc#current-compile-method
_%self176525%_)))))
(define gxc#apply-subst-object-refs__@
(lambda (_%@@keywords176532%_ . _%args176533%_)
(apply gxc#apply-subst-object-refs__%
_%@@keywords176532%_
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176532%_
'receiver:
absent-value))
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176532%_
'klass:
absent-value))
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176532%_
'methods:
absent-value))
(let ()
(declare (not safe))
(symbolic-table-ref
_%@@keywords176532%_
'slots:
absent-value))
_%args176533%_)))
(define gxc#apply-subst-object-refs
(lambda _%args176503176539%_
(apply keyword-dispatch
'#(receiver: methods: slots: klass:)
gxc#apply-subst-object-refs__@
_%args176503176539%_)))
(define gxc#generate-method-specializers-define-values%
(lambda (_%self173614%_ _%stx173615%_)
(letrec ((_%generate-method-bind173617%_
(lambda (_%$klass176491%_
_%$method-table176492%_
_%id176493%_
_%$id176494%_)
(let ((_%$tmp176496%_
(let ((__tmp177826
(let ()
(declare (not safe))
(##gensym '__method))))
(declare (not safe))
(make-symbol__0 __tmp177826))))
(cons (cons _%$id176494%_ '())
(cons (cons '%#call
(cons (cons '%#ref
(cons 'make-promise '()))
(cons (cons '%#lambda
(cons '()
(cons (cons '%#let-values
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (cons (cons (cons _%$tmp176496%_ '())
(cons (cons '%#call
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (cons '%#ref (cons 'symbolic-table-ref '()))
(cons (cons '%#ref
(cons _%$method-table176492%_ '()))
(cons (cons '%#quote
(cons _%id176493%_ '()))
(cons (cons '%#quote
(cons '#f '()))
'())))))
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())
(cons (cons '%#if
(cons (cons '%#ref
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons _%$tmp176496%_ '()))
(cons (cons '%#ref (cons _%$tmp176496%_ '()))
(cons (cons '%#call
(cons (cons '%#ref (cons 'error '()))
(cons (cons '%#quote
(cons '"Missing method"
'()))
(cons (cons '%#quote
(cons _%id176493%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'()))
'()))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'()))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())))
'())))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())))
'())))))
(_%generate-slot-bind173618%_
(lambda (_%$klass176485%_ _%id176486%_ _%$id176487%_)
(let ((_%$tmp176489%_
(let ((__tmp177827
(let ()
(declare (not safe))
(##gensym '__slot))))
(declare (not safe))
(make-symbol__0 __tmp177827))))
(cons (cons _%$id176487%_ '())
(cons (cons '%#let-values
(cons (cons (cons (cons _%$tmp176489%_
'())
(cons (cons '%#call
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (cons '%#ref (cons 'class-slot-offset '()))
(cons (cons '%#ref
(cons _%$klass176485%_ '()))
(cons (cons '%#quote
(cons _%id176486%_ '()))
'()))))
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())
(cons (cons '%#if
(cons (cons '%#ref
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons _%$tmp176489%_ '()))
(cons (cons '%#ref (cons _%$tmp176489%_ '()))
(cons (cons '%#call
(cons (cons '%#ref (cons 'error '()))
(cons (cons '%#quote
(cons '"Unknown slot"
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'()))
(cons (cons '%#quote (cons _%id176486%_ '())) '()))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'()))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())))
'())))))
(_%generate-specializer-impl173619%_
(lambda (_%$klass176479%_
_%$method-table176480%_
_%methods-bind176481%_
_%slots-bind176482%_
_%specializer-impl176483%_)
(let ((__tmp177828
(cons '%#lambda
(cons (cons _%$klass176479%_
(cons _%$method-table176480%_
'()))
(cons (cons '%#let-values
(cons (let ()
(declare (not safe))
(__foldr1
cons
_%slots-bind176482%_
_%methods-bind176481%_))
(cons _%specializer-impl176483%_
'())))
'())))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177828 _%stx173615%_))))
(_%generate-specializer-def173620%_
(lambda (_%id176475%_
_%specializer-id176476%_
_%specializer-impl176477%_)
(let ((__tmp177829
(cons '%#begin
(cons _%stx173615%_
(cons (let ((__tmp177830
(cons '%#define-values
(cons (cons _%specializer-id176476%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'())
(cons _%specializer-impl176477%_ '())))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177830
_%stx173615%_))
(cons (let ((__tmp177831
(cons '%#call
(cons (cons '%#ref
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons 'bind-specializer! '()))
(cons (cons '%#ref (cons _%id176475%_ '()))
(cons (cons '%#ref
(cons _%specializer-id176476%_
'()))
'()))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177831
_%stx173615%_))
'()))))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177829 _%stx173615%_)))))
(let* ((_%__stx176697176698%_ _%stx173615%_)
(_%g173623173643%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176697176698%_)))))
(let ((_%__kont176699176700%_
(lambda (_%L173687%_ _%L173688%_)
(let ((_%method-calls173707%_
(let () (declare (not safe)) (make-hash-table-eq)))
(_%slot-refs173708%_
(let () (declare (not safe)) (make-hash-table-eq)))
(_%empty173709%_
(let ()
(declare (not safe))
(make-hash-table-eq))))
(letrec ((_%no-specializer?173711%_
(lambda ()
(if (fxzero? (let ()
(declare (not safe))
(__hash-length
_%method-calls173707%_)))
(fxzero? (let ()
(declare (not safe))
(__hash-length
_%slot-refs173708%_)))
'#f))))
(if (let ()
(declare (not safe))
(gxc#lambda-expr? _%L173687%_))
(let* ((_%__stx176611176612%_ _%L173687%_)
(_%g174099174117%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176611176612%_)))))
(let ((_%__kont176613176614%_
(lambda (_%L174153%_
_%L174154%_
_%L174155%_)
(let ((_%receiver174175%_
(let ((_%$e174172%_
(gxc#apply-extract-receiver
(cons (let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L174153%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(if _%$e174172%_
_%$e174172%_
_%L174155%_))))
(for-each
(lambda (_%g174176174178%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver174175%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174176174178%_))
_%L174153%_)
(if (_%no-specializer?173711%_)
_%stx173615%_
(let* ((_%specializer-id174187%_
(let* ((_%id174181%_
(let ((__tmp177832
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%L173688%_))))
(declare (not safe))
(make-symbol__1 __tmp177832 '"::specialize")))
(_%specializer-id174184%_
(let ((__tmp177833
(let ()
(declare (not safe))
(gx#stx-source _%stx173615%_))))
(declare (not safe))
(gx#core-quote-syntax__1 _%id174181%_ __tmp177833))))
(let ()
(declare (not safe))
(gx#core-bind-runtime!__0 _%specializer-id174184%_))
_%specializer-id174184%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%$klass174189%_
(let ((__tmp177834
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##gensym '__klass))))
(declare (not safe))
(make-symbol__0 __tmp177834)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%$method-table174191%_
(let ((__tmp177835
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##gensym '__method-table))))
(declare (not safe))
(make-symbol__0 __tmp177835)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%methods174193%_
(let ()
(declare (not safe))
(__hash-keys
_%method-calls173707%_)))
(_%$methods174197%_
(map (lambda (_%id174195%_)
(let ((__tmp177836
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gensym _%id174195%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177836)))
_%methods174193%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%_174206%_
(for-each
(lambda (_%g174198174201%_
_%g174199174203%_)
(let ()
(declare (not safe))
(__hash-put!
_%method-calls173707%_
_%g174198174201%_
_%g174199174203%_)))
_%methods174193%_
_%$methods174197%_))
(_%methods-bind174216%_
(map (lambda (_%g174208174211%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%g174209174213%_)
(_%generate-method-bind173617%_
_%$klass174189%_
_%$method-table174191%_
_%g174208174211%_
_%g174209174213%_))
_%methods174193%_
_%$methods174197%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%slots174218%_
(let ()
(declare (not safe))
(__hash-keys
_%slot-refs173708%_)))
(_%$slots174222%_
(map (lambda (_%id174220%_)
(let ((__tmp177837
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gensym _%id174220%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177837)))
_%slots174218%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%_174231%_
(for-each
(lambda (_%g174223174226%_
_%g174224174228%_)
(let ()
(declare (not safe))
(__hash-put!
_%slot-refs173708%_
_%g174223174226%_
_%g174224174228%_)))
_%slots174218%_
_%$slots174222%_))
(_%slots-bind174240%_
(map (lambda (_%g174232174235%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%g174233174237%_)
(_%generate-slot-bind173618%_
_%$klass174189%_
_%g174232174235%_
_%g174233174237%_))
_%slots174218%_
_%$slots174222%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-body174246%_
(map (lambda (_%g174241174243%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver174175%_
_%$klass174189%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174241174243%_))
_%L174153%_))
(_%specializer-impl174248%_
(let ((__tmp177838
(cons '%#lambda
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (cons _%L174155%_ _%L174154%_)
_%specializer-body174246%_))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177838 _%stx173615%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-impl174250%_
(_%generate-specializer-impl173619%_
_%$klass174189%_
_%$method-table174191%_
_%methods-bind174216%_
_%slots-bind174240%_
_%specializer-impl174248%_)))
(let ((__tmp177840
(let ()
(declare (not safe))
(gx#stx-e
_%L173688%_)))
(__tmp177839
(let ()
(declare (not safe))
(gx#stx-e
_%specializer-id174187%_))))
(declare (not safe))
(gxc#verbose
'"generate method specializer "
__tmp177840
'" => "
__tmp177839))
(_%generate-specializer-def173620%_
_%L173688%_
_%specializer-id174187%_
_%specializer-impl174250%_))))))
(_%__kont176615176616%_
(lambda () _%stx173615%_)))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx176611176612%_))
(let ((_%e174104174129%_
(let ()
(declare (not safe))
(gx#stx-e
_%__stx176611176612%_))))
(let ((_%tl174106174134%_
(let ()
(declare (not safe))
(##cdr _%e174104174129%_)))
(_%hd174105174132%_
(let ()
(declare (not safe))
(##car _%e174104174129%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl174106174134%_))
(let ((_%e174107174137%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl174106174134%_))))
(let ((_%tl174109174142%_
(let ()
(declare (not safe))
(##cdr _%e174107174137%_)))
(_%hd174108174140%_
(let ()
(declare (not safe))
(##car _%e174107174137%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd174108174140%_))
(let ((_%e174110174145%_
(let ()
(declare
(not safe))
(gx#stx-e
_%hd174108174140%_))))
(let ((_%tl174112174150%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##cdr _%e174110174145%_)))
(_%hd174111174148%_
(let () (declare (not safe)) (##car _%e174110174145%_))))
(_%__kont176613176614%_
_%tl174109174142%_
_%tl174112174150%_
_%hd174111174148%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176615176616%_))))
(_%__kont176615176616%_))))
(_%__kont176615176616%_))))
(if (let ()
(declare (not safe))
(gxc#case-lambda-expr? _%L173687%_))
(let* ((_%g174257174276%_
(lambda (_%g174258174273%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174258174273%_))))
(_%g174256174574%_
(lambda (_%g174258174279%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g174258174279%_))
(let ((_%e174260174281%_
(let ()
(declare (not safe))
(gx#stx-e
_%g174258174279%_))))
(let ((_%hd174261174284%_
(let ()
(declare (not safe))
(##car _%e174260174281%_)))
(_%tl174262174286%_
(let ()
(declare (not safe))
(##cdr _%e174260174281%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair/null?
_%tl174262174286%_))
(let ((_g177841_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#syntax-split-splice _%tl174262174286%_ '0))))
(begin
(let ((_g177842_
(let ()
(declare (not safe))
(if (##values? _g177841_)
(##vector-length _g177841_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177842_ 2)))
(error "Context expects 2 values" _g177842_)))
(let ((_%target174263174289%_
(let ()
(declare (not safe))
(##vector-ref _g177841_ 0)))
(_%tl174265174291%_
(let ()
(declare (not safe))
(##vector-ref _g177841_ 1))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl174265174291%_))
(letrec ((_%loop174266174294%_
(lambda (_%hd174264174297%_
_%clause174270174299%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174264174297%_))
(let ((_%e174267174302%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174264174297%_))))
(let ((_%lp-hd174268174305%_
(let ()
(declare (not safe))
(##car _%e174267174302%_)))
(_%lp-tl174269174307%_
(let ()
(declare (not safe))
(##cdr _%e174267174302%_))))
(_%loop174266174294%_
_%lp-tl174269174307%_
(cons _%lp-hd174268174305%_
_%clause174270174299%_))))
(let ((_%clause174271174310%_
(reverse _%clause174270174299%_)))
((lambda (_%L174313%_)
(for-each
(lambda (_%clause174327%_)
(let* ((_%__stx176637176638%_
_%clause174327%_)
(_%g174330174345%_
(lambda ()
(let ()
(declare
(not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176637176638%_)))))
(let ((_%__kont176639176640%_
(lambda (_%L174373%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%L174374%_
_%L174375%_)
(let ((_%receiver174394%_
(let ((_%$e174391%_
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L174373%_))))
(if _%$e174391%_ _%$e174391%_ _%L174375%_))))
(for-each
(lambda (_%g174395174397%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver174394%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174395174397%_))
_%L174373%_))))
(_%__kont176641176642%_ (lambda () '#!void)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%__stx176637176638%_))
(let ((_%e174335174357%_
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#stx-e _%__stx176637176638%_))))
(let ((_%tl174337174362%_
(let ()
(declare (not safe))
(##cdr _%e174335174357%_)))
(_%hd174336174360%_
(let ()
(declare (not safe))
(##car _%e174335174357%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174336174360%_))
(let ((_%e174338174365%_
(let ()
(declare (not safe))
(gx#stx-e _%hd174336174360%_))))
(let ((_%tl174340174370%_
(let ()
(declare (not safe))
(##cdr _%e174338174365%_)))
(_%hd174339174368%_
(let ()
(declare (not safe))
(##car _%e174338174365%_))))
(_%__kont176639176640%_
_%tl174337174362%_
_%tl174340174370%_
_%hd174339174368%_)))
(_%__kont176641176642%_))))
(_%__kont176641176642%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(let ((__tmp177843
(lambda (_%g174402174405%_
_%g174403174407%_)
(cons _%g174402174405%_
_%g174403174407%_))))
(declare (not safe))
(__foldr1
__tmp177843
'()
_%L174313%_)))
(if (_%no-specializer?173711%_)
_%stx173615%_
(let* ((_%specializer-id174416%_
(let* ((_%id174410%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ((__tmp177844
(let ()
(declare (not safe))
(gx#stx-e _%L173688%_))))
(declare (not safe))
(make-symbol__1 __tmp177844 '"::specialize")))
(_%specializer-id174413%_
(let ((__tmp177845
(let ()
(declare (not safe))
(gx#stx-source _%stx173615%_))))
(declare (not safe))
(gx#core-quote-syntax__1
_%id174410%_
__tmp177845))))
(let ()
(declare (not safe))
(gx#core-bind-runtime!__0 _%specializer-id174413%_))
_%specializer-id174413%_))
(_%$klass174418%_
(let ((__tmp177846
(let () (declare (not safe)) (##gensym '__klass))))
(declare (not safe))
(make-symbol__0 __tmp177846)))
(_%$method-table174420%_
(let ((__tmp177847
(let ()
(declare (not safe))
(##gensym '__method-table))))
(declare (not safe))
(make-symbol__0 __tmp177847)))
(_%methods174422%_
(let ()
(declare (not safe))
(__hash-keys _%method-calls173707%_)))
(_%$methods174426%_
(map (lambda (_%id174424%_)
(let ((__tmp177848 (gensym _%id174424%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177848)))
_%methods174422%_))
(_%_174435%_
(for-each
(lambda (_%g174427174430%_ _%g174428174432%_)
(let ()
(declare (not safe))
(__hash-put!
_%method-calls173707%_
_%g174427174430%_
_%g174428174432%_)))
_%methods174422%_
_%$methods174426%_))
(_%methods-bind174445%_
(map (lambda (_%g174437174440%_ _%g174438174442%_)
(_%generate-method-bind173617%_
_%$klass174418%_
_%$method-table174420%_
_%g174437174440%_
_%g174438174442%_))
_%methods174422%_
_%$methods174426%_))
(_%slots174447%_
(let ()
(declare (not safe))
(__hash-keys _%slot-refs173708%_)))
(_%$slots174451%_
(map (lambda (_%id174449%_)
(let ((__tmp177849 (gensym _%id174449%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177849)))
_%slots174447%_))
(_%_174460%_
(for-each
(lambda (_%g174452174455%_ _%g174453174457%_)
(let ()
(declare (not safe))
(__hash-put!
_%slot-refs173708%_
_%g174452174455%_
_%g174453174457%_)))
_%slots174447%_
_%$slots174451%_))
(_%slots-bind174469%_
(map (lambda (_%g174461174464%_ _%g174462174466%_)
(_%generate-slot-bind173618%_
_%$klass174418%_
_%g174461174464%_
_%g174462174466%_))
_%slots174447%_
_%$slots174451%_))
(_%specializer-clauses174567%_
(map (lambda (_%clause174471%_)
(let* ((_%__stx176657176658%_ _%clause174471%_)
(_%g174474174489%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176657176658%_)))))
(let ((_%__kont176659176660%_
(lambda (_%L174517%_ _%L174518%_ _%L174519%_)
(let* ((_%receiver174548%_
(let ((_%$e174545%_
(gxc#apply-extract-receiver
(cons (let ()
(declare
(not safe))
(gx#datum->syntax__0
'#f
'%#begin))
_%L174517%_))))
(if _%$e174545%_
_%$e174545%_
_%L174519%_)))
(_%body174554%_
(map (lambda (_%g174549174551%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver174548%_
_%$klass174418%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174549174551%_))
_%L174517%_)))
(cons (cons _%L174519%_ _%L174518%_)
_%body174554%_))))
(_%__kont176661176662%_
(lambda () _%clause174471%_)))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx176657176658%_))
(let ((_%e174479174501%_
(let ()
(declare (not safe))
(gx#stx-e _%__stx176657176658%_))))
(let ((_%tl174481174506%_
(let ()
(declare (not safe))
(##cdr _%e174479174501%_)))
(_%hd174480174504%_
(let ()
(declare (not safe))
(##car _%e174479174501%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174480174504%_))
(let ((_%e174482174509%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174480174504%_))))
(let ((_%tl174484174514%_
(let ()
(declare (not safe))
(##cdr _%e174482174509%_)))
(_%hd174483174512%_
(let ()
(declare (not safe))
(##car _%e174482174509%_))))
(_%__kont176659176660%_
_%tl174481174506%_
_%tl174484174514%_
_%hd174483174512%_)))
(_%__kont176661176662%_))))
(_%__kont176661176662%_)))))
(let ((__tmp177850
(lambda (_%g174559174562%_ _%g174560174564%_)
(cons _%g174559174562%_ _%g174560174564%_))))
(declare (not safe))
(__foldr1 __tmp177850 '() _%L174313%_))))
(_%specializer-impl174569%_
(let ((__tmp177851
(cons '%#case-lambda _%specializer-clauses174567%_)))
(declare (not safe))
(gxc#xform-wrap-source __tmp177851 _%stx173615%_)))
(_%specializer-impl174571%_
(_%generate-specializer-impl173619%_
_%$klass174418%_
_%$method-table174420%_
_%methods-bind174445%_
_%slots-bind174469%_
_%specializer-impl174569%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(let ((__tmp177853
(let ()
(declare
(not safe))
(gx#stx-e
_%L173688%_)))
(__tmp177852
(let ()
(declare
(not safe))
(gx#stx-e
_%specializer-id174416%_))))
(declare (not safe))
(gxc#verbose
'"generate method specializer "
__tmp177853
'" => "
__tmp177852))
(_%generate-specializer-def173620%_
_%L173688%_
_%specializer-id174416%_
_%specializer-impl174571%_))))
_%clause174271174310%_))))))
(_%loop174266174294%_ _%target174263174289%_ '()))
(_%g174257174276%_ _%g174258174279%_)))))
(_%g174257174276%_ _%g174258174279%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g174257174276%_
_%g174258174279%_)))))
(_%g174256174574%_ _%L173687%_))
(if (let ()
(declare (not safe))
(gxc#opt-lambda-expr? _%L173687%_))
(let* ((_%g174578174608%_
(lambda (_%g174579174605%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174579174605%_))))
(_%g174577175239%_
(lambda (_%g174579174611%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g174579174611%_))
(let ((_%e174583174613%_
(let ()
(declare
(not safe))
(gx#stx-e
_%g174579174611%_))))
(let ((_%hd174584174616%_
(let ()
(declare
(not safe))
(##car _%e174583174613%_)))
(_%tl174585174618%_
(let ()
(declare
(not safe))
(##cdr _%e174583174613%_))))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl174585174618%_))
(let ((_%e174586174621%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl174585174618%_))))
(let ((_%hd174587174624%_
(let ()
(declare (not safe))
(##car _%e174586174621%_)))
(_%tl174588174626%_
(let ()
(declare (not safe))
(##cdr _%e174586174621%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174587174624%_))
(let ((_%e174589174629%_
(let ()
(declare (not safe))
(gx#stx-e _%hd174587174624%_))))
(let ((_%hd174590174632%_
(let ()
(declare (not safe))
(##car _%e174589174629%_)))
(_%tl174591174634%_
(let ()
(declare (not safe))
(##cdr _%e174589174629%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174590174632%_))
(let ((_%e174592174637%_
(let ()
(declare (not safe))
(gx#stx-e _%hd174590174632%_))))
(let ((_%hd174593174640%_
(let ()
(declare (not safe))
(##car _%e174592174637%_)))
(_%tl174594174642%_
(let ()
(declare (not safe))
(##cdr _%e174592174637%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174593174640%_))
(let ((_%e174595174645%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174593174640%_))))
(let ((_%hd174596174648%_
(let ()
(declare (not safe))
(##car _%e174595174645%_)))
(_%tl174597174650%_
(let ()
(declare (not safe))
(##cdr _%e174595174645%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl174597174650%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl174594174642%_))
(let ((_%e174598174653%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-e _%tl174594174642%_))))
(let ((_%hd174599174656%_
(let ()
(declare (not safe))
(##car _%e174598174653%_)))
(_%tl174600174658%_
(let ()
(declare (not safe))
(##cdr _%e174598174653%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl174600174658%_))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl174591174634%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl174588174626%_))
(let ((_%e174601174661%_
(let ()
(declare (not safe))
(gx#stx-e _%tl174588174626%_))))
(let ((_%hd174602174664%_
(let ()
(declare (not safe))
(##car _%e174601174661%_)))
(_%tl174603174666%_
(let ()
(declare (not safe))
(##cdr _%e174601174661%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl174603174666%_))
((lambda (_%L174669%_
_%L174670%_
_%L174671%_)
(let* ((_%g174695174713%_
(lambda (_%g174696174710%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174696174710%_))))
(_%g174694174769%_
(lambda (_%g174696174716%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g174696174716%_))
(let ((_%e174700174718%_
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#stx-e _%g174696174716%_))))
(let ((_%hd174701174721%_
(let ()
(declare (not safe))
(##car _%e174700174718%_)))
(_%tl174702174723%_
(let ()
(declare (not safe))
(##cdr _%e174700174718%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl174702174723%_))
(let ((_%e174703174726%_
(let ()
(declare (not safe))
(gx#stx-e _%tl174702174723%_))))
(let ((_%hd174704174729%_
(let ()
(declare (not safe))
(##car _%e174703174726%_)))
(_%tl174705174731%_
(let ()
(declare (not safe))
(##cdr _%e174703174726%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174704174729%_))
(let ((_%e174706174734%_
(let ()
(declare (not safe))
(gx#stx-e _%hd174704174729%_))))
(let ((_%hd174707174737%_
(let ()
(declare (not safe))
(##car _%e174706174734%_)))
(_%tl174708174739%_
(let ()
(declare (not safe))
(##cdr _%e174706174734%_))))
((lambda (_%L174742%_
_%L174743%_
_%L174744%_)
(let ((_%receiver174763%_
(let ((_%$e174760%_
(gxc#apply-extract-receiver
(cons (let ()
(declare
(not safe))
(gx#datum->syntax__0
'#f
'%#begin))
_%L174742%_))))
(if _%$e174760%_
_%$e174760%_
_%L174744%_))))
(for-each
(lambda (_%g174764174766%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver174763%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174764174766%_))
_%L174742%_)))
_%tl174705174731%_
_%tl174708174739%_
_%hd174707174737%_)))
(_%g174695174713%_ _%g174696174716%_))))
(_%g174695174713%_ _%g174696174716%_))))
(_%g174695174713%_ _%g174696174716%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g174694174769%_ _%L174670%_))
(let* ((_%g174772174791%_
(lambda (_%g174773174788%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174773174788%_))))
(_%g174771174915%_
(lambda (_%g174773174794%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g174773174794%_))
(let ((_%e174775174796%_
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#stx-e _%g174773174794%_))))
(let ((_%hd174776174799%_
(let ()
(declare (not safe))
(##car _%e174775174796%_)))
(_%tl174777174801%_
(let ()
(declare (not safe))
(##cdr _%e174775174796%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair/null? _%tl174777174801%_))
(let ((_g177854_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl174777174801%_
'0))))
(begin
(let ((_g177855_
(let ()
(declare (not safe))
(if (##values? _g177854_)
(##vector-length _g177854_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177855_ 2)))
(error "Context expects 2 values"
_g177855_)))
(let ((_%target174778174804%_
(let ()
(declare (not safe))
(##vector-ref _g177854_ 0)))
(_%tl174780174806%_
(let ()
(declare (not safe))
(##vector-ref _g177854_ 1))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl174780174806%_))
(letrec ((_%loop174781174809%_
(lambda (_%hd174779174812%_
_%clause174785174814%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd174779174812%_))
(let ((_%e174782174817%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174779174812%_))))
(let ((_%lp-hd174783174820%_
(let ()
(declare
(not safe))
(##car _%e174782174817%_)))
(_%lp-tl174784174822%_
(let ()
(declare
(not safe))
(##cdr _%e174782174817%_))))
(_%loop174781174809%_
_%lp-tl174784174822%_
(cons _%lp-hd174783174820%_
_%clause174785174814%_))))
(let ((_%clause174786174825%_
(reverse _%clause174785174814%_)))
((lambda (_%L174828%_)
(for-each
(lambda (_%clause174841%_)
(let* ((_%g174843174858%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(lambda (_%g174844174855%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174844174855%_))))
(_%g174842174905%_
(lambda (_%g174844174861%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g174844174861%_))
(let ((_%e174848174863%_
(let ()
(declare (not safe))
(gx#stx-e _%g174844174861%_))))
(let ((_%hd174849174866%_
(let ()
(declare (not safe))
(##car _%e174848174863%_)))
(_%tl174850174868%_
(let ()
(declare (not safe))
(##cdr _%e174848174863%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd174849174866%_))
(let ((_%e174851174871%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174849174866%_))))
(let ((_%hd174852174874%_
(let ()
(declare (not safe))
(##car _%e174851174871%_)))
(_%tl174853174876%_
(let ()
(declare (not safe))
(##cdr _%e174851174871%_))))
((lambda (_%L174879%_
_%L174880%_
_%L174881%_)
(let ((_%receiver174899%_
(let ((_%$e174896%_
(gxc#apply-extract-receiver
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L174879%_))))
(if _%$e174896%_ _%$e174896%_ _%L174881%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(for-each
(lambda (_%g174900174902%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver174899%_
_%method-calls173707%_
_%slot-refs173708%_
_%g174900174902%_))
_%L174879%_)))
_%tl174850174868%_
_%tl174853174876%_
_%hd174852174874%_)))
(_%g174843174858%_
_%g174844174861%_))))
(_%g174843174858%_ _%g174844174861%_)))))
(_%g174842174905%_ _%clause174841%_)))
(let ((__tmp177856
(lambda (_%g174907174910%_ _%g174908174912%_)
(cons _%g174907174910%_ _%g174908174912%_))))
(declare (not safe))
(__foldr1 __tmp177856 '() _%L174828%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
_%clause174786174825%_))))))
(_%loop174781174809%_
_%target174778174804%_
'()))
(_%g174772174791%_ _%g174773174794%_)))))
(_%g174772174791%_ _%g174773174794%_))))
(_%g174772174791%_ _%g174773174794%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g174771174915%_ _%L174669%_))
(if (_%no-specializer?173711%_)
_%stx173615%_
(let* ((_%specializer-id174924%_
(let* ((_%id174918%_
(let ((__tmp177857
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%L173688%_))))
(declare (not safe))
(make-symbol__1 __tmp177857 '"::specialize")))
(_%specializer-id174921%_
(let ((__tmp177858
(let ()
(declare (not safe))
(gx#stx-source _%stx173615%_))))
(declare (not safe))
(gx#core-quote-syntax__1 _%id174918%_ __tmp177858))))
(let ()
(declare (not safe))
(gx#core-bind-runtime!__0 _%specializer-id174921%_))
_%specializer-id174921%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%$klass174926%_
(let ((__tmp177859
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##gensym '__klass))))
(declare (not safe))
(make-symbol__0 __tmp177859)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%$method-table174928%_
(let ((__tmp177860
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##gensym '__method-table))))
(declare (not safe))
(make-symbol__0 __tmp177860)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%methods174930%_
(let ()
(declare (not safe))
(__hash-keys
_%method-calls173707%_)))
(_%$methods174934%_
(map (lambda (_%id174932%_)
(let ((__tmp177861
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gensym _%id174932%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177861)))
_%methods174930%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%_174943%_
(for-each
(lambda (_%g174935174938%_
_%g174936174940%_)
(let ()
(declare (not safe))
(__hash-put!
_%method-calls173707%_
_%g174935174938%_
_%g174936174940%_)))
_%methods174930%_
_%$methods174934%_))
(_%methods-bind174953%_
(map (lambda (_%g174945174948%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%g174946174950%_)
(_%generate-method-bind173617%_
_%$klass174926%_
_%$method-table174928%_
_%g174945174948%_
_%g174946174950%_))
_%methods174930%_
_%$methods174934%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%slots174955%_
(let ()
(declare (not safe))
(__hash-keys
_%slot-refs173708%_)))
(_%$slots174959%_
(map (lambda (_%id174957%_)
(let ((__tmp177862
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gensym _%id174957%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177862)))
_%slots174955%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%_174968%_
(for-each
(lambda (_%g174960174963%_
_%g174961174965%_)
(let ()
(declare (not safe))
(__hash-put!
_%slot-refs173708%_
_%g174960174963%_
_%g174961174965%_)))
_%slots174955%_
_%$slots174959%_))
(_%slots-bind174977%_
(map (lambda (_%g174969174972%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%g174970174974%_)
(_%generate-slot-bind173618%_
_%$klass174926%_
_%g174969174972%_
_%g174970174974%_))
_%slots174955%_
_%$slots174959%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-lambda-expr175069%_
(let* ((_%g174979174997%_
(lambda (_%g174980174994%_)
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g174980174994%_))))
(_%g174978175066%_
(lambda (_%g174980175000%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g174980175000%_))
(let ((_%e174984175002%_
(let ()
(declare (not safe))
(gx#stx-e _%g174980175000%_))))
(let ((_%hd174985175005%_
(let ()
(declare (not safe))
(##car _%e174984175002%_)))
(_%tl174986175007%_
(let ()
(declare (not safe))
(##cdr _%e174984175002%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl174986175007%_))
(let ((_%e174987175010%_
(let ()
(declare (not safe))
(gx#stx-e _%tl174986175007%_))))
(let ((_%hd174988175013%_
(let ()
(declare (not safe))
(##car _%e174987175010%_)))
(_%tl174989175015%_
(let ()
(declare (not safe))
(##cdr _%e174987175010%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd174988175013%_))
(let ((_%e174990175018%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd174988175013%_))))
(let ((_%hd174991175021%_
(let ()
(declare (not safe))
(##car _%e174990175018%_)))
(_%tl174992175023%_
(let ()
(declare (not safe))
(##cdr _%e174990175018%_))))
((lambda (_%L175026%_
_%L175027%_
_%L175028%_)
(let* ((_%receiver175057%_
(let ((_%$e175054%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L175026%_))))
(if _%$e175054%_ _%$e175054%_ _%L175028%_)))
(_%body175063%_
(map (lambda (_%g175058175060%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver175057%_
_%$klass174926%_
_%method-calls173707%_
_%slot-refs173708%_
_%g175058175060%_))
_%L175026%_))
(__tmp177863
(cons '%#lambda
(cons (cons _%L175028%_ _%L175027%_)
_%body175063%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177863
_%L174670%_)))
_%tl174989175015%_
_%tl174992175023%_
_%hd174991175021%_)))
(_%g174979174997%_
_%g174980175000%_))))
(_%g174979174997%_ _%g174980175000%_))))
(_%g174979174997%_ _%g174980175000%_)))))
(_%g174978175066%_ _%L174670%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-case-lambda-expr175232%_
(let* ((_%g175071175090%_
(lambda (_%g175072175087%_)
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175072175087%_))))
(_%g175070175229%_
(lambda (_%g175072175093%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g175072175093%_))
(let ((_%e175074175095%_
(let ()
(declare (not safe))
(gx#stx-e _%g175072175093%_))))
(let ((_%hd175075175098%_
(let ()
(declare (not safe))
(##car _%e175074175095%_)))
(_%tl175076175100%_
(let ()
(declare (not safe))
(##cdr _%e175074175095%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair/null? _%tl175076175100%_))
(let ((_g177864_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl175076175100%_
'0))))
(begin
(let ((_g177865_
(let ()
(declare (not safe))
(if (##values? _g177864_)
(##vector-length
_g177864_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177865_ 2)))
(error "Context expects 2 values"
_g177865_)))
(let ((_%target175077175103%_
(let ()
(declare (not safe))
(##vector-ref _g177864_ 0)))
(_%tl175079175105%_
(let ()
(declare (not safe))
(##vector-ref _g177864_ 1))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl175079175105%_))
(letrec ((_%loop175080175108%_
(lambda (_%hd175078175111%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%clause175084175113%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175078175111%_))
(let ((_%e175081175116%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175078175111%_))))
(let ((_%lp-hd175082175119%_
(let ()
(declare (not safe))
(##car _%e175081175116%_)))
(_%lp-tl175083175121%_
(let ()
(declare (not safe))
(##cdr _%e175081175116%_))))
(_%loop175080175108%_
_%lp-tl175083175121%_
(cons _%lp-hd175082175119%_
_%clause175084175113%_))))
(let ((_%clause175085175124%_
(reverse _%clause175084175113%_)))
((lambda (_%L175127%_)
(let* ((_%clauses175227%_
(map (lambda (_%clause175141%_)
(let* ((_%__stx176677176678%_
_%clause175141%_)
(_%g175144175159%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176677176678%_)))))
(let ((_%__kont176679176680%_
(lambda (_%L175187%_
_%L175188%_
_%L175189%_)
(let* ((_%receiver175208%_
(let ((_%$e175205%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L175187%_))))
(if _%$e175205%_ _%$e175205%_ _%L175189%_)))
(_%body175214%_
(map (lambda (_%g175209175211%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver175208%_
_%$klass174926%_
_%method-calls173707%_
_%slot-refs173708%_
_%g175209175211%_))
_%L175187%_)))
(cons (cons _%L175189%_ _%L175188%_) _%body175214%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176681176682%_
(lambda ()
_%clause175141%_)))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%__stx176677176678%_))
(let ((_%e175149175171%_
(let ()
(declare (not safe))
(gx#stx-e
_%__stx176677176678%_))))
(let ((_%tl175151175176%_
(let ()
(declare
(not safe))
(##cdr _%e175149175171%_)))
(_%hd175150175174%_
(let ()
(declare
(not safe))
(##car _%e175149175171%_))))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%hd175150175174%_))
(let ((_%e175152175179%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%hd175150175174%_))))
(let ((_%tl175154175184%_
(let ()
(declare (not safe))
(##cdr _%e175152175179%_)))
(_%hd175153175182%_
(let ()
(declare (not safe))
(##car _%e175152175179%_))))
(_%__kont176679176680%_
_%tl175151175176%_
_%tl175154175184%_
_%hd175153175182%_)))
(_%__kont176681176682%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176681176682%_)))))
(let ((__tmp177866
(lambda (_%g175219175222%_
_%g175220175224%_)
(cons _%g175219175222%_
_%g175220175224%_))))
(declare (not safe))
(__foldr1
__tmp177866
'()
_%L175127%_))))
(__tmp177867
(cons '%#case-lambda _%clauses175227%_)))
(declare (not safe))
(gxc#xform-wrap-source __tmp177867 _%L174669%_)))
_%clause175085175124%_))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%loop175080175108%_
_%target175077175103%_
'()))
(_%g175071175090%_
_%g175072175093%_)))))
(_%g175071175090%_ _%g175072175093%_))))
(_%g175071175090%_ _%g175072175093%_)))))
(_%g175070175229%_ _%L174669%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-impl175234%_
(let ((__tmp177868
(cons '%#let-values
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (cons (cons (cons _%L174671%_ '())
(cons _%specializer-lambda-expr175069%_
'()))
'())
(cons _%specializer-case-lambda-expr175232%_
'())))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177868 _%stx173615%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%specializer-impl175236%_
(_%generate-specializer-impl173619%_
_%$klass174926%_
_%$method-table174928%_
_%methods-bind174953%_
_%slots-bind174977%_
_%specializer-impl175234%_)))
(let ((__tmp177870
(let ()
(declare (not safe))
(gx#stx-e
_%L173688%_)))
(__tmp177869
(let ()
(declare (not safe))
(gx#stx-e
_%specializer-id174924%_))))
(declare (not safe))
(gxc#verbose
'"generate method specializer "
__tmp177870
'" => "
__tmp177869))
(_%generate-specializer-def173620%_
_%L173688%_
_%specializer-id174924%_
_%specializer-impl175236%_))))
_%hd174602174664%_
_%hd174599174656%_
_%hd174596174648%_)
(_%g174578174608%_ _%g174579174611%_))))
(_%g174578174608%_ _%g174579174611%_))
(_%g174578174608%_ _%g174579174611%_))
(_%g174578174608%_ _%g174579174611%_))))
(_%g174578174608%_ _%g174579174611%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g174578174608%_
_%g174579174611%_))))
(_%g174578174608%_
_%g174579174611%_))))
(_%g174578174608%_ _%g174579174611%_))))
(_%g174578174608%_ _%g174579174611%_))))
(_%g174578174608%_ _%g174579174611%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g174578174608%_
_%g174579174611%_)))))
(_%g174577175239%_ _%L173687%_))
(if (let ()
(declare (not safe))
(gxc#kw-lambda-expr? _%L173687%_))
(let* ((_%g175243175296%_
(lambda (_%g175244175293%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175244175293%_))))
(_%g175242176467%_
(lambda (_%g175244175299%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g175244175299%_))
(let ((_%e175250175301%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-e _%g175244175299%_))))
(let ((_%hd175251175304%_
(let ()
(declare (not safe))
(##car _%e175250175301%_)))
(_%tl175252175306%_
(let ()
(declare (not safe))
(##cdr _%e175250175301%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd175251175304%_))
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#let-values _%hd175251175304%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175252175306%_))
(let ((_%e175253175309%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175252175306%_))))
(let ((_%hd175254175312%_
(let ()
(declare (not safe))
(##car _%e175253175309%_)))
(_%tl175255175314%_
(let ()
(declare (not safe))
(##cdr _%e175253175309%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175254175312%_))
(let ((_%e175256175317%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175254175312%_))))
(let ((_%hd175257175320%_
(let ()
(declare (not safe))
(##car _%e175256175317%_)))
(_%tl175258175322%_
(let ()
(declare (not safe))
(##cdr _%e175256175317%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd175257175320%_))
(let ((_%e175259175325%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175257175320%_))))
(let ((_%hd175260175328%_
(let ()
(declare (not safe))
(##car _%e175259175325%_)))
(_%tl175261175330%_
(let ()
(declare (not safe))
(##cdr _%e175259175325%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd175260175328%_))
(let ((_%e175262175333%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-e _%hd175260175328%_))))
(let ((_%hd175263175336%_
(let ()
(declare (not safe))
(##car _%e175262175333%_)))
(_%tl175264175338%_
(let ()
(declare (not safe))
(##cdr _%e175262175333%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175264175338%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175261175330%_))
(let ((_%e175265175341%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175261175330%_))))
(let ((_%hd175266175344%_
(let ()
(declare (not safe))
(##car _%e175265175341%_)))
(_%tl175267175346%_
(let ()
(declare (not safe))
(##cdr _%e175265175341%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175266175344%_))
(let ((_%e175268175349%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175266175344%_))))
(let ((_%hd175269175352%_
(let ()
(declare (not safe))
(##car _%e175268175349%_)))
(_%tl175270175354%_
(let ()
(declare (not safe))
(##cdr _%e175268175349%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd175269175352%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#let-values
_%hd175269175352%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175270175354%_))
(let ((_%e175271175357%_
(let ()
(declare
(not safe))
(gx#stx-e
_%tl175270175354%_))))
(let ((_%hd175272175360%_
(let ()
(declare
(not safe))
(##car _%e175271175357%_)))
(_%tl175273175362%_
(let ()
(declare
(not safe))
(##cdr _%e175271175357%_))))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%hd175272175360%_))
(let ((_%e175274175365%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%hd175272175360%_))))
(let ((_%hd175275175368%_
(let ()
(declare (not safe))
(##car _%e175274175365%_)))
(_%tl175276175370%_
(let ()
(declare (not safe))
(##cdr _%e175274175365%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175275175368%_))
(let ((_%e175277175373%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175275175368%_))))
(let ((_%hd175278175376%_
(let ()
(declare (not safe))
(##car _%e175277175373%_)))
(_%tl175279175378%_
(let ()
(declare (not safe))
(##cdr _%e175277175373%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175278175376%_))
(let ((_%e175280175381%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175278175376%_))))
(let ((_%hd175281175384%_
(let ()
(declare (not safe))
(##car _%e175280175381%_)))
(_%tl175282175386%_
(let ()
(declare (not safe))
(##cdr _%e175280175381%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175282175386%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175279175378%_))
(let ((_%e175283175389%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl175279175378%_))))
(let ((_%hd175284175392%_
(let ()
(declare (not safe))
(##car _%e175283175389%_)))
(_%tl175285175394%_
(let ()
(declare (not safe))
(##cdr _%e175283175389%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl175285175394%_))
(if (let ()
(declare
(not safe))
(gx#stx-null?
_%tl175276175370%_))
(if (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#stx-pair? _%tl175273175362%_))
(let ((_%e175286175397%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175273175362%_))))
(let ((_%hd175287175400%_
(let ()
(declare (not safe))
(##car _%e175286175397%_)))
(_%tl175288175402%_
(let ()
(declare (not safe))
(##cdr _%e175286175397%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175288175402%_))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175267175346%_))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175258175322%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175255175314%_))
(let ((_%e175289175405%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl175255175314%_))))
(let ((_%hd175290175408%_
(let ()
(declare (not safe))
(##car _%e175289175405%_)))
(_%tl175291175410%_
(let ()
(declare (not safe))
(##cdr _%e175289175405%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl175291175410%_))
((lambda (_%L175413%_
_%L175414%_
_%L175415%_
_%L175416%_
_%L175417%_)
(let* ((_%g175457175519%_
(lambda (_%g175458175516%_)
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175458175516%_))))
(_%g175456176464%_
(lambda (_%g175458175522%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g175458175522%_))
(let ((_%e175464175524%_
(let ()
(declare (not safe))
(gx#stx-e _%g175458175522%_))))
(let ((_%hd175465175527%_
(let ()
(declare (not safe))
(##car _%e175464175524%_)))
(_%tl175466175529%_
(let ()
(declare (not safe))
(##cdr _%e175464175524%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd175465175527%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#lambda
_%hd175465175527%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175466175529%_))
(let ((_%e175467175532%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl175466175529%_))))
(let ((_%hd175468175535%_
(let ()
(declare (not safe))
(##car _%e175467175532%_)))
(_%tl175469175537%_
(let ()
(declare (not safe))
(##cdr _%e175467175532%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175469175537%_))
(let ((_%e175470175540%_
(let ()
(declare
(not safe))
(gx#stx-e
_%tl175469175537%_))))
(let ((_%hd175471175543%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##car _%e175470175540%_)))
(_%tl175472175545%_
(let () (declare (not safe)) (##cdr _%e175470175540%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175471175543%_))
(let ((_%e175473175548%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175471175543%_))))
(let ((_%hd175474175551%_
(let ()
(declare (not safe))
(##car _%e175473175548%_)))
(_%tl175475175553%_
(let ()
(declare (not safe))
(##cdr _%e175473175548%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd175474175551%_))
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#call _%hd175474175551%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175475175553%_))
(let ((_%e175476175556%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175475175553%_))))
(let ((_%hd175477175559%_
(let ()
(declare (not safe))
(##car _%e175476175556%_)))
(_%tl175478175561%_
(let ()
(declare (not safe))
(##cdr _%e175476175556%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd175477175559%_))
(let ((_%e175479175564%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175477175559%_))))
(let ((_%hd175480175567%_
(let ()
(declare (not safe))
(##car _%e175479175564%_)))
(_%tl175481175569%_
(let ()
(declare (not safe))
(##cdr _%e175479175564%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd175480175567%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd175480175567%_))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl175481175569%_))
(let ((_%e175482175572%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl175481175569%_))))
(let ((_%hd175483175575%_
(let ()
(declare (not safe))
(##car _%e175482175572%_)))
(_%tl175484175577%_
(let ()
(declare (not safe))
(##cdr _%e175482175572%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175484175577%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175478175561%_))
(let ((_%e175485175580%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175478175561%_))))
(let ((_%hd175486175583%_
(let ()
(declare (not safe))
(##car _%e175485175580%_)))
(_%tl175487175585%_
(let ()
(declare (not safe))
(##cdr _%e175485175580%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175486175583%_))
(let ((_%e175488175588%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175486175583%_))))
(let ((_%hd175489175591%_
(let ()
(declare (not safe))
(##car _%e175488175588%_)))
(_%tl175490175593%_
(let ()
(declare (not safe))
(##cdr _%e175488175588%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd175489175591%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd175489175591%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175490175593%_))
(let ((_%e175491175596%_
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#stx-e _%tl175490175593%_))))
(let ((_%hd175492175599%_
(let ()
(declare (not safe))
(##car _%e175491175596%_)))
(_%tl175493175601%_
(let ()
(declare (not safe))
(##cdr _%e175491175596%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175493175601%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175487175585%_))
(let ((_%e175494175604%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175487175585%_))))
(let ((_%hd175495175607%_
(let ()
(declare (not safe))
(##car _%e175494175604%_)))
(_%tl175496175609%_
(let ()
(declare (not safe))
(##cdr _%e175494175604%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175495175607%_))
(let ((_%e175497175612%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175495175607%_))))
(let ((_%hd175498175615%_
(let ()
(declare (not safe))
(##car _%e175497175612%_)))
(_%tl175499175617%_
(let ()
(declare (not safe))
(##cdr _%e175497175612%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd175498175615%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd175498175615%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl175499175617%_))
(let ((_%e175500175620%_
(let ()
(declare
(not safe))
(gx#stx-e
_%tl175499175617%_))))
(let ((_%hd175501175623%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##car _%e175500175620%_)))
(_%tl175502175625%_
(let () (declare (not safe)) (##cdr _%e175500175620%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175502175625%_))
(if (let ()
(declare (not safe))
(gx#stx-pair/null? _%tl175496175609%_))
(if (let ((__tmp177871
(let ()
(declare (not safe))
(gx#stx-length _%tl175496175609%_))))
(declare (not safe))
(##fx>= __tmp177871 '1))
(let ((_g177872_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl175496175609%_
'1))))
(begin
(let ((_g177873_
(let ()
(declare (not safe))
(if (##values? _g177872_)
(##vector-length _g177872_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177873_ 2)))
(error "Context expects 2 values"
_g177873_)))
(let ((_%target175503175628%_
(let ()
(declare (not safe))
(##vector-ref _g177872_ 0)))
(_%tl175505175630%_
(let ()
(declare (not safe))
(##vector-ref _g177872_ 1))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175505175630%_))
(let ((_%e175512175633%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175505175630%_))))
(let ((_%hd175513175636%_
(let ()
(declare (not safe))
(##car _%e175512175633%_)))
(_%tl175514175638%_
(let ()
(declare (not safe))
(##cdr _%e175512175633%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl175514175638%_))
(letrec ((_%loop175506175641%_
(lambda (_%hd175504175644%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%kw-ref175510175646%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175504175644%_))
(let ((_%e175507175649%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175504175644%_))))
(let ((_%lp-hd175508175652%_
(let ()
(declare (not safe))
(##car _%e175507175649%_)))
(_%lp-tl175509175654%_
(let ()
(declare (not safe))
(##cdr _%e175507175649%_))))
(_%loop175506175641%_
_%lp-tl175509175654%_
(cons _%lp-hd175508175652%_
_%kw-ref175510175646%_))))
(let ((_%kw-ref175511175657%_
(reverse _%kw-ref175510175646%_)))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175472175545%_))
((lambda (_%L175660%_
_%L175661%_
_%L175662%_
_%L175663%_
_%L175664%_)
(let* ((_%kw-count175715%_
(length (let ((__tmp177874
(lambda (_%g175707175710%_
_%g175708175712%_)
(cons _%g175707175710%_
_%g175708175712%_))))
(declare (not safe))
(__foldr1
__tmp177874
'()
_%L175661%_))))
(_%self-index175717%_
(let ()
(declare (not safe))
(##fx+ _%kw-count175715%_ '1))))
(if (let ()
(declare (not safe))
(gxc#lambda-expr? _%L175415%_))
(let* ((_%g175721175735%_
(lambda (_%g175722175732%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175722175732%_))))
(_%g175720175858%_
(lambda (_%g175722175738%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g175722175738%_))
(let ((_%e175725175740%_
(let ()
(declare
(not safe))
(gx#stx-e
_%g175722175738%_))))
(let ((_%hd175726175743%_
(let ()
(declare
(not safe))
(##car _%e175725175740%_)))
(_%tl175727175745%_
(let ()
(declare
(not safe))
(##cdr _%e175725175740%_))))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl175727175745%_))
(let ((_%e175728175748%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl175727175745%_))))
(let ((_%hd175729175751%_
(let ()
(declare (not safe))
(##car _%e175728175748%_)))
(_%tl175730175753%_
(let ()
(declare (not safe))
(##cdr _%e175728175748%_))))
((lambda (_%L175756%_ _%L175757%_)
(let* ((_%self175774%_
(list-ref _%L175757%_ _%self-index175717%_))
(_%receiver175779%_
(let ((_%$e175776%_
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0
'#f
'%#begin))
_%L175756%_))))
(if _%$e175776%_
_%$e175776%_
_%self175774%_))))
(for-each
(lambda (_%g175781175783%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver175779%_
_%method-calls173707%_
_%slot-refs173708%_
_%g175781175783%_))
_%L175756%_)
(if (_%no-specializer?173711%_)
_%stx173615%_
(let* ((_%specializer-id175792%_
(let* ((_%id175786%_
(let ((__tmp177875
(let ()
(declare (not safe))
(gx#stx-e
_%L173688%_))))
(declare (not safe))
(make-symbol__1
__tmp177875
'"::specialize")))
(_%specializer-id175789%_
(let ((__tmp177876
(let ()
(declare (not safe))
(gx#stx-source
_%stx173615%_))))
(declare (not safe))
(gx#core-quote-syntax__1
_%id175786%_
__tmp177876))))
(let ()
(declare (not safe))
(gx#core-bind-runtime!__0
_%specializer-id175789%_))
_%specializer-id175789%_))
(_%$klass175794%_
(let ((__tmp177877
(let ()
(declare (not safe))
(##gensym '__klass))))
(declare (not safe))
(make-symbol__0 __tmp177877)))
(_%$method-table175796%_
(let ((__tmp177878
(let ()
(declare (not safe))
(##gensym '__method-table))))
(declare (not safe))
(make-symbol__0 __tmp177878)))
(_%methods175798%_
(let ()
(declare (not safe))
(__hash-keys
_%method-calls173707%_)))
(_%$methods175802%_
(map (lambda (_%id175800%_)
(let ((__tmp177879
(gensym _%id175800%_)))
(declare (not safe))
(make-symbol__1
'"__"
__tmp177879)))
_%methods175798%_))
(_%_175811%_
(for-each
(lambda (_%g175803175806%_
_%g175804175808%_)
(let ()
(declare (not safe))
(__hash-put!
_%method-calls173707%_
_%g175803175806%_
_%g175804175808%_)))
_%methods175798%_
_%$methods175802%_))
(_%methods-bind175821%_
(map (lambda (_%g175813175816%_
_%g175814175818%_)
(_%generate-method-bind173617%_
_%$klass175794%_
_%$method-table175796%_
_%g175813175816%_
_%g175814175818%_))
_%methods175798%_
_%$methods175802%_))
(_%slots175823%_
(let ()
(declare (not safe))
(__hash-keys _%slot-refs173708%_)))
(_%$slots175827%_
(map (lambda (_%id175825%_)
(let ((__tmp177880
(gensym _%id175825%_)))
(declare (not safe))
(make-symbol__1
'"__"
__tmp177880)))
_%slots175823%_))
(_%_175836%_
(for-each
(lambda (_%g175828175831%_
_%g175829175833%_)
(let ()
(declare (not safe))
(__hash-put!
_%slot-refs173708%_
_%g175828175831%_
_%g175829175833%_)))
_%slots175823%_
_%$slots175827%_))
(_%slots-bind175845%_
(map (lambda (_%g175837175840%_
_%g175838175842%_)
(_%generate-slot-bind173618%_
_%$klass175794%_
_%g175837175840%_
_%g175838175842%_))
_%slots175823%_
_%$slots175827%_))
(_%specializer-impl175853%_
(let* ((_%specializer-body175851%_
(map (lambda (_%g175846175848%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver175779%_
_%$klass175794%_
_%method-calls173707%_
_%slot-refs173708%_
_%g175846175848%_))
_%L175756%_))
(__tmp177881
(cons '%#let-values
(cons (cons (cons (cons _%L175417%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'())
(cons (cons '%#let-values
(cons (cons (cons (cons _%L175416%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'())
(cons (let ((__tmp177882
(cons '%#lambda
(cons _%L175757%_
_%specializer-body175851%_))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177882 _%L175415%_))
'()))
'())
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(cons _%L175414%_ '())))
'()))
'())
(cons _%L175413%_ '())))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177881
_%stx173615%_)))
(_%specializer-impl175855%_
(_%generate-specializer-impl173619%_
_%$klass175794%_
_%$method-table175796%_
_%methods-bind175821%_
_%slots-bind175845%_
_%specializer-impl175853%_)))
(let ((__tmp177884
(let ()
(declare (not safe))
(gx#stx-e _%L173688%_)))
(__tmp177883
(let ()
(declare (not safe))
(gx#stx-e
_%specializer-id175792%_))))
(declare (not safe))
(gxc#verbose
'"generate method specializer "
__tmp177884
'" => "
__tmp177883))
(_%generate-specializer-def173620%_
_%L173688%_
_%specializer-id175792%_
_%specializer-impl175855%_)))))
_%tl175730175753%_
_%hd175729175751%_)))
(_%g175721175735%_ _%g175722175738%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175721175735%_
_%g175722175738%_)))))
(_%g175720175858%_ _%L175415%_))
(if (let ()
(declare (not safe))
(gxc#opt-lambda-expr? _%L175415%_))
(let* ((_%g175862175892%_
(lambda (_%g175863175889%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175863175889%_))))
(_%g175861176460%_
(lambda (_%g175863175895%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%g175863175895%_))
(let ((_%e175867175897%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-e _%g175863175895%_))))
(let ((_%hd175868175900%_
(let ()
(declare (not safe))
(##car _%e175867175897%_)))
(_%tl175869175902%_
(let ()
(declare (not safe))
(##cdr _%e175867175897%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175869175902%_))
(let ((_%e175870175905%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175869175902%_))))
(let ((_%hd175871175908%_
(let ()
(declare (not safe))
(##car _%e175870175905%_)))
(_%tl175872175910%_
(let ()
(declare (not safe))
(##cdr _%e175870175905%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175871175908%_))
(let ((_%e175873175913%_
(let ()
(declare (not safe))
(gx#stx-e _%hd175871175908%_))))
(let ((_%hd175874175916%_
(let ()
(declare (not safe))
(##car _%e175873175913%_)))
(_%tl175875175918%_
(let ()
(declare (not safe))
(##cdr _%e175873175913%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd175874175916%_))
(let ((_%e175876175921%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175874175916%_))))
(let ((_%hd175877175924%_
(let ()
(declare (not safe))
(##car _%e175876175921%_)))
(_%tl175878175926%_
(let ()
(declare (not safe))
(##cdr _%e175876175921%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd175877175924%_))
(let ((_%e175879175929%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd175877175924%_))))
(let ((_%hd175880175932%_
(let ()
(declare (not safe))
(##car _%e175879175929%_)))
(_%tl175881175934%_
(let ()
(declare (not safe))
(##cdr _%e175879175929%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl175881175934%_))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl175878175926%_))
(let ((_%e175882175937%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl175878175926%_))))
(let ((_%hd175883175940%_
(let ()
(declare (not safe))
(##car _%e175882175937%_)))
(_%tl175884175942%_
(let ()
(declare (not safe))
(##cdr _%e175882175937%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175884175942%_))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175875175918%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175872175910%_))
(let ((_%e175885175945%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175872175910%_))))
(let ((_%hd175886175948%_
(let ()
(declare (not safe))
(##car _%e175885175945%_)))
(_%tl175887175950%_
(let ()
(declare (not safe))
(##cdr _%e175885175945%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl175887175950%_))
((lambda (_%L175953%_
_%L175954%_
_%L175955%_)
(let* ((_%g175979175993%_
(lambda (_%g175980175990%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g175980175990%_))))
(_%g175978176040%_
(lambda (_%g175980175996%_)
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%g175980175996%_))
(let ((_%e175983175998%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%g175980175996%_))))
(let ((_%hd175984176001%_
(let ()
(declare (not safe))
(##car _%e175983175998%_)))
(_%tl175985176003%_
(let ()
(declare (not safe))
(##cdr _%e175983175998%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl175985176003%_))
(let ((_%e175986176006%_
(let ()
(declare (not safe))
(gx#stx-e _%tl175985176003%_))))
(let ((_%hd175987176009%_
(let ()
(declare (not safe))
(##car _%e175986176006%_)))
(_%tl175988176011%_
(let ()
(declare (not safe))
(##cdr _%e175986176006%_))))
((lambda (_%L176014%_ _%L176015%_)
(let* ((_%self176028%_
(list-ref
_%L176015%_
_%self-index175717%_))
(_%receiver176033%_
(let ((_%$e176030%_
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0
'#f
'%#begin))
_%L176014%_))))
(if _%$e176030%_
_%$e176030%_
_%self176028%_))))
(for-each
(lambda (_%g176035176037%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver176033%_
_%method-calls173707%_
_%slot-refs173708%_
_%g176035176037%_))
_%L176014%_)))
_%tl175988176011%_
_%hd175987176009%_)))
(_%g175979175993%_ _%g175980175996%_))))
(_%g175979175993%_ _%g175980175996%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175978176040%_
_%L175954%_))
(let* ((_%g176043176062%_
(lambda (_%g176044176059%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g176044176059%_))))
(_%g176042176173%_
(lambda (_%g176044176065%_)
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%g176044176065%_))
(let ((_%e176046176067%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%g176044176065%_))))
(let ((_%hd176047176070%_
(let ()
(declare (not safe))
(##car _%e176046176067%_)))
(_%tl176048176072%_
(let ()
(declare (not safe))
(##cdr _%e176046176067%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair/null? _%tl176048176072%_))
(let ((_g177885_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl176048176072%_
'0))))
(begin
(let ((_g177886_
(let ()
(declare (not safe))
(if (##values? _g177885_)
(##vector-length _g177885_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177886_ 2)))
(error "Context expects 2 values"
_g177886_)))
(let ((_%target176049176075%_
(let ()
(declare (not safe))
(##vector-ref _g177885_ 0)))
(_%tl176051176077%_
(let ()
(declare (not safe))
(##vector-ref _g177885_ 1))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl176051176077%_))
(letrec ((_%loop176052176080%_
(lambda (_%hd176050176083%_
_%clause176056176085%_)
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd176050176083%_))
(let ((_%e176053176088%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-e _%hd176050176083%_))))
(let ((_%lp-hd176054176091%_
(let () (declare (not safe)) (##car _%e176053176088%_)))
(_%lp-tl176055176093%_
(let ()
(declare (not safe))
(##cdr _%e176053176088%_))))
(_%loop176052176080%_
_%lp-tl176055176093%_
(cons _%lp-hd176054176091%_ _%clause176056176085%_))))
(let ((_%clause176057176096%_ (reverse _%clause176056176085%_)))
((lambda (_%L176099%_)
(for-each
(lambda (_%clause176112%_)
(let* ((_%g176114176125%_
(lambda (_%g176115176122%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g176115176122%_))))
(_%g176113176163%_
(lambda (_%g176115176128%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g176115176128%_))
(let ((_%e176118176130%_
(let ()
(declare (not safe))
(gx#stx-e _%g176115176128%_))))
(let ((_%hd176119176133%_
(let ()
(declare (not safe))
(##car _%e176118176130%_)))
(_%tl176120176135%_
(let ()
(declare (not safe))
(##cdr _%e176118176130%_))))
((lambda (_%L176138%_ _%L176139%_)
(let* ((_%self176151%_
(list-ref
_%L176139%_
_%self-index175717%_))
(_%receiver176156%_
(let ((_%$e176153%_
(gxc#apply-extract-receiver
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L176138%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(if _%$e176153%_
_%$e176153%_
_%self176151%_))))
(for-each
(lambda (_%g176158176160%_)
(gxc#apply-collect-object-refs__%
'#f
_%receiver176156%_
_%method-calls173707%_
_%slot-refs173708%_
_%g176158176160%_))
_%L176138%_)))
_%tl176120176135%_
_%hd176119176133%_)))
(_%g176114176125%_ _%g176115176128%_)))))
(_%g176113176163%_ _%clause176112%_)))
(let ((__tmp177887
(lambda (_%g176165176168%_ _%g176166176170%_)
(cons _%g176165176168%_ _%g176166176170%_))))
(declare (not safe))
(__foldr1 __tmp177887 '() _%L176099%_))))
_%clause176057176096%_))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%loop176052176080%_
_%target176049176075%_
'()))
(_%g176043176062%_ _%g176044176065%_)))))
(_%g176043176062%_ _%g176044176065%_))))
(_%g176043176062%_ _%g176044176065%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g176042176173%_
_%L175953%_))
(if (_%no-specializer?173711%_)
_%stx173615%_
(let* ((_%specializer-id176182%_
(let* ((_%id176176%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ((__tmp177888
(let ()
(declare (not safe))
(gx#stx-e _%L173688%_))))
(declare (not safe))
(make-symbol__1 __tmp177888 '"::specialize")))
(_%specializer-id176179%_
(let ((__tmp177889
(let ()
(declare (not safe))
(gx#stx-source _%stx173615%_))))
(declare (not safe))
(gx#core-quote-syntax__1
_%id176176%_
__tmp177889))))
(let ()
(declare (not safe))
(gx#core-bind-runtime!__0 _%specializer-id176179%_))
_%specializer-id176179%_))
(_%$klass176184%_
(let ((__tmp177890
(let () (declare (not safe)) (##gensym '__klass))))
(declare (not safe))
(make-symbol__0 __tmp177890)))
(_%$method-table176186%_
(let ((__tmp177891
(let ()
(declare (not safe))
(##gensym '__method-table))))
(declare (not safe))
(make-symbol__0 __tmp177891)))
(_%methods176188%_
(let ()
(declare (not safe))
(__hash-keys _%method-calls173707%_)))
(_%$methods176192%_
(map (lambda (_%id176190%_)
(let ((__tmp177892 (gensym _%id176190%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177892)))
_%methods176188%_))
(_%_176201%_
(for-each
(lambda (_%g176193176196%_ _%g176194176198%_)
(let ()
(declare (not safe))
(__hash-put!
_%method-calls173707%_
_%g176193176196%_
_%g176194176198%_)))
_%methods176188%_
_%$methods176192%_))
(_%methods-bind176211%_
(map (lambda (_%g176203176206%_ _%g176204176208%_)
(_%generate-method-bind173617%_
_%$klass176184%_
_%$method-table176186%_
_%g176203176206%_
_%g176204176208%_))
_%methods176188%_
_%$methods176192%_))
(_%slots176213%_
(let ()
(declare (not safe))
(__hash-keys _%slot-refs173708%_)))
(_%$slots176217%_
(map (lambda (_%id176215%_)
(let ((__tmp177893 (gensym _%id176215%_)))
(declare (not safe))
(make-symbol__1 '"__" __tmp177893)))
_%slots176213%_))
(_%_176226%_
(for-each
(lambda (_%g176218176221%_ _%g176219176223%_)
(let ()
(declare (not safe))
(__hash-put!
_%slot-refs173708%_
_%g176218176221%_
_%g176219176223%_)))
_%slots176213%_
_%$slots176217%_))
(_%slots-bind176235%_
(map (lambda (_%g176227176230%_ _%g176228176232%_)
(_%generate-slot-bind173618%_
_%$klass176184%_
_%g176227176230%_
_%g176228176232%_))
_%slots176213%_
_%$slots176217%_))
(_%specializer-lambda-expr176313%_
(let* ((_%g176237176251%_
(lambda (_%g176238176248%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g176238176248%_))))
(_%g176236176310%_
(lambda (_%g176238176254%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g176238176254%_))
(let ((_%e176241176256%_
(let ()
(declare (not safe))
(gx#stx-e _%g176238176254%_))))
(let ((_%hd176242176259%_
(let ()
(declare (not safe))
(##car _%e176241176256%_)))
(_%tl176243176261%_
(let ()
(declare (not safe))
(##cdr _%e176241176256%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl176243176261%_))
(let ((_%e176244176264%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl176243176261%_))))
(let ((_%hd176245176267%_
(let ()
(declare (not safe))
(##car _%e176244176264%_)))
(_%tl176246176269%_
(let ()
(declare (not safe))
(##cdr _%e176244176264%_))))
((lambda (_%L176272%_ _%L176273%_)
(let* ((_%self176296%_
(list-ref
_%L176273%_
_%self-index175717%_))
(_%receiver176301%_
(let ((_%$e176298%_
(gxc#apply-extract-receiver
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#datum->syntax__0 '#f '%#begin))
_%L176272%_))))
(if _%$e176298%_ _%$e176298%_ _%self176296%_)))
(_%body176307%_
(map (lambda (_%g176302176304%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver176301%_
_%$klass176184%_
_%method-calls173707%_
_%slot-refs173708%_
_%g176302176304%_))
_%L176272%_))
(__tmp177894 (cons '%#lambda (cons _%L176273%_ _%body176307%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177894
_%L175954%_)))
_%tl176246176269%_
_%hd176245176267%_)))
(_%g176237176251%_
_%g176238176254%_))))
(_%g176237176251%_ _%g176238176254%_)))))
(_%g176236176310%_ _%L175954%_)))
(_%specializer-case-lambda-expr176453%_
(let* ((_%g176315176334%_
(lambda (_%g176316176331%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g176316176331%_))))
(_%g176314176450%_
(lambda (_%g176316176337%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g176316176337%_))
(let ((_%e176318176339%_
(let ()
(declare (not safe))
(gx#stx-e _%g176316176337%_))))
(let ((_%hd176319176342%_
(let ()
(declare (not safe))
(##car _%e176318176339%_)))
(_%tl176320176344%_
(let ()
(declare (not safe))
(##cdr _%e176318176339%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair/null?
_%tl176320176344%_))
(let ((_g177895_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl176320176344%_
'0))))
(begin
(let ((_g177896_
(let ()
(declare (not safe))
(if (##values? _g177895_)
(##vector-length
_g177895_)
1))))
(if (not (let ()
(declare (not safe))
(##fx= _g177896_ 2)))
(error "Context expects 2 values"
_g177896_)))
(let ((_%target176321176347%_
(let ()
(declare (not safe))
(##vector-ref
_g177895_
0)))
(_%tl176323176349%_
(let ()
(declare (not safe))
(##vector-ref
_g177895_
1))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl176323176349%_))
(letrec ((_%loop176324176352%_
(lambda (_%hd176322176355%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
_%clause176328176357%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd176322176355%_))
(let ((_%e176325176360%_
(let ()
(declare (not safe))
(gx#stx-e _%hd176322176355%_))))
(let ((_%lp-hd176326176363%_
(let ()
(declare (not safe))
(##car _%e176325176360%_)))
(_%lp-tl176327176365%_
(let ()
(declare (not safe))
(##cdr _%e176325176360%_))))
(_%loop176324176352%_
_%lp-tl176327176365%_
(cons _%lp-hd176326176363%_
_%clause176328176357%_))))
(let ((_%clause176329176368%_
(reverse _%clause176328176357%_)))
((lambda (_%L176371%_)
(let* ((_%clauses176448%_
(map (lambda (_%clause176385%_)
(let* ((_%g176387176398%_
(lambda (_%g176388176395%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g176388176395%_))))
(_%g176386176438%_
(lambda (_%g176388176401%_)
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%g176388176401%_))
(let ((_%e176391176403%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%g176388176401%_))))
(let ((_%hd176392176406%_
(let ()
(declare (not safe))
(##car _%e176391176403%_)))
(_%tl176393176408%_
(let ()
(declare (not safe))
(##cdr _%e176391176403%_))))
((lambda (_%L176411%_ _%L176412%_)
(let* ((_%self176424%_
(list-ref _%L176412%_ _%self-index175717%_))
(_%receiver176429%_
(let ((_%$e176426%_
(gxc#apply-extract-receiver
(cons (let ()
(declare (not safe))
(gx#datum->syntax__0
'#f
'%#begin))
_%L176411%_))))
(if _%$e176426%_
_%$e176426%_
_%self176424%_)))
(_%body176435%_
(map (lambda (_%g176430176432%_)
(gxc#apply-subst-object-refs__%
'#f
_%receiver176429%_
_%$klass176184%_
_%method-calls173707%_
_%slot-refs173708%_
_%g176430176432%_))
_%L176411%_)))
(cons _%L176412%_ _%body176435%_)))
_%tl176393176408%_
_%hd176392176406%_)))
(_%g176387176398%_ _%g176388176401%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g176386176438%_
_%clause176385%_)))
(let ((__tmp177897
(lambda (_%g176440176443%_
_%g176441176445%_)
(cons _%g176440176443%_
_%g176441176445%_))))
(declare (not safe))
(__foldr1
__tmp177897
'()
_%L176371%_))))
(__tmp177898
(cons '%#case-lambda
_%clauses176448%_)))
(declare (not safe))
(gxc#xform-wrap-source
__tmp177898
_%L175953%_)))
_%clause176329176368%_))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%loop176324176352%_
_%target176321176347%_
'()))
(_%g176315176334%_
_%g176316176337%_)))))
(_%g176315176334%_
_%g176316176337%_))))
(_%g176315176334%_ _%g176316176337%_)))))
(_%g176314176450%_ _%L175953%_)))
(_%specializer-impl176455%_
(let ((__tmp177899
(cons '%#let-values
(cons (cons (cons (cons _%L175417%_ '())
(cons (cons '%#let-values
(cons (cons (cons (cons _%L175416%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'())
(cons (let ((__tmp177900
(cons '%#let-values
(cons (cons (cons (cons _%L175955%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'())
(cons _%specializer-lambda-expr176313%_
'()))
'())
(cons _%specializer-case-lambda-expr176453%_ '())))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177900
_%stx173615%_))
'()))
'())
(cons _%L175414%_ '())))
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'())
(cons _%L175413%_ '())))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177899 _%stx173615%_)))
(_%specializer-impl176457%_
(_%generate-specializer-impl173619%_
_%$klass176184%_
_%$method-table176186%_
_%methods-bind176211%_
_%slots-bind176235%_
_%specializer-impl176455%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(let ((__tmp177902
(let ()
(declare
(not safe))
(gx#stx-e
_%L173688%_)))
(__tmp177901
(let ()
(declare
(not safe))
(gx#stx-e
_%specializer-id176182%_))))
(declare (not safe))
(gxc#verbose
'"generate method specializer "
__tmp177902
'" => "
__tmp177901))
(_%generate-specializer-def173620%_
_%L173688%_
_%specializer-id176182%_
_%specializer-impl176457%_))))
_%hd175886175948%_
_%hd175883175940%_
_%hd175880175932%_)
(_%g175862175892%_
_%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_))
(_%g175862175892%_ _%g175863175895%_))
(_%g175862175892%_ _%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_))
(_%g175862175892%_ _%g175863175895%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175862175892%_
_%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_))))
(_%g175862175892%_ _%g175863175895%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175861176460%_ _%L175415%_))
_%stx173615%_))))
_%hd175513175636%_
_%kw-ref175511175657%_
_%hd175501175623%_
_%hd175492175599%_
_%hd175483175575%_)
(_%g175457175519%_ _%g175458175522%_)))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%loop175506175641%_
_%target175503175628%_
'()))
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_)))))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175457175519%_
_%g175458175522%_))
(_%g175457175519%_
_%g175458175522%_))
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175457175519%_
_%g175458175522%_))
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175457175519%_
_%g175458175522%_))))
(_%g175457175519%_
_%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))
(_%g175457175519%_ _%g175458175522%_))))
(_%g175457175519%_ _%g175458175522%_)))))
(_%g175456176464%_ _%L175414%_)))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
_%hd175290175408%_
_%hd175287175400%_
_%hd175284175392%_
_%hd175281175384%_
_%hd175263175336%_)
(_%g175243175296%_
_%g175244175299%_))))
(_%g175243175296%_
_%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175243175296%_
_%g175244175299%_))
(_%g175243175296%_
_%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175243175296%_
_%g175244175299%_))
(_%g175243175296%_
_%g175244175299%_))
(_%g175243175296%_
_%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175243175296%_
_%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))
(_%g175243175296%_ _%g175244175299%_))))
(_%g175243175296%_ _%g175244175299%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%g175242176467%_ _%L173687%_))
_%stx173615%_))))))))
(_%__kont176701176702%_ (lambda () _%stx173615%_)))
(let ((_%__match176730176731%_
(lambda (_%e173627173655%_
_%hd173628173658%_
_%tl173629173660%_
_%e173630173663%_
_%hd173631173666%_
_%tl173632173668%_
_%e173633173671%_
_%hd173634173674%_
_%tl173635173676%_
_%e173636173679%_
_%hd173637173682%_
_%tl173638173684%_)
(let ((_%L173687%_ _%hd173637173682%_)
(_%L173688%_ _%hd173634173674%_))
(if (let ((__tmp177903
(let ()
(declare (not safe))
(gxc#identifier-symbol _%L173688%_))))
(declare (not safe))
(gxc#optimizer-top-level-method? __tmp177903))
(_%__kont176699176700%_ _%L173687%_ _%L173688%_)
(_%__kont176701176702%_))))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx176697176698%_))
(let ((_%e173627173655%_
(let ()
(declare (not safe))
(gx#stx-e _%__stx176697176698%_))))
(let ((_%tl173629173660%_
(let ()
(declare (not safe))
(##cdr _%e173627173655%_)))
(_%hd173628173658%_
(let ()
(declare (not safe))
(##car _%e173627173655%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173629173660%_))
(let ((_%e173630173663%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173629173660%_))))
(let ((_%tl173632173668%_
(let ()
(declare (not safe))
(##cdr _%e173630173663%_)))
(_%hd173631173666%_
(let ()
(declare (not safe))
(##car _%e173630173663%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd173631173666%_))
(let ((_%e173633173671%_
(let ()
(declare (not safe))
(gx#stx-e _%hd173631173666%_))))
(let ((_%tl173635173676%_
(let ()
(declare (not safe))
(##cdr _%e173633173671%_)))
(_%hd173634173674%_
(let ()
(declare (not safe))
(##car _%e173633173671%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173635173676%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173632173668%_))
(let ((_%e173636173679%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl173632173668%_))))
(let ((_%tl173638173684%_
(let ()
(declare (not safe))
(##cdr _%e173636173679%_)))
(_%hd173637173682%_
(let ()
(declare (not safe))
(##car _%e173636173679%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173638173684%_))
(_%__match176730176731%_
_%e173627173655%_
_%hd173628173658%_
_%tl173629173660%_
_%e173630173663%_
_%hd173631173666%_
_%tl173632173668%_
_%e173633173671%_
_%hd173634173674%_
_%tl173635173676%_
_%e173636173679%_
_%hd173637173682%_
_%tl173638173684%_)
(_%__kont176701176702%_))))
(_%__kont176701176702%_))
(_%__kont176701176702%_))))
(_%__kont176701176702%_))))
(_%__kont176701176702%_))))
(_%__kont176701176702%_))))))))
(define gxc#extract-receiver-begin-annotation%
(lambda (_%self173467%_ _%stx173468%_)
(let* ((_%__stx176733176734%_ _%stx173468%_)
(_%g173471173504%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176733176734%_)))))
(let ((_%__kont176735176736%_ (lambda (_%L173594%_) _%L173594%_))
(_%__kont176737176738%_
(lambda (_%L173533%_ _%L173534%_)
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self173467%_ _%L173533%_)))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx176733176734%_))
(let ((_%e173474173554%_
(let ()
(declare (not safe))
(gx#stx-e _%__stx176733176734%_))))
(let ((_%tl173476173559%_
(let ()
(declare (not safe))
(##cdr _%e173474173554%_)))
(_%hd173475173557%_
(let ()
(declare (not safe))
(##car _%e173474173554%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173476173559%_))
(let ((_%e173477173562%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173476173559%_))))
(let ((_%tl173479173567%_
(let ()
(declare (not safe))
(##cdr _%e173477173562%_)))
(_%hd173478173565%_
(let ()
(declare (not safe))
(##car _%e173477173562%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd173478173565%_))
(let ((_%e173480173570%_
(let ()
(declare (not safe))
(gx#stx-e _%hd173478173565%_))))
(let ((_%tl173482173575%_
(let ()
(declare (not safe))
(##cdr _%e173480173570%_)))
(_%hd173481173573%_
(let ()
(declare (not safe))
(##car _%e173480173570%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd173481173573%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'@receiver
_%hd173481173573%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173482173575%_))
(let ((_%e173483173578%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl173482173575%_))))
(let ((_%tl173485173583%_
(let ()
(declare (not safe))
(##cdr _%e173483173578%_)))
(_%hd173484173581%_
(let ()
(declare (not safe))
(##car _%e173483173578%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173485173583%_))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl173479173567%_))
(let ((_%e173486173586%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl173479173567%_))))
(let ((_%tl173488173591%_
(let ()
(declare (not safe))
(##cdr _%e173486173586%_)))
(_%hd173487173589%_
(let ()
(declare (not safe))
(##car _%e173486173586%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl173488173591%_))
(_%__kont176735176736%_ _%hd173484173581%_)
(let ()
(declare (not safe))
(_%g173471173504%_)))))
(let () (declare (not safe)) (_%g173471173504%_)))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173479173567%_))
(let ((_%e173497173525%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173479173567%_))))
(let ((_%tl173499173530%_
(let ()
(declare (not safe))
(##cdr _%e173497173525%_)))
(_%hd173498173528%_
(let ()
(declare (not safe))
(##car _%e173497173525%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl173499173530%_))
(_%__kont176737176738%_
_%hd173498173528%_
_%hd173478173565%_)
(let ()
(declare (not safe))
(_%g173471173504%_)))))
(let () (declare (not safe)) (_%g173471173504%_))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173479173567%_))
(let ((_%e173497173525%_
(let ()
(declare
(not safe))
(gx#stx-e
_%tl173479173567%_))))
(let ((_%tl173499173530%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##cdr _%e173497173525%_)))
(_%hd173498173528%_
(let () (declare (not safe)) (##car _%e173497173525%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl173499173530%_))
(_%__kont176737176738%_
_%hd173498173528%_
_%hd173478173565%_)
(let () (declare (not safe)) (_%g173471173504%_)))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(let ()
(declare (not safe))
(_%g173471173504%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173479173567%_))
(let ((_%e173497173525%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl173479173567%_))))
(let ((_%tl173499173530%_
(let ()
(declare (not safe))
(##cdr _%e173497173525%_)))
(_%hd173498173528%_
(let ()
(declare (not safe))
(##car _%e173497173525%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173499173530%_))
(_%__kont176737176738%_
_%hd173498173528%_
_%hd173478173565%_)
(let ()
(declare (not safe))
(_%g173471173504%_)))))
(let ()
(declare (not safe))
(_%g173471173504%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173479173567%_))
(let ((_%e173497173525%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl173479173567%_))))
(let ((_%tl173499173530%_
(let ()
(declare (not safe))
(##cdr _%e173497173525%_)))
(_%hd173498173528%_
(let ()
(declare (not safe))
(##car _%e173497173525%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173499173530%_))
(_%__kont176737176738%_
_%hd173498173528%_
_%hd173478173565%_)
(let ()
(declare (not safe))
(_%g173471173504%_)))))
(let ()
(declare (not safe))
(_%g173471173504%_))))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173479173567%_))
(let ((_%e173497173525%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173479173567%_))))
(let ((_%tl173499173530%_
(let ()
(declare (not safe))
(##cdr _%e173497173525%_)))
(_%hd173498173528%_
(let ()
(declare (not safe))
(##car _%e173497173525%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173499173530%_))
(_%__kont176737176738%_
_%hd173498173528%_
_%hd173478173565%_)
(let ()
(declare (not safe))
(_%g173471173504%_)))))
(let ()
(declare (not safe))
(_%g173471173504%_))))))
(let () (declare (not safe)) (_%g173471173504%_)))))
(let () (declare (not safe)) (_%g173471173504%_)))))))
(define gxc#extract-receiver-if%
(lambda (_%self173383%_ _%stx173384%_)
(let* ((_%g173386173407%_
(lambda (_%g173387173404%_)
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%g173387173404%_))))
(_%g173385173464%_
(lambda (_%g173387173410%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%g173387173410%_))
(let ((_%e173391173412%_
(let ()
(declare (not safe))
(gx#stx-e _%g173387173410%_))))
(let ((_%hd173392173415%_
(let ()
(declare (not safe))
(##car _%e173391173412%_)))
(_%tl173393173417%_
(let ()
(declare (not safe))
(##cdr _%e173391173412%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173393173417%_))
(let ((_%e173394173420%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173393173417%_))))
(let ((_%hd173395173423%_
(let ()
(declare (not safe))
(##car _%e173394173420%_)))
(_%tl173396173425%_
(let ()
(declare (not safe))
(##cdr _%e173394173420%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl173396173425%_))
(let ((_%e173397173428%_
(let ()
(declare (not safe))
(gx#stx-e _%tl173396173425%_))))
(let ((_%hd173398173431%_
(let ()
(declare (not safe))
(##car _%e173397173428%_)))
(_%tl173399173433%_
(let ()
(declare (not safe))
(##cdr _%e173397173428%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl173399173433%_))
(let ((_%e173400173436%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl173399173433%_))))
(let ((_%hd173401173439%_
(let ()
(declare (not safe))
(##car _%e173400173436%_)))
(_%tl173402173441%_
(let ()
(declare (not safe))
(##cdr _%e173400173436%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl173402173441%_))
((lambda (_%L173444%_
_%L173445%_
_%L173446%_)
(let ()
(declare (not safe))
(gxc#compile-e__1
_%self173383%_
_%L173445%_)))
_%hd173401173439%_
_%hd173398173431%_
_%hd173395173423%_)
(_%g173386173407%_
_%g173387173410%_))))
(_%g173386173407%_
_%g173387173410%_))))
(_%g173386173407%_ _%g173387173410%_))))
(_%g173386173407%_ _%g173387173410%_))))
(_%g173386173407%_ _%g173387173410%_)))))
(_%g173385173464%_ _%stx173384%_))))
(define gxc#collect-object-refs-call%
(lambda (_%self172344%_ _%stx172345%_)
(let* ((_%__stx176799176800%_ _%stx172345%_)
(_%g172353172575%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx176799176800%_)))))
(let ((_%__kont176801176802%_
(lambda (_%L173332%_ _%L173333%_ _%L173334%_ _%L173335%_)
(let ((__tmp177905
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'methods)))
(__tmp177904
(let ()
(declare (not safe))
(gx#stx-e _%L173333%_))))
(declare (not safe))
(hash-put! __tmp177905 __tmp177904 '#t))
(for-each
(lambda (_%g173368173370%_)
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self172344%_ _%g173368173370%_)))
(let ((__tmp177906
(lambda (_%g173372173375%_ _%g173373173377%_)
(cons _%g173372173375%_ _%g173373173377%_))))
(declare (not safe))
(__foldr1 __tmp177906 '() _%L173332%_)))))
(_%__kont176805176806%_
(lambda (_%L173167%_
_%L173168%_
_%L173169%_
_%L173170%_
_%L173171%_)
(let ((__tmp177908
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'methods)))
(__tmp177907
(let ()
(declare (not safe))
(gx#stx-e _%L173168%_))))
(declare (not safe))
(hash-put! __tmp177908 __tmp177907 '#t))
(for-each
(lambda (_%g173211173213%_)
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self172344%_ _%g173211173213%_)))
(let ((__tmp177909
(lambda (_%g173215173218%_ _%g173216173220%_)
(cons _%g173215173218%_ _%g173216173220%_))))
(declare (not safe))
(__foldr1 __tmp177909 '() _%L173167%_)))))
(_%__kont176809176810%_
(lambda (_%L173000%_ _%L173001%_ _%L173002%_)
(let ((__tmp177911
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'slots)))
(__tmp177910
(let ()
(declare (not safe))
(gx#stx-e _%L173000%_))))
(declare (not safe))
(hash-put! __tmp177911 __tmp177910 '#t))))
(_%__kont176811176812%_
(lambda (_%L172877%_ _%L172878%_ _%L172879%_ _%L172880%_)
(let ((__tmp177913
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'slots)))
(__tmp177912
(let ()
(declare (not safe))
(gx#stx-e _%L172878%_))))
(declare (not safe))
(hash-put! __tmp177913 __tmp177912 '#t))
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self172344%_ _%L172877%_))))
(_%__kont176813176814%_
(lambda (_%L172751%_ _%L172752%_)
(let* ((_%accessor172774%_
(let ((__tmp177914
(let ()
(declare (not safe))
(gxc#identifier-symbol _%L172752%_))))
(declare (not safe))
(gxc#optimizer-resolve-type __tmp177914)))
(_%klass172776%_
(let ((__tmp177915
(##structure-ref
_%accessor172774%_
'1
gxc#!type::t
'#f)))
(declare (not safe))
(gxc#optimizer-resolve-class
_%stx172345%_
__tmp177915)))
(_%slot172778%_
(##structure-ref
_%accessor172774%_
'3
gxc#!accessor::t
'#f)))
(if (if (##structure-ref
_%accessor172774%_
'4
gxc#!accessor::t
'#f)
'#f
(or (let ()
(declare (not safe))
(gxc#!class-struct-slot?
_%klass172776%_
_%slot172778%_))
(let ()
(declare (not safe))
(##unchecked-structure-ref
_%klass172776%_
'8
'#f
'#f))))
'#!void
(let ((__tmp177917
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'slots)))
(__tmp177916
(##structure-ref
_%accessor172774%_
'3
gxc#!accessor::t
'#f)))
(declare (not safe))
(hash-put! __tmp177917 __tmp177916 '#t))))))
(_%__kont176815176816%_
(lambda (_%L172651%_ _%L172652%_ _%L172653%_)
(let* ((_%mutator172680%_
(let ((__tmp177918
(let ()
(declare (not safe))
(gxc#identifier-symbol _%L172653%_))))
(declare (not safe))
(gxc#optimizer-resolve-type __tmp177918)))
(_%klass172682%_
(let ((__tmp177919
(##structure-ref
_%mutator172680%_
'1
gxc#!type::t
'#f)))
(declare (not safe))
(gxc#optimizer-resolve-class
_%stx172345%_
__tmp177919)))
(_%slot172684%_
(##structure-ref
_%mutator172680%_
'3
gxc#!mutator::t
'#f)))
(if (if (##structure-ref
_%mutator172680%_
'4
gxc#!mutator::t
'#f)
'#f
(or (let ()
(declare (not safe))
(gxc#!class-struct-slot?
_%klass172682%_
_%slot172684%_))
(let ()
(declare (not safe))
(##unchecked-structure-ref
_%klass172682%_
'8
'#f
'#f))))
'#!void
(let ((__tmp177920
(let ()
(declare (not safe))
(slot-ref__0 _%self172344%_ 'slots))))
(declare (not safe))
(hash-put! __tmp177920 _%slot172684%_ '#t)))
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self172344%_ _%L172651%_)))))
(_%__kont176817176818%_
(lambda ()
(let ()
(declare (not safe))
(gxc#apply-operands _%self172344%_ _%stx172345%_)))))
(let* ((_%__match177298177299%_
(lambda (_%e172547172587%_
_%hd172548172590%_
_%tl172549172592%_
_%e172550172595%_
_%hd172551172598%_
_%tl172552172600%_
_%e172553172603%_
_%hd172554172606%_
_%tl172555172608%_
_%e172556172611%_
_%hd172557172614%_
_%tl172558172616%_
_%e172559172619%_
_%hd172560172622%_
_%tl172561172624%_
_%e172562172627%_
_%hd172563172630%_
_%tl172564172632%_
_%e172565172635%_
_%hd172566172638%_
_%tl172567172640%_
_%e172568172643%_
_%hd172569172646%_
_%tl172570172648%_)
(let ((_%L172651%_ _%hd172569172646%_)
(_%L172652%_ _%hd172566172638%_)
(_%L172653%_ _%hd172557172614%_))
(if (and (let ((__tmp177921
(let ((__tmp177922
(let ()
(declare (not safe))
(gxc#identifier-symbol
_%L172653%_))))
(declare (not safe))
(gxc#optimizer-resolve-type
__tmp177922))))
(declare (not safe))
(##structure-instance-of?
__tmp177921
'gxc#!mutator::t))
(let ((__tmp177923
(let ()
(declare (not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L172652%_
__tmp177923)))
(_%__kont176815176816%_
_%L172651%_
_%L172652%_
_%L172653%_)
(_%__kont176817176818%_)))))
(_%__match177296177297%_
(lambda (_%e172547172587%_
_%hd172548172590%_
_%tl172549172592%_
_%e172550172595%_
_%hd172551172598%_
_%tl172552172600%_
_%e172553172603%_
_%hd172554172606%_
_%tl172555172608%_
_%e172556172611%_
_%hd172557172614%_
_%tl172558172616%_
_%e172559172619%_
_%hd172560172622%_
_%tl172561172624%_
_%e172562172627%_
_%hd172563172630%_
_%tl172564172632%_
_%e172565172635%_
_%hd172566172638%_
_%tl172567172640%_
_%e172568172643%_
_%hd172569172646%_
_%tl172570172648%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172570172648%_))
(_%__match177298177299%_
_%e172547172587%_
_%hd172548172590%_
_%tl172549172592%_
_%e172550172595%_
_%hd172551172598%_
_%tl172552172600%_
_%e172553172603%_
_%hd172554172606%_
_%tl172555172608%_
_%e172556172611%_
_%hd172557172614%_
_%tl172558172616%_
_%e172559172619%_
_%hd172560172622%_
_%tl172561172624%_
_%e172562172627%_
_%hd172563172630%_
_%tl172564172632%_
_%e172565172635%_
_%hd172566172638%_
_%tl172567172640%_
_%e172568172643%_
_%hd172569172646%_
_%tl172570172648%_)
(_%__kont176817176818%_))))
(_%__match177290177291%_
(lambda (_%e172547172587%_
_%hd172548172590%_
_%tl172549172592%_
_%e172550172595%_
_%hd172551172598%_
_%tl172552172600%_
_%e172553172603%_
_%hd172554172606%_
_%tl172555172608%_
_%e172556172611%_
_%hd172557172614%_
_%tl172558172616%_
_%e172559172619%_
_%hd172560172622%_
_%tl172561172624%_
_%e172562172627%_
_%hd172563172630%_
_%tl172564172632%_
_%e172565172635%_
_%hd172566172638%_
_%tl172567172640%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172561172624%_))
(let ((_%e172568172643%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172561172624%_))))
(let ((_%tl172570172648%_
(let ()
(declare (not safe))
(##cdr _%e172568172643%_)))
(_%hd172569172646%_
(let ()
(declare (not safe))
(##car _%e172568172643%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172570172648%_))
(_%__match177298177299%_
_%e172547172587%_
_%hd172548172590%_
_%tl172549172592%_
_%e172550172595%_
_%hd172551172598%_
_%tl172552172600%_
_%e172553172603%_
_%hd172554172606%_
_%tl172555172608%_
_%e172556172611%_
_%hd172557172614%_
_%tl172558172616%_
_%e172559172619%_
_%hd172560172622%_
_%tl172561172624%_
_%e172562172627%_
_%hd172563172630%_
_%tl172564172632%_
_%e172565172635%_
_%hd172566172638%_
_%tl172567172640%_
_%e172568172643%_
_%hd172569172646%_
_%tl172570172648%_)
(_%__kont176817176818%_))))
(_%__kont176817176818%_))))
(_%__match177236177237%_
(lambda (_%e172523172695%_
_%hd172524172698%_
_%tl172525172700%_
_%e172526172703%_
_%hd172527172706%_
_%tl172528172708%_
_%e172529172711%_
_%hd172530172714%_
_%tl172531172716%_
_%e172532172719%_
_%hd172533172722%_
_%tl172534172724%_
_%e172535172727%_
_%hd172536172730%_
_%tl172537172732%_
_%e172538172735%_
_%hd172539172738%_
_%tl172540172740%_
_%e172541172743%_
_%hd172542172746%_
_%tl172543172748%_)
(let ((_%L172751%_ _%hd172542172746%_)
(_%L172752%_ _%hd172533172722%_))
(if (and (let ((__tmp177924
(let ((__tmp177925
(let ()
(declare (not safe))
(gxc#identifier-symbol
_%L172752%_))))
(declare (not safe))
(gxc#optimizer-resolve-type
__tmp177925))))
(declare (not safe))
(##structure-instance-of?
__tmp177924
'gxc#!accessor::t))
(let ((__tmp177926
(let ()
(declare (not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L172751%_
__tmp177926)))
(_%__kont176813176814%_ _%L172751%_ _%L172752%_)
(_%__kont176817176818%_)))))
(_%__match177234177235%_
(lambda (_%e172523172695%_
_%hd172524172698%_
_%tl172525172700%_
_%e172526172703%_
_%hd172527172706%_
_%tl172528172708%_
_%e172529172711%_
_%hd172530172714%_
_%tl172531172716%_
_%e172532172719%_
_%hd172533172722%_
_%tl172534172724%_
_%e172535172727%_
_%hd172536172730%_
_%tl172537172732%_
_%e172538172735%_
_%hd172539172738%_
_%tl172540172740%_
_%e172541172743%_
_%hd172542172746%_
_%tl172543172748%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172537172732%_))
(_%__match177236177237%_
_%e172523172695%_
_%hd172524172698%_
_%tl172525172700%_
_%e172526172703%_
_%hd172527172706%_
_%tl172528172708%_
_%e172529172711%_
_%hd172530172714%_
_%tl172531172716%_
_%e172532172719%_
_%hd172533172722%_
_%tl172534172724%_
_%e172535172727%_
_%hd172536172730%_
_%tl172537172732%_
_%e172538172735%_
_%hd172539172738%_
_%tl172540172740%_
_%e172541172743%_
_%hd172542172746%_
_%tl172543172748%_)
(_%__match177290177291%_
_%e172523172695%_
_%hd172524172698%_
_%tl172525172700%_
_%e172526172703%_
_%hd172527172706%_
_%tl172528172708%_
_%e172529172711%_
_%hd172530172714%_
_%tl172531172716%_
_%e172532172719%_
_%hd172533172722%_
_%tl172534172724%_
_%e172535172727%_
_%hd172536172730%_
_%tl172537172732%_
_%e172538172735%_
_%hd172539172738%_
_%tl172540172740%_
_%e172541172743%_
_%hd172542172746%_
_%tl172543172748%_))))
(_%__match177180177181%_
(lambda (_%e172488172789%_
_%hd172489172792%_
_%tl172490172794%_
_%e172491172797%_
_%hd172492172800%_
_%tl172493172802%_
_%e172494172805%_
_%hd172495172808%_
_%tl172496172810%_
_%e172497172813%_
_%hd172498172816%_
_%tl172499172818%_
_%e172500172821%_
_%hd172501172824%_
_%tl172502172826%_
_%e172503172829%_
_%hd172504172832%_
_%tl172505172834%_
_%e172506172837%_
_%hd172507172840%_
_%tl172508172842%_
_%e172509172845%_
_%hd172510172848%_
_%tl172511172850%_
_%e172512172853%_
_%hd172513172856%_
_%tl172514172858%_
_%e172515172861%_
_%hd172516172864%_
_%tl172517172866%_
_%e172518172869%_
_%hd172519172872%_
_%tl172520172874%_)
(let ((_%L172877%_ _%hd172519172872%_)
(_%L172878%_ _%hd172516172864%_)
(_%L172879%_ _%hd172507172840%_)
(_%L172880%_ _%hd172498172816%_))
(if (and (or (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L172880%_
'slot-set!))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L172880%_
'unchecked-slot-set!)))
(let ((__tmp177927
(let ()
(declare (not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L172879%_
__tmp177927)))
(_%__kont176811176812%_
_%L172877%_
_%L172878%_
_%L172879%_
_%L172880%_)
(_%__kont176817176818%_)))))
(_%__match177172177173%_
(lambda (_%e172488172789%_
_%hd172489172792%_
_%tl172490172794%_
_%e172491172797%_
_%hd172492172800%_
_%tl172493172802%_
_%e172494172805%_
_%hd172495172808%_
_%tl172496172810%_
_%e172497172813%_
_%hd172498172816%_
_%tl172499172818%_
_%e172500172821%_
_%hd172501172824%_
_%tl172502172826%_
_%e172503172829%_
_%hd172504172832%_
_%tl172505172834%_
_%e172506172837%_
_%hd172507172840%_
_%tl172508172842%_
_%e172509172845%_
_%hd172510172848%_
_%tl172511172850%_
_%e172512172853%_
_%hd172513172856%_
_%tl172514172858%_
_%e172515172861%_
_%hd172516172864%_
_%tl172517172866%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172511172850%_))
(let ((_%e172518172869%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172511172850%_))))
(let ((_%tl172520172874%_
(let ()
(declare (not safe))
(##cdr _%e172518172869%_)))
(_%hd172519172872%_
(let ()
(declare (not safe))
(##car _%e172518172869%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172520172874%_))
(_%__match177180177181%_
_%e172488172789%_
_%hd172489172792%_
_%tl172490172794%_
_%e172491172797%_
_%hd172492172800%_
_%tl172493172802%_
_%e172494172805%_
_%hd172495172808%_
_%tl172496172810%_
_%e172497172813%_
_%hd172498172816%_
_%tl172499172818%_
_%e172500172821%_
_%hd172501172824%_
_%tl172502172826%_
_%e172503172829%_
_%hd172504172832%_
_%tl172505172834%_
_%e172506172837%_
_%hd172507172840%_
_%tl172508172842%_
_%e172509172845%_
_%hd172510172848%_
_%tl172511172850%_
_%e172512172853%_
_%hd172513172856%_
_%tl172514172858%_
_%e172515172861%_
_%hd172516172864%_
_%tl172517172866%_
_%e172518172869%_
_%hd172519172872%_
_%tl172520172874%_)
(_%__kont176817176818%_))))
(_%__match177296177297%_
_%e172488172789%_
_%hd172489172792%_
_%tl172490172794%_
_%e172491172797%_
_%hd172492172800%_
_%tl172493172802%_
_%e172494172805%_
_%hd172495172808%_
_%tl172496172810%_
_%e172497172813%_
_%hd172498172816%_
_%tl172499172818%_
_%e172500172821%_
_%hd172501172824%_
_%tl172502172826%_
_%e172503172829%_
_%hd172504172832%_
_%tl172505172834%_
_%e172506172837%_
_%hd172507172840%_
_%tl172508172842%_
_%e172509172845%_
_%hd172510172848%_
_%tl172511172850%_))))
(_%__match177094177095%_
(lambda (_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_)
(let ((_%L173000%_ _%hd172482172995%_)
(_%L173001%_ _%hd172473172971%_)
(_%L173002%_ _%hd172464172947%_))
(if (and (or (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L173002%_
'slot-ref))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L173002%_
'unchecked-slot-ref)))
(let ((__tmp177928
(let ()
(declare (not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L173001%_
__tmp177928)))
(_%__kont176809176810%_
_%L173000%_
_%L173001%_
_%L173002%_)
(_%__match177298177299%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_)))))
(_%__match177092177093%_
(lambda (_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172477172981%_))
(_%__match177094177095%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_)
(_%__match177172177173%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_))))
(_%__match177082177083%_
(lambda (_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_)
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#quote _%hd172479172987%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172480172989%_))
(let ((_%e172481172992%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172480172989%_))))
(let ((_%tl172483172997%_
(let ()
(declare (not safe))
(##cdr _%e172481172992%_)))
(_%hd172482172995%_
(let ()
(declare (not safe))
(##car _%e172481172992%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172483172997%_))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172477172981%_))
(_%__match177094177095%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_)
(_%__match177172177173%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_
_%e172478172984%_
_%hd172479172987%_
_%tl172480172989%_
_%e172481172992%_
_%hd172482172995%_
_%tl172483172997%_))
(_%__match177296177297%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_))))
(_%__match177296177297%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_))
(_%__match177296177297%_
_%e172454172920%_
_%hd172455172923%_
_%tl172456172925%_
_%e172457172928%_
_%hd172458172931%_
_%tl172459172933%_
_%e172460172936%_
_%hd172461172939%_
_%tl172462172941%_
_%e172463172944%_
_%hd172464172947%_
_%tl172465172949%_
_%e172466172952%_
_%hd172467172955%_
_%tl172468172957%_
_%e172469172960%_
_%hd172470172963%_
_%tl172471172965%_
_%e172472172968%_
_%hd172473172971%_
_%tl172474172973%_
_%e172475172976%_
_%hd172476172979%_
_%tl172477172981%_))))
(_%__match177014177015%_
(lambda (_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_
_%e172427173103%_
_%hd172428173106%_
_%tl172429173108%_
_%e172430173111%_
_%hd172431173114%_
_%tl172432173116%_
_%e172433173119%_
_%hd172434173122%_
_%tl172435173124%_
_%e172436173127%_
_%hd172437173130%_
_%tl172438173132%_
_%e172439173135%_
_%hd172440173138%_
_%tl172441173140%_
_%__splice176807176808%_
_%target172442173143%_
_%tl172444173145%_)
(letrec ((_%loop172445173148%_
(lambda (_%hd172443173151%_
_%args172449173153%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd172443173151%_))
(let ((_%e172446173156%_
(let ()
(declare (not safe))
(gx#stx-e _%hd172443173151%_))))
(let ((_%lp-tl172448173161%_
(let ()
(declare (not safe))
(##cdr _%e172446173156%_)))
(_%lp-hd172447173159%_
(let ()
(declare (not safe))
(##car _%e172446173156%_))))
(_%loop172445173148%_
_%lp-tl172448173161%_
(cons _%lp-hd172447173159%_
_%args172449173153%_))))
(let ((_%args172450173164%_
(reverse _%args172449173153%_)))
(let ((_%L173167%_
_%args172450173164%_)
(_%L173168%_ _%hd172440173138%_)
(_%L173169%_ _%hd172431173114%_)
(_%L173170%_ _%hd172422173090%_)
(_%L173171%_ _%hd172413173066%_))
(if (and (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L173171%_
'apply))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L173170%_
'call-method))
(let ((__tmp177929
(let ()
(declare
(not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L173169%_
__tmp177929)))
(_%__kont176805176806%_
_%L173167%_
_%L173168%_
_%L173169%_
_%L173170%_
_%L173171%_)
(_%__kont176817176818%_))))))))
(_%loop172445173148%_ _%target172442173143%_ '()))))
(_%__match176972176973%_
(lambda (_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_
_%e172427173103%_
_%hd172428173106%_
_%tl172429173108%_)
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#ref _%hd172428173106%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172429173108%_))
(let ((_%e172430173111%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172429173108%_))))
(let ((_%tl172432173116%_
(let ()
(declare (not safe))
(##cdr _%e172430173111%_)))
(_%hd172431173114%_
(let ()
(declare (not safe))
(##car _%e172430173111%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172432173116%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172426173100%_))
(let ((_%e172433173119%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl172426173100%_))))
(let ((_%tl172435173124%_
(let ()
(declare (not safe))
(##cdr _%e172433173119%_)))
(_%hd172434173122%_
(let ()
(declare (not safe))
(##car _%e172433173119%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd172434173122%_))
(let ((_%e172436173127%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd172434173122%_))))
(let ((_%tl172438173132%_
(let ()
(declare
(not safe))
(##cdr _%e172436173127%_)))
(_%hd172437173130%_
(let ()
(declare
(not safe))
(##car _%e172436173127%_))))
(if (let ()
(declare
(not safe))
(gx#identifier?
_%hd172437173130%_))
(if (let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-eq? '%#quote _%hd172437173130%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172438173132%_))
(let ((_%e172439173135%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172438173132%_))))
(let ((_%tl172441173140%_
(let ()
(declare (not safe))
(##cdr _%e172439173135%_)))
(_%hd172440173138%_
(let ()
(declare (not safe))
(##car _%e172439173135%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172441173140%_))
(if (let ()
(declare (not safe))
(gx#stx-pair/null? _%tl172435173124%_))
(let ((_%__splice176807176808%_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl172435173124%_
'0))))
(let ((_%tl172444173145%_
(let ()
(declare (not safe))
(##vector-ref
_%__splice176807176808%_
'1)))
(_%target172442173143%_
(let ()
(declare (not safe))
(##vector-ref
_%__splice176807176808%_
'0))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl172444173145%_))
(_%__match177014177015%_
_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_
_%e172427173103%_
_%hd172428173106%_
_%tl172429173108%_
_%e172430173111%_
_%hd172431173114%_
_%tl172432173116%_
_%e172433173119%_
_%hd172434173122%_
_%tl172435173124%_
_%e172436173127%_
_%hd172437173130%_
_%tl172438173132%_
_%e172439173135%_
_%hd172440173138%_
_%tl172441173140%_
_%__splice176807176808%_
_%target172442173143%_
_%tl172444173145%_)
(_%__kont176817176818%_))))
(_%__kont176817176818%_))
(_%__kont176817176818%_))))
(_%__kont176817176818%_))
(_%__kont176817176818%_))
(_%__kont176817176818%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176817176818%_))))
(_%__match177296177297%_
_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_))
(_%__match177296177297%_
_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_))))
(_%__match177296177297%_
_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_))
(_%__match177082177083%_
_%e172403173039%_
_%hd172404173042%_
_%tl172405173044%_
_%e172406173047%_
_%hd172407173050%_
_%tl172408173052%_
_%e172409173055%_
_%hd172410173058%_
_%tl172411173060%_
_%e172412173063%_
_%hd172413173066%_
_%tl172414173068%_
_%e172415173071%_
_%hd172416173074%_
_%tl172417173076%_
_%e172418173079%_
_%hd172419173082%_
_%tl172420173084%_
_%e172421173087%_
_%hd172422173090%_
_%tl172423173092%_
_%e172424173095%_
_%hd172425173098%_
_%tl172426173100%_
_%e172427173103%_
_%hd172428173106%_
_%tl172429173108%_))))
(_%__match176904176905%_
(lambda (_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_
_%e172386173300%_
_%hd172387173303%_
_%tl172388173305%_
_%__splice176803176804%_
_%target172389173308%_
_%tl172391173310%_)
(letrec ((_%loop172392173313%_
(lambda (_%hd172390173316%_
_%args172396173318%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd172390173316%_))
(let ((_%e172393173321%_
(let ()
(declare (not safe))
(gx#stx-e _%hd172390173316%_))))
(let ((_%lp-tl172395173326%_
(let ()
(declare (not safe))
(##cdr _%e172393173321%_)))
(_%lp-hd172394173324%_
(let ()
(declare (not safe))
(##car _%e172393173321%_))))
(_%loop172392173313%_
_%lp-tl172395173326%_
(cons _%lp-hd172394173324%_
_%args172396173318%_))))
(let ((_%args172397173329%_
(reverse _%args172396173318%_)))
(let ((_%L173332%_
_%args172397173329%_)
(_%L173333%_ _%hd172387173303%_)
(_%L173334%_ _%hd172378173279%_)
(_%L173335%_ _%hd172369173255%_))
(if (and (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L173335%_
'call-method))
(let ((__tmp177930
(let ()
(declare
(not safe))
(slot-ref__0
_%self172344%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L173334%_
__tmp177930)))
(_%__kont176801176802%_
_%L173332%_
_%L173333%_
_%L173334%_
_%L173335%_)
(_%__match177092177093%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_
_%e172386173300%_
_%hd172387173303%_
_%tl172388173305%_))))))))
(_%loop172392173313%_ _%target172389173308%_ '())))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx176799176800%_))
(let ((_%e172359173228%_
(let ()
(declare (not safe))
(gx#stx-e _%__stx176799176800%_))))
(let ((_%tl172361173233%_
(let ()
(declare (not safe))
(##cdr _%e172359173228%_)))
(_%hd172360173231%_
(let ()
(declare (not safe))
(##car _%e172359173228%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172361173233%_))
(let ((_%e172362173236%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172361173233%_))))
(let ((_%tl172364173241%_
(let ()
(declare (not safe))
(##cdr _%e172362173236%_)))
(_%hd172363173239%_
(let ()
(declare (not safe))
(##car _%e172362173236%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd172363173239%_))
(let ((_%e172365173244%_
(let ()
(declare (not safe))
(gx#stx-e _%hd172363173239%_))))
(let ((_%tl172367173249%_
(let ()
(declare (not safe))
(##cdr _%e172365173244%_)))
(_%hd172366173247%_
(let ()
(declare (not safe))
(##car _%e172365173244%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd172366173247%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd172366173247%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl172367173249%_))
(let ((_%e172368173252%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl172367173249%_))))
(let ((_%tl172370173257%_
(let ()
(declare
(not safe))
(##cdr _%e172368173252%_)))
(_%hd172369173255%_
(let ()
(declare
(not safe))
(##car _%e172368173252%_))))
(if (let ()
(declare
(not safe))
(gx#stx-null?
_%tl172370173257%_))
(if (let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#stx-pair? _%tl172364173241%_))
(let ((_%e172371173260%_
(let ()
(declare (not safe))
(gx#stx-e _%tl172364173241%_))))
(let ((_%tl172373173265%_
(let ()
(declare (not safe))
(##cdr _%e172371173260%_)))
(_%hd172372173263%_
(let ()
(declare (not safe))
(##car _%e172371173260%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd172372173263%_))
(let ((_%e172374173268%_
(let ()
(declare (not safe))
(gx#stx-e _%hd172372173263%_))))
(let ((_%tl172376173273%_
(let ()
(declare (not safe))
(##cdr _%e172374173268%_)))
(_%hd172375173271%_
(let ()
(declare (not safe))
(##car _%e172374173268%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd172375173271%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd172375173271%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl172376173273%_))
(let ((_%e172377173276%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl172376173273%_))))
(let ((_%tl172379173281%_
(let ()
(declare (not safe))
(##cdr _%e172377173276%_)))
(_%hd172378173279%_
(let ()
(declare (not safe))
(##car _%e172377173276%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl172379173281%_))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl172373173265%_))
(let ((_%e172380173284%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl172373173265%_))))
(let ((_%tl172382173289%_
(let ()
(declare (not safe))
(##cdr _%e172380173284%_)))
(_%hd172381173287%_
(let ()
(declare (not safe))
(##car _%e172380173284%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd172381173287%_))
(let ((_%e172383173292%_
(let ()
(declare (not safe))
(gx#stx-e _%hd172381173287%_))))
(let ((_%tl172385173297%_
(let ()
(declare (not safe))
(##cdr _%e172383173292%_)))
(_%hd172384173295%_
(let ()
(declare (not safe))
(##car _%e172383173292%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd172384173295%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#quote
_%hd172384173295%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl172385173297%_))
(let ((_%e172386173300%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl172385173297%_))))
(let ((_%tl172388173305%_
(let ()
(declare (not safe))
(##cdr _%e172386173300%_)))
(_%hd172387173303%_
(let ()
(declare (not safe))
(##car _%e172386173300%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl172388173305%_))
(if (let ()
(declare (not safe))
(gx#stx-pair/null?
_%tl172382173289%_))
(let ((_%__splice176803176804%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(gx#syntax-split-splice _%tl172382173289%_ '0))))
(let ((_%tl172391173310%_
(let ()
(declare (not safe))
(##vector-ref _%__splice176803176804%_ '1)))
(_%target172389173308%_
(let ()
(declare (not safe))
(##vector-ref _%__splice176803176804%_ '0))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl172391173310%_))
(_%__match176904176905%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_
_%e172386173300%_
_%hd172387173303%_
_%tl172388173305%_
_%__splice176803176804%_
_%target172389173308%_
_%tl172391173310%_)
(_%__match177092177093%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_
_%e172386173300%_
_%hd172387173303%_
_%tl172388173305%_))))
(_%__match177092177093%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_
_%e172386173300%_
_%hd172387173303%_
_%tl172388173305%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__match177296177297%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_))))
(_%__match177296177297%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_))
(_%__match176972176973%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_
_%e172383173292%_
_%hd172384173295%_
_%tl172385173297%_))
(_%__match177296177297%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_))))
(_%__match177296177297%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_
_%e172380173284%_
_%hd172381173287%_
_%tl172382173289%_))))
(_%__match177234177235%_
_%e172359173228%_
_%hd172360173231%_
_%tl172361173233%_
_%e172362173236%_
_%hd172363173239%_
_%tl172364173241%_
_%e172365173244%_
_%hd172366173247%_
_%tl172367173249%_
_%e172368173252%_
_%hd172369173255%_
_%tl172370173257%_
_%e172371173260%_
_%hd172372173263%_
_%tl172373173265%_
_%e172374173268%_
_%hd172375173271%_
_%tl172376173273%_
_%e172377173276%_
_%hd172378173279%_
_%tl172379173281%_))
(_%__kont176817176818%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176817176818%_))
(_%__kont176817176818%_))
(_%__kont176817176818%_))))
(_%__kont176817176818%_))))
(_%__kont176817176818%_))
(_%__kont176817176818%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont176817176818%_))
(_%__kont176817176818%_))
(_%__kont176817176818%_))))
(_%__kont176817176818%_))))
(_%__kont176817176818%_))))
(_%__kont176817176818%_)))))))
(define gxc#subst-object-refs-call%
(lambda (_%self171283%_ _%stx171284%_)
(letrec ((_%force-e171286%_
(lambda (_%target172342%_)
(cons '%#call
(cons (cons '%#ref (cons 'force '()))
(cons (cons '%#ref (cons _%target172342%_ '()))
'()))))))
(let* ((_%__stx177301177302%_ _%stx171284%_)
(_%g171294171516%_
(lambda ()
(let ()
(declare (not safe))
(gx#raise-syntax-error
'#f
'"Bad syntax; invalid match target"
_%__stx177301177302%_)))))
(let ((_%__kont177303177304%_
(lambda (_%L172288%_ _%L172289%_ _%L172290%_ _%L172291%_)
(let ((_%$method172336%_
(let ((__tmp177932
(let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'methods)))
(__tmp177931
(let ()
(declare (not safe))
(gx#stx-e _%L172289%_))))
(declare (not safe))
(hash-ref__0 __tmp177932 __tmp177931)))
(_%args172337%_
(map (lambda (_%g172324172326%_)
(let ()
(declare (not safe))
(gxc#compile-e__1
_%self171283%_
_%g172324172326%_)))
(let ((__tmp177933
(lambda (_%g172328172331%_
_%g172329172333%_)
(cons _%g172328172331%_
_%g172329172333%_))))
(declare (not safe))
(__foldr1 __tmp177933 '() _%L172288%_)))))
(let ((__tmp177934
(cons '%#call
(cons (_%force-e171286%_ _%$method172336%_)
(cons (cons '%#ref
(cons (let ()
(declare
(not safe))
(slot-ref__0
_%self171283%_
'receiver))
'()))
_%args172337%_)))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177934 _%stx171284%_)))))
(_%__kont177307177308%_
(lambda (_%L172120%_
_%L172121%_
_%L172122%_
_%L172123%_
_%L172124%_)
(let ((_%$method172176%_
(let ((__tmp177936
(let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'methods)))
(__tmp177935
(let ()
(declare (not safe))
(gx#stx-e _%L172121%_))))
(declare (not safe))
(hash-ref__0 __tmp177936 __tmp177935)))
(_%args172177%_
(map (lambda (_%g172164172166%_)
(let ()
(declare (not safe))
(gxc#compile-e__1
_%self171283%_
_%g172164172166%_)))
(let ((__tmp177937
(lambda (_%g172168172171%_
_%g172169172173%_)
(cons _%g172168172171%_
_%g172169172173%_))))
(declare (not safe))
(__foldr1 __tmp177937 '() _%L172120%_)))))
(let ((__tmp177938
(cons '%#call
(cons (cons '%#ref (cons 'apply '()))
(cons (_%force-e171286%_
_%$method172176%_)
(cons (cons '%#ref
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(slot-ref__0 _%self171283%_ 'receiver))
'()))
_%args172177%_))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source __tmp177938 _%stx171284%_)))))
(_%__kont177311177312%_
(lambda (_%L171951%_ _%L171952%_ _%L171953%_)
(let* ((_%$field171985%_
(let ((__tmp177940
(let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'slots)))
(__tmp177939
(let ()
(declare (not safe))
(gx#stx-e _%L171951%_))))
(declare (not safe))
(hash-ref__0 __tmp177940 __tmp177939)))
(__tmp177941
(cons '%#struct-unchecked-ref
(cons (cons '%#ref
(cons (let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'klass))
'()))
(cons (cons '%#ref
(cons _%$field171985%_
'()))
(cons (cons '%#ref
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(slot-ref__0 _%self171283%_ 'receiver))
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'()))))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177941 _%stx171284%_))))
(_%__kont177313177314%_
(lambda (_%L171825%_ _%L171826%_ _%L171827%_ _%L171828%_)
(let ((_%$field171863%_
(let ((__tmp177943
(let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'slots)))
(__tmp177942
(let ()
(declare (not safe))
(gx#stx-e _%L171826%_))))
(declare (not safe))
(hash-ref__0 __tmp177943 __tmp177942)))
(_%expr171864%_
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self171283%_ _%L171825%_))))
(let ((__tmp177944
(cons '%#struct-unchecked-set!
(cons (cons '%#ref
(cons (let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'klass))
'()))
(cons (cons '%#ref
(cons _%$field171863%_
'()))
(cons (cons '%#ref
(cons (let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(slot-ref__0 _%self171283%_ 'receiver))
'()))
(cons _%expr171864%_ '())))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source __tmp177944 _%stx171284%_)))))
(_%__kont177315177316%_
(lambda (_%L171697%_ _%L171698%_)
(let* ((_%accessor171720%_
(let ((__tmp177945
(let ()
(declare (not safe))
(gxc#identifier-symbol _%L171698%_))))
(declare (not safe))
(gxc#optimizer-resolve-type __tmp177945)))
(_%klass171722%_
(let ((__tmp177946
(##structure-ref
_%accessor171720%_
'1
gxc#!type::t
'#f)))
(declare (not safe))
(gxc#optimizer-resolve-class
_%stx171284%_
__tmp177946)))
(_%slot171724%_
(##structure-ref
_%accessor171720%_
'3
gxc#!accessor::t
'#f)))
(if (if (##structure-ref
_%accessor171720%_
'4
gxc#!accessor::t
'#f)
'#f
(or (let ()
(declare (not safe))
(gxc#!class-struct-slot?
_%klass171722%_
_%slot171724%_))
(let ()
(declare (not safe))
(##unchecked-structure-ref
_%klass171722%_
'8
'#f
'#f))))
_%stx171284%_
(let* ((_%$field171730%_
(let ((__tmp177947
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'slots))))
(declare (not safe))
(hash-ref__0 __tmp177947 _%slot171724%_)))
(__tmp177948
(cons '%#struct-unchecked-ref
(cons (cons '%#ref
(cons (let ()
(declare
(not safe))
(slot-ref__0
_%self171283%_
'klass))
'()))
(cons (cons '%#ref
(cons _%$field171730%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(cons (cons '%#ref
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'receiver))
'()))
'()))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177948
_%stx171284%_))))))
(_%__kont177317177318%_
(lambda (_%L171592%_ _%L171593%_ _%L171594%_)
(let* ((_%mutator171622%_
(let ((__tmp177949
(let ()
(declare (not safe))
(gxc#identifier-symbol _%L171594%_))))
(declare (not safe))
(gxc#optimizer-resolve-type __tmp177949)))
(_%klass171624%_
(let ((__tmp177950
(##structure-ref
_%mutator171622%_
'1
gxc#!type::t
'#f)))
(declare (not safe))
(gxc#optimizer-resolve-class
_%stx171284%_
__tmp177950)))
(_%slot171626%_
(##structure-ref
_%mutator171622%_
'3
gxc#!mutator::t
'#f))
(_%expr171628%_
(let ()
(declare (not safe))
(gxc#compile-e__1 _%self171283%_ _%L171592%_))))
(if (if (##structure-ref
_%mutator171622%_
'4
gxc#!mutator::t
'#f)
'#f
(or (let ()
(declare (not safe))
(gxc#!class-struct-slot?
_%klass171624%_
_%slot171626%_))
(let ()
(declare (not safe))
(##unchecked-structure-ref
_%klass171624%_
'8
'#f
'#f))))
(let ((__tmp177951
(cons '%#call
(cons (cons (let ()
(declare (not safe))
(gx#datum->syntax__0
'#f
'%#ref))
(cons _%L171594%_ '()))
(cons (cons (let ()
(declare
(not safe))
(gx#datum->syntax__0
'#f
'%#ref))
(cons _%L171593%_
'()))
(cons _%expr171628%_
'()))))))
(declare (not safe))
(gxc#xform-wrap-source __tmp177951 _%stx171284%_))
(let* ((_%$field171634%_
(let ((__tmp177952
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'slots))))
(declare (not safe))
(hash-ref__0 __tmp177952 _%slot171626%_)))
(__tmp177953
(cons '%#struct-unchecked-set!
(cons (cons '%#ref
(cons (let ()
(declare
(not safe))
(slot-ref__0
_%self171283%_
'klass))
'()))
(cons (cons '%#ref
(cons _%$field171634%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
'()))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(cons (cons '%#ref
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(cons (let ()
(declare (not safe))
(slot-ref__0 _%self171283%_ 'receiver))
'()))
(cons _%expr171628%_ '())))))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(declare (not safe))
(gxc#xform-wrap-source
__tmp177953
_%stx171284%_))))))
(_%__kont177319177320%_
(lambda ()
(let ()
(declare (not safe))
(gxc#xform-operands _%self171283%_ _%stx171284%_)))))
(let* ((_%__match177800177801%_
(lambda (_%e171488171528%_
_%hd171489171531%_
_%tl171490171533%_
_%e171491171536%_
_%hd171492171539%_
_%tl171493171541%_
_%e171494171544%_
_%hd171495171547%_
_%tl171496171549%_
_%e171497171552%_
_%hd171498171555%_
_%tl171499171557%_
_%e171500171560%_
_%hd171501171563%_
_%tl171502171565%_
_%e171503171568%_
_%hd171504171571%_
_%tl171505171573%_
_%e171506171576%_
_%hd171507171579%_
_%tl171508171581%_
_%e171509171584%_
_%hd171510171587%_
_%tl171511171589%_)
(let ((_%L171592%_ _%hd171510171587%_)
(_%L171593%_ _%hd171507171579%_)
(_%L171594%_ _%hd171498171555%_))
(if (and (let ((__tmp177954
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L171593%_
__tmp177954))
(let ((__tmp177955
(let ((__tmp177956
(let ()
(declare (not safe))
(gxc#identifier-symbol
_%L171594%_))))
(declare (not safe))
(gxc#optimizer-resolve-type
__tmp177956))))
(declare (not safe))
(##structure-instance-of?
__tmp177955
'gxc#!mutator::t)))
(_%__kont177317177318%_
_%L171592%_
_%L171593%_
_%L171594%_)
(_%__kont177319177320%_)))))
(_%__match177798177799%_
(lambda (_%e171488171528%_
_%hd171489171531%_
_%tl171490171533%_
_%e171491171536%_
_%hd171492171539%_
_%tl171493171541%_
_%e171494171544%_
_%hd171495171547%_
_%tl171496171549%_
_%e171497171552%_
_%hd171498171555%_
_%tl171499171557%_
_%e171500171560%_
_%hd171501171563%_
_%tl171502171565%_
_%e171503171568%_
_%hd171504171571%_
_%tl171505171573%_
_%e171506171576%_
_%hd171507171579%_
_%tl171508171581%_
_%e171509171584%_
_%hd171510171587%_
_%tl171511171589%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171511171589%_))
(_%__match177800177801%_
_%e171488171528%_
_%hd171489171531%_
_%tl171490171533%_
_%e171491171536%_
_%hd171492171539%_
_%tl171493171541%_
_%e171494171544%_
_%hd171495171547%_
_%tl171496171549%_
_%e171497171552%_
_%hd171498171555%_
_%tl171499171557%_
_%e171500171560%_
_%hd171501171563%_
_%tl171502171565%_
_%e171503171568%_
_%hd171504171571%_
_%tl171505171573%_
_%e171506171576%_
_%hd171507171579%_
_%tl171508171581%_
_%e171509171584%_
_%hd171510171587%_
_%tl171511171589%_)
(_%__kont177319177320%_))))
(_%__match177792177793%_
(lambda (_%e171488171528%_
_%hd171489171531%_
_%tl171490171533%_
_%e171491171536%_
_%hd171492171539%_
_%tl171493171541%_
_%e171494171544%_
_%hd171495171547%_
_%tl171496171549%_
_%e171497171552%_
_%hd171498171555%_
_%tl171499171557%_
_%e171500171560%_
_%hd171501171563%_
_%tl171502171565%_
_%e171503171568%_
_%hd171504171571%_
_%tl171505171573%_
_%e171506171576%_
_%hd171507171579%_
_%tl171508171581%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171502171565%_))
(let ((_%e171509171584%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171502171565%_))))
(let ((_%tl171511171589%_
(let ()
(declare (not safe))
(##cdr _%e171509171584%_)))
(_%hd171510171587%_
(let ()
(declare (not safe))
(##car _%e171509171584%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171511171589%_))
(_%__match177800177801%_
_%e171488171528%_
_%hd171489171531%_
_%tl171490171533%_
_%e171491171536%_
_%hd171492171539%_
_%tl171493171541%_
_%e171494171544%_
_%hd171495171547%_
_%tl171496171549%_
_%e171497171552%_
_%hd171498171555%_
_%tl171499171557%_
_%e171500171560%_
_%hd171501171563%_
_%tl171502171565%_
_%e171503171568%_
_%hd171504171571%_
_%tl171505171573%_
_%e171506171576%_
_%hd171507171579%_
_%tl171508171581%_
_%e171509171584%_
_%hd171510171587%_
_%tl171511171589%_)
(_%__kont177319177320%_))))
(_%__kont177319177320%_))))
(_%__match177738177739%_
(lambda (_%e171464171641%_
_%hd171465171644%_
_%tl171466171646%_
_%e171467171649%_
_%hd171468171652%_
_%tl171469171654%_
_%e171470171657%_
_%hd171471171660%_
_%tl171472171662%_
_%e171473171665%_
_%hd171474171668%_
_%tl171475171670%_
_%e171476171673%_
_%hd171477171676%_
_%tl171478171678%_
_%e171479171681%_
_%hd171480171684%_
_%tl171481171686%_
_%e171482171689%_
_%hd171483171692%_
_%tl171484171694%_)
(let ((_%L171697%_ _%hd171483171692%_)
(_%L171698%_ _%hd171474171668%_))
(if (and (let ((__tmp177957
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L171697%_
__tmp177957))
(let ((__tmp177958
(let ((__tmp177959
(let ()
(declare (not safe))
(gxc#identifier-symbol
_%L171698%_))))
(declare (not safe))
(gxc#optimizer-resolve-type
__tmp177959))))
(declare (not safe))
(##structure-instance-of?
__tmp177958
'gxc#!accessor::t)))
(_%__kont177315177316%_ _%L171697%_ _%L171698%_)
(_%__kont177319177320%_)))))
(_%__match177736177737%_
(lambda (_%e171464171641%_
_%hd171465171644%_
_%tl171466171646%_
_%e171467171649%_
_%hd171468171652%_
_%tl171469171654%_
_%e171470171657%_
_%hd171471171660%_
_%tl171472171662%_
_%e171473171665%_
_%hd171474171668%_
_%tl171475171670%_
_%e171476171673%_
_%hd171477171676%_
_%tl171478171678%_
_%e171479171681%_
_%hd171480171684%_
_%tl171481171686%_
_%e171482171689%_
_%hd171483171692%_
_%tl171484171694%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171478171678%_))
(_%__match177738177739%_
_%e171464171641%_
_%hd171465171644%_
_%tl171466171646%_
_%e171467171649%_
_%hd171468171652%_
_%tl171469171654%_
_%e171470171657%_
_%hd171471171660%_
_%tl171472171662%_
_%e171473171665%_
_%hd171474171668%_
_%tl171475171670%_
_%e171476171673%_
_%hd171477171676%_
_%tl171478171678%_
_%e171479171681%_
_%hd171480171684%_
_%tl171481171686%_
_%e171482171689%_
_%hd171483171692%_
_%tl171484171694%_)
(_%__match177792177793%_
_%e171464171641%_
_%hd171465171644%_
_%tl171466171646%_
_%e171467171649%_
_%hd171468171652%_
_%tl171469171654%_
_%e171470171657%_
_%hd171471171660%_
_%tl171472171662%_
_%e171473171665%_
_%hd171474171668%_
_%tl171475171670%_
_%e171476171673%_
_%hd171477171676%_
_%tl171478171678%_
_%e171479171681%_
_%hd171480171684%_
_%tl171481171686%_
_%e171482171689%_
_%hd171483171692%_
_%tl171484171694%_))))
(_%__match177682177683%_
(lambda (_%e171429171737%_
_%hd171430171740%_
_%tl171431171742%_
_%e171432171745%_
_%hd171433171748%_
_%tl171434171750%_
_%e171435171753%_
_%hd171436171756%_
_%tl171437171758%_
_%e171438171761%_
_%hd171439171764%_
_%tl171440171766%_
_%e171441171769%_
_%hd171442171772%_
_%tl171443171774%_
_%e171444171777%_
_%hd171445171780%_
_%tl171446171782%_
_%e171447171785%_
_%hd171448171788%_
_%tl171449171790%_
_%e171450171793%_
_%hd171451171796%_
_%tl171452171798%_
_%e171453171801%_
_%hd171454171804%_
_%tl171455171806%_
_%e171456171809%_
_%hd171457171812%_
_%tl171458171814%_
_%e171459171817%_
_%hd171460171820%_
_%tl171461171822%_)
(let ((_%L171825%_ _%hd171460171820%_)
(_%L171826%_ _%hd171457171812%_)
(_%L171827%_ _%hd171448171788%_)
(_%L171828%_ _%hd171439171764%_))
(if (and (or (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L171828%_
'slot-set!))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L171828%_
'unchecked-slot-set!)))
(let ((__tmp177960
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L171827%_
__tmp177960)))
(_%__kont177313177314%_
_%L171825%_
_%L171826%_
_%L171827%_
_%L171828%_)
(_%__kont177319177320%_)))))
(_%__match177674177675%_
(lambda (_%e171429171737%_
_%hd171430171740%_
_%tl171431171742%_
_%e171432171745%_
_%hd171433171748%_
_%tl171434171750%_
_%e171435171753%_
_%hd171436171756%_
_%tl171437171758%_
_%e171438171761%_
_%hd171439171764%_
_%tl171440171766%_
_%e171441171769%_
_%hd171442171772%_
_%tl171443171774%_
_%e171444171777%_
_%hd171445171780%_
_%tl171446171782%_
_%e171447171785%_
_%hd171448171788%_
_%tl171449171790%_
_%e171450171793%_
_%hd171451171796%_
_%tl171452171798%_
_%e171453171801%_
_%hd171454171804%_
_%tl171455171806%_
_%e171456171809%_
_%hd171457171812%_
_%tl171458171814%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171452171798%_))
(let ((_%e171459171817%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171452171798%_))))
(let ((_%tl171461171822%_
(let ()
(declare (not safe))
(##cdr _%e171459171817%_)))
(_%hd171460171820%_
(let ()
(declare (not safe))
(##car _%e171459171817%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171461171822%_))
(_%__match177682177683%_
_%e171429171737%_
_%hd171430171740%_
_%tl171431171742%_
_%e171432171745%_
_%hd171433171748%_
_%tl171434171750%_
_%e171435171753%_
_%hd171436171756%_
_%tl171437171758%_
_%e171438171761%_
_%hd171439171764%_
_%tl171440171766%_
_%e171441171769%_
_%hd171442171772%_
_%tl171443171774%_
_%e171444171777%_
_%hd171445171780%_
_%tl171446171782%_
_%e171447171785%_
_%hd171448171788%_
_%tl171449171790%_
_%e171450171793%_
_%hd171451171796%_
_%tl171452171798%_
_%e171453171801%_
_%hd171454171804%_
_%tl171455171806%_
_%e171456171809%_
_%hd171457171812%_
_%tl171458171814%_
_%e171459171817%_
_%hd171460171820%_
_%tl171461171822%_)
(_%__kont177319177320%_))))
(_%__match177798177799%_
_%e171429171737%_
_%hd171430171740%_
_%tl171431171742%_
_%e171432171745%_
_%hd171433171748%_
_%tl171434171750%_
_%e171435171753%_
_%hd171436171756%_
_%tl171437171758%_
_%e171438171761%_
_%hd171439171764%_
_%tl171440171766%_
_%e171441171769%_
_%hd171442171772%_
_%tl171443171774%_
_%e171444171777%_
_%hd171445171780%_
_%tl171446171782%_
_%e171447171785%_
_%hd171448171788%_
_%tl171449171790%_
_%e171450171793%_
_%hd171451171796%_
_%tl171452171798%_))))
(_%__match177596177597%_
(lambda (_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_)
(let ((_%L171951%_ _%hd171423171946%_)
(_%L171952%_ _%hd171414171922%_)
(_%L171953%_ _%hd171405171898%_))
(if (and (or (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L171953%_
'slot-ref))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L171953%_
'unchecked-slot-ref)))
(let ((__tmp177961
(let ()
(declare (not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L171952%_
__tmp177961)))
(_%__kont177311177312%_
_%L171951%_
_%L171952%_
_%L171953%_)
(_%__match177800177801%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_)))))
(_%__match177594177595%_
(lambda (_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_)
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171418171932%_))
(_%__match177596177597%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_)
(_%__match177674177675%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_))))
(_%__match177584177585%_
(lambda (_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_)
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#quote _%hd171420171938%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171421171940%_))
(let ((_%e171422171943%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171421171940%_))))
(let ((_%tl171424171948%_
(let ()
(declare (not safe))
(##cdr _%e171422171943%_)))
(_%hd171423171946%_
(let ()
(declare (not safe))
(##car _%e171422171943%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171424171948%_))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl171418171932%_))
(_%__match177596177597%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_)
(_%__match177674177675%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_
_%e171419171935%_
_%hd171420171938%_
_%tl171421171940%_
_%e171422171943%_
_%hd171423171946%_
_%tl171424171948%_))
(_%__match177798177799%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_))))
(_%__match177798177799%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_))
(_%__match177798177799%_
_%e171395171871%_
_%hd171396171874%_
_%tl171397171876%_
_%e171398171879%_
_%hd171399171882%_
_%tl171400171884%_
_%e171401171887%_
_%hd171402171890%_
_%tl171403171892%_
_%e171404171895%_
_%hd171405171898%_
_%tl171406171900%_
_%e171407171903%_
_%hd171408171906%_
_%tl171409171908%_
_%e171410171911%_
_%hd171411171914%_
_%tl171412171916%_
_%e171413171919%_
_%hd171414171922%_
_%tl171415171924%_
_%e171416171927%_
_%hd171417171930%_
_%tl171418171932%_))))
(_%__match177516177517%_
(lambda (_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_
_%e171368172056%_
_%hd171369172059%_
_%tl171370172061%_
_%e171371172064%_
_%hd171372172067%_
_%tl171373172069%_
_%e171374172072%_
_%hd171375172075%_
_%tl171376172077%_
_%e171377172080%_
_%hd171378172083%_
_%tl171379172085%_
_%e171380172088%_
_%hd171381172091%_
_%tl171382172093%_
_%__splice177309177310%_
_%target171383172096%_
_%tl171385172098%_)
(letrec ((_%loop171386172101%_
(lambda (_%hd171384172104%_
_%args171390172106%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd171384172104%_))
(let ((_%e171387172109%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd171384172104%_))))
(let ((_%lp-tl171389172114%_
(let ()
(declare (not safe))
(##cdr _%e171387172109%_)))
(_%lp-hd171388172112%_
(let ()
(declare (not safe))
(##car _%e171387172109%_))))
(_%loop171386172101%_
_%lp-tl171389172114%_
(cons _%lp-hd171388172112%_
_%args171390172106%_))))
(let ((_%args171391172117%_
(reverse _%args171390172106%_)))
(let ((_%L172120%_
_%args171391172117%_)
(_%L172121%_
_%hd171381172091%_)
(_%L172122%_
_%hd171372172067%_)
(_%L172123%_
_%hd171363172043%_)
(_%L172124%_
_%hd171354172019%_))
(if (and (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L172124%_
'apply))
(let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L172123%_
'call-method))
(let ((__tmp177962
(let ()
(declare
(not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L172122%_
__tmp177962)))
(_%__kont177307177308%_
_%L172120%_
_%L172121%_
_%L172122%_
_%L172123%_
_%L172124%_)
(_%__kont177319177320%_))))))))
(_%loop171386172101%_ _%target171383172096%_ '()))))
(_%__match177474177475%_
(lambda (_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_
_%e171368172056%_
_%hd171369172059%_
_%tl171370172061%_)
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#ref _%hd171369172059%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171370172061%_))
(let ((_%e171371172064%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171370172061%_))))
(let ((_%tl171373172069%_
(let ()
(declare (not safe))
(##cdr _%e171371172064%_)))
(_%hd171372172067%_
(let ()
(declare (not safe))
(##car _%e171371172064%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171373172069%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl171367172053%_))
(let ((_%e171374172072%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl171367172053%_))))
(let ((_%tl171376172077%_
(let ()
(declare (not safe))
(##cdr _%e171374172072%_)))
(_%hd171375172075%_
(let ()
(declare (not safe))
(##car _%e171374172072%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%hd171375172075%_))
(let ((_%e171377172080%_
(let ()
(declare
(not safe))
(gx#stx-e
_%hd171375172075%_))))
(let ((_%tl171379172085%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##cdr _%e171377172080%_)))
(_%hd171378172083%_
(let () (declare (not safe)) (##car _%e171377172080%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd171378172083%_))
(if (let ()
(declare (not safe))
(gx#stx-eq? '%#quote _%hd171378172083%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171379172085%_))
(let ((_%e171380172088%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171379172085%_))))
(let ((_%tl171382172093%_
(let ()
(declare (not safe))
(##cdr _%e171380172088%_)))
(_%hd171381172091%_
(let ()
(declare (not safe))
(##car _%e171380172088%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171382172093%_))
(if (let ()
(declare (not safe))
(gx#stx-pair/null?
_%tl171376172077%_))
(let ((_%__splice177309177310%_
(let ()
(declare (not safe))
(gx#syntax-split-splice
_%tl171376172077%_
'0))))
(let ((_%tl171385172098%_
(let ()
(declare (not safe))
(##vector-ref
_%__splice177309177310%_
'1)))
(_%target171383172096%_
(let ()
(declare (not safe))
(##vector-ref
_%__splice177309177310%_
'0))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl171385172098%_))
(_%__match177516177517%_
_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_
_%e171368172056%_
_%hd171369172059%_
_%tl171370172061%_
_%e171371172064%_
_%hd171372172067%_
_%tl171373172069%_
_%e171374172072%_
_%hd171375172075%_
_%tl171376172077%_
_%e171377172080%_
_%hd171378172083%_
_%tl171379172085%_
_%e171380172088%_
_%hd171381172091%_
_%tl171382172093%_
_%__splice177309177310%_
_%target171383172096%_
_%tl171385172098%_)
(_%__kont177319177320%_))))
(_%__kont177319177320%_))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))
(_%__kont177319177320%_))
(_%__kont177319177320%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont177319177320%_))))
(_%__match177798177799%_
_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_))
(_%__match177798177799%_
_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_))))
(_%__match177798177799%_
_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_))
(_%__match177584177585%_
_%e171344171992%_
_%hd171345171995%_
_%tl171346171997%_
_%e171347172000%_
_%hd171348172003%_
_%tl171349172005%_
_%e171350172008%_
_%hd171351172011%_
_%tl171352172013%_
_%e171353172016%_
_%hd171354172019%_
_%tl171355172021%_
_%e171356172024%_
_%hd171357172027%_
_%tl171358172029%_
_%e171359172032%_
_%hd171360172035%_
_%tl171361172037%_
_%e171362172040%_
_%hd171363172043%_
_%tl171364172045%_
_%e171365172048%_
_%hd171366172051%_
_%tl171367172053%_
_%e171368172056%_
_%hd171369172059%_
_%tl171370172061%_))))
(_%__match177406177407%_
(lambda (_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_
_%e171327172256%_
_%hd171328172259%_
_%tl171329172261%_
_%__splice177305177306%_
_%target171330172264%_
_%tl171332172266%_)
(letrec ((_%loop171333172269%_
(lambda (_%hd171331172272%_
_%args171337172274%_)
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd171331172272%_))
(let ((_%e171334172277%_
(let ()
(declare (not safe))
(gx#stx-e
_%hd171331172272%_))))
(let ((_%lp-tl171336172282%_
(let ()
(declare (not safe))
(##cdr _%e171334172277%_)))
(_%lp-hd171335172280%_
(let ()
(declare (not safe))
(##car _%e171334172277%_))))
(_%loop171333172269%_
_%lp-tl171336172282%_
(cons _%lp-hd171335172280%_
_%args171337172274%_))))
(let ((_%args171338172285%_
(reverse _%args171337172274%_)))
(let ((_%L172288%_
_%args171338172285%_)
(_%L172289%_
_%hd171328172259%_)
(_%L172290%_
_%hd171319172235%_)
(_%L172291%_
_%hd171310172211%_))
(if (and (let ()
(declare (not safe))
(gxc#runtime-identifier=?
_%L172291%_
'call-method))
(let ((__tmp177963
(let ()
(declare
(not safe))
(slot-ref__0
_%self171283%_
'receiver))))
(declare (not safe))
(gx#free-identifier=?
_%L172290%_
__tmp177963)))
(_%__kont177303177304%_
_%L172288%_
_%L172289%_
_%L172290%_
_%L172291%_)
(_%__match177594177595%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_
_%e171327172256%_
_%hd171328172259%_
_%tl171329172261%_))))))))
(_%loop171333172269%_ _%target171330172264%_ '())))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%__stx177301177302%_))
(let ((_%e171300172184%_
(let ()
(declare (not safe))
(gx#stx-e _%__stx177301177302%_))))
(let ((_%tl171302172189%_
(let ()
(declare (not safe))
(##cdr _%e171300172184%_)))
(_%hd171301172187%_
(let ()
(declare (not safe))
(##car _%e171300172184%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171302172189%_))
(let ((_%e171303172192%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171302172189%_))))
(let ((_%tl171305172197%_
(let ()
(declare (not safe))
(##cdr _%e171303172192%_)))
(_%hd171304172195%_
(let ()
(declare (not safe))
(##car _%e171303172192%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd171304172195%_))
(let ((_%e171306172200%_
(let ()
(declare (not safe))
(gx#stx-e _%hd171304172195%_))))
(let ((_%tl171308172205%_
(let ()
(declare (not safe))
(##cdr _%e171306172200%_)))
(_%hd171307172203%_
(let ()
(declare (not safe))
(##car _%e171306172200%_))))
(if (let ()
(declare (not safe))
(gx#identifier?
_%hd171307172203%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd171307172203%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl171308172205%_))
(let ((_%e171309172208%_
(let ()
(declare
(not safe))
(gx#stx-e
_%tl171308172205%_))))
(let ((_%tl171311172213%_
(let ()
(declare
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(not safe))
(##cdr _%e171309172208%_)))
(_%hd171310172211%_
(let () (declare (not safe)) (##car _%e171309172208%_))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171311172213%_))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%tl171305172197%_))
(let ((_%e171312172216%_
(let ()
(declare (not safe))
(gx#stx-e _%tl171305172197%_))))
(let ((_%tl171314172221%_
(let ()
(declare (not safe))
(##cdr _%e171312172216%_)))
(_%hd171313172219%_
(let ()
(declare (not safe))
(##car _%e171312172216%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd171313172219%_))
(let ((_%e171315172224%_
(let ()
(declare (not safe))
(gx#stx-e _%hd171313172219%_))))
(let ((_%tl171317172229%_
(let ()
(declare (not safe))
(##cdr _%e171315172224%_)))
(_%hd171316172227%_
(let ()
(declare (not safe))
(##car _%e171315172224%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd171316172227%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#ref
_%hd171316172227%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl171317172229%_))
(let ((_%e171318172232%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl171317172229%_))))
(let ((_%tl171320172237%_
(let ()
(declare (not safe))
(##cdr _%e171318172232%_)))
(_%hd171319172235%_
(let ()
(declare (not safe))
(##car _%e171318172232%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl171320172237%_))
(if (let ()
(declare
(not safe))
(gx#stx-pair?
_%tl171314172221%_))
(let ((_%e171321172240%_
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(let ()
(declare (not safe))
(gx#stx-e _%tl171314172221%_))))
(let ((_%tl171323172245%_
(let ()
(declare (not safe))
(##cdr _%e171321172240%_)))
(_%hd171322172243%_
(let ()
(declare (not safe))
(##car _%e171321172240%_))))
(if (let ()
(declare (not safe))
(gx#stx-pair? _%hd171322172243%_))
(let ((_%e171324172248%_
(let ()
(declare (not safe))
(gx#stx-e _%hd171322172243%_))))
(let ((_%tl171326172253%_
(let ()
(declare (not safe))
(##cdr _%e171324172248%_)))
(_%hd171325172251%_
(let ()
(declare (not safe))
(##car _%e171324172248%_))))
(if (let ()
(declare (not safe))
(gx#identifier? _%hd171325172251%_))
(if (let ()
(declare (not safe))
(gx#stx-eq?
'%#quote
_%hd171325172251%_))
(if (let ()
(declare (not safe))
(gx#stx-pair?
_%tl171326172253%_))
(let ((_%e171327172256%_
(let ()
(declare (not safe))
(gx#stx-e
_%tl171326172253%_))))
(let ((_%tl171329172261%_
(let ()
(declare (not safe))
(##cdr _%e171327172256%_)))
(_%hd171328172259%_
(let ()
(declare (not safe))
(##car _%e171327172256%_))))
(if (let ()
(declare (not safe))
(gx#stx-null?
_%tl171329172261%_))
(if (let ()
(declare (not safe))
(gx#stx-pair/null?
_%tl171323172245%_))
(let ((_%__splice177305177306%_
(let ()
;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(declare (not safe))
(gx#syntax-split-splice _%tl171323172245%_ '0))))
(let ((_%tl171332172266%_
(let ()
(declare (not safe))
(##vector-ref _%__splice177305177306%_ '1)))
(_%target171330172264%_
(let ()
(declare (not safe))
(##vector-ref _%__splice177305177306%_ '0))))
(if (let ()
(declare (not safe))
(gx#stx-null? _%tl171332172266%_))
(_%__match177406177407%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_
_%e171327172256%_
_%hd171328172259%_
_%tl171329172261%_
_%__splice177305177306%_
_%target171330172264%_
_%tl171332172266%_)
(_%__match177594177595%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_
_%e171327172256%_
_%hd171328172259%_
_%tl171329172261%_))))
(_%__match177594177595%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_
_%e171327172256%_
_%hd171328172259%_
_%tl171329172261%_))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__match177798177799%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_))))
(_%__match177798177799%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_))
(_%__match177474177475%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_
_%e171324172248%_
_%hd171325172251%_
_%tl171326172253%_))
(_%__match177798177799%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_))))
(_%__match177798177799%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_
_%e171321172240%_
_%hd171322172243%_
_%tl171323172245%_))))
(_%__match177736177737%_
_%e171300172184%_
_%hd171301172187%_
_%tl171302172189%_
_%e171303172192%_
_%hd171304172195%_
_%tl171305172197%_
_%e171306172200%_
_%hd171307172203%_
_%tl171308172205%_
_%e171309172208%_
_%hd171310172211%_
_%tl171311172213%_
_%e171312172216%_
_%hd171313172219%_
_%tl171314172221%_
_%e171315172224%_
_%hd171316172227%_
_%tl171317172229%_
_%e171318172232%_
_%hd171319172235%_
_%tl171320172237%_))
(_%__kont177319177320%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont177319177320%_))
(_%__kont177319177320%_))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))
(_%__kont177319177320%_))))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
(_%__kont177319177320%_))
(_%__kont177319177320%_))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))))
(_%__kont177319177320%_))))))))))
``` |
UIC Dorin Forum is a multi-use stadium on the University of Illinois at Chicago campus. It hosts graduation ceremonies, music performances, and political rallies, among other events. The main hall can accommodate up to 3,000 attendees.
It is named for benefactors Isadore and Sadie Dorin.
References
UIC Flames
Gymnastics venues in Chicago
University of Illinois Chicago
West Side, Chicago |
```c++
// 2016 and later: Unicode, Inc. and others.
/*
*******************************************************************************
* Corporation and others. All Rights Reserved.
*******************************************************************************
* Date Name Description
* 06/21/00 aliu Creation.
*******************************************************************************
*/
#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
#include "unicode/utrans.h"
#include "unicode/putil.h"
#include "unicode/rep.h"
#include "unicode/translit.h"
#include "unicode/unifilt.h"
#include "unicode/uniset.h"
#include "unicode/ustring.h"
#include "unicode/uenum.h"
#include "unicode/uset.h"
#include "uenumimp.h"
#include "cpputils.h"
#include "rbt.h"
// Following macro is to be followed by <return value>';' or just ';'
#define utrans_ENTRY(s) if ((s)==NULL || U_FAILURE(*(s))) return
/********************************************************************
* Replaceable-UReplaceableCallbacks glue
********************************************************************/
/**
* Make a UReplaceable + UReplaceableCallbacks into a Replaceable object.
*/
U_NAMESPACE_BEGIN
class ReplaceableGlue : public Replaceable {
UReplaceable *rep;
const UReplaceableCallbacks *func;
public:
ReplaceableGlue(UReplaceable *replaceable,
const UReplaceableCallbacks *funcCallback);
virtual ~ReplaceableGlue();
virtual void handleReplaceBetween(int32_t start,
int32_t limit,
const UnicodeString& text);
virtual void extractBetween(int32_t start,
int32_t limit,
UnicodeString& target) const;
virtual void copy(int32_t start, int32_t limit, int32_t dest);
// virtual Replaceable *clone() const { return NULL; } same as default
/**
* ICU "poor man's RTTI", returns a UClassID for the actual class.
*
* @draft ICU 2.2
*/
virtual UClassID getDynamicClassID() const;
/**
* ICU "poor man's RTTI", returns a UClassID for this class.
*
* @draft ICU 2.2
*/
static UClassID U_EXPORT2 getStaticClassID();
protected:
virtual int32_t getLength() const;
virtual UChar getCharAt(int32_t offset) const;
virtual UChar32 getChar32At(int32_t offset) const;
};
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ReplaceableGlue)
ReplaceableGlue::ReplaceableGlue(UReplaceable *replaceable,
const UReplaceableCallbacks *funcCallback)
: Replaceable()
{
this->rep = replaceable;
this->func = funcCallback;
}
ReplaceableGlue::~ReplaceableGlue() {}
int32_t ReplaceableGlue::getLength() const {
return (*func->length)(rep);
}
UChar ReplaceableGlue::getCharAt(int32_t offset) const {
return (*func->charAt)(rep, offset);
}
UChar32 ReplaceableGlue::getChar32At(int32_t offset) const {
return (*func->char32At)(rep, offset);
}
void ReplaceableGlue::handleReplaceBetween(int32_t start,
int32_t limit,
const UnicodeString& text) {
(*func->replace)(rep, start, limit, text.getBuffer(), text.length());
}
void ReplaceableGlue::extractBetween(int32_t start,
int32_t limit,
UnicodeString& target) const {
(*func->extract)(rep, start, limit, target.getBuffer(limit-start));
target.releaseBuffer(limit-start);
}
void ReplaceableGlue::copy(int32_t start, int32_t limit, int32_t dest) {
(*func->copy)(rep, start, limit, dest);
}
U_NAMESPACE_END
/********************************************************************
* General API
********************************************************************/
U_NAMESPACE_USE
U_CAPI UTransliterator* U_EXPORT2
utrans_openU(const UChar *id,
int32_t idLength,
UTransDirection dir,
const UChar *rules,
int32_t rulesLength,
UParseError *parseError,
UErrorCode *status) {
if(status==NULL || U_FAILURE(*status)) {
return NULL;
}
if (id == NULL) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return NULL;
}
UParseError temp;
if(parseError == NULL){
parseError = &temp;
}
UnicodeString ID(idLength<0, id, idLength); // r-o alias
if(rules==NULL){
Transliterator *trans = NULL;
trans = Transliterator::createInstance(ID, dir, *parseError, *status);
if(U_FAILURE(*status)){
return NULL;
}
return (UTransliterator*) trans;
}else{
UnicodeString ruleStr(rulesLength < 0,
rules,
rulesLength); // r-o alias
Transliterator *trans = NULL;
trans = Transliterator::createFromRules(ID, ruleStr, dir, *parseError, *status);
if(U_FAILURE(*status)) {
return NULL;
}
return (UTransliterator*) trans;
}
}
U_CAPI UTransliterator* U_EXPORT2
utrans_open(const char* id,
UTransDirection dir,
const UChar* rules, /* may be Null */
int32_t rulesLength, /* -1 if null-terminated */
UParseError* parseError, /* may be Null */
UErrorCode* status) {
UnicodeString ID(id, -1, US_INV); // use invariant converter
return utrans_openU(ID.getBuffer(), ID.length(), dir,
rules, rulesLength,
parseError, status);
}
U_CAPI UTransliterator* U_EXPORT2
utrans_openInverse(const UTransliterator* trans,
UErrorCode* status) {
utrans_ENTRY(status) NULL;
UTransliterator* result =
(UTransliterator*) ((Transliterator*) trans)->createInverse(*status);
return result;
}
U_CAPI UTransliterator* U_EXPORT2
utrans_clone(const UTransliterator* trans,
UErrorCode* status) {
utrans_ENTRY(status) NULL;
if (trans == NULL) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return NULL;
}
Transliterator *t = ((Transliterator*) trans)->clone();
if (t == NULL) {
*status = U_MEMORY_ALLOCATION_ERROR;
}
return (UTransliterator*) t;
}
U_CAPI void U_EXPORT2
utrans_close(UTransliterator* trans) {
delete (Transliterator*) trans;
}
U_CAPI const UChar * U_EXPORT2
utrans_getUnicodeID(const UTransliterator *trans,
int32_t *resultLength) {
// Transliterator keeps its ID NUL-terminated
const UnicodeString &ID=((Transliterator*) trans)->getID();
if(resultLength!=NULL) {
*resultLength=ID.length();
}
return ID.getBuffer();
}
U_CAPI int32_t U_EXPORT2
utrans_getID(const UTransliterator* trans,
char* buf,
int32_t bufCapacity) {
return ((Transliterator*) trans)->getID().extract(0, 0x7fffffff, buf, bufCapacity, US_INV);
}
U_CAPI void U_EXPORT2
utrans_register(UTransliterator* adoptedTrans,
UErrorCode* status) {
utrans_ENTRY(status);
// status currently ignored; may remove later
Transliterator::registerInstance((Transliterator*) adoptedTrans);
}
U_CAPI void U_EXPORT2
utrans_unregisterID(const UChar* id, int32_t idLength) {
UnicodeString ID(idLength<0, id, idLength); // r-o alias
Transliterator::unregister(ID);
}
U_CAPI void U_EXPORT2
utrans_unregister(const char* id) {
UnicodeString ID(id, -1, US_INV); // use invariant converter
Transliterator::unregister(ID);
}
U_CAPI void U_EXPORT2
utrans_setFilter(UTransliterator* trans,
const UChar* filterPattern,
int32_t filterPatternLen,
UErrorCode* status) {
utrans_ENTRY(status);
UnicodeFilter* filter = NULL;
if (filterPattern != NULL && *filterPattern != 0) {
// Create read only alias of filterPattern:
UnicodeString pat(filterPatternLen < 0, filterPattern, filterPatternLen);
filter = new UnicodeSet(pat, *status);
/* test for NULL */
if (filter == NULL) {
*status = U_MEMORY_ALLOCATION_ERROR;
return;
}
if (U_FAILURE(*status)) {
delete filter;
filter = NULL;
}
}
((Transliterator*) trans)->adoptFilter(filter);
}
U_CAPI int32_t U_EXPORT2
utrans_countAvailableIDs(void) {
return Transliterator::countAvailableIDs();
}
U_CAPI int32_t U_EXPORT2
utrans_getAvailableID(int32_t index,
char* buf, // may be NULL
int32_t bufCapacity) {
return Transliterator::getAvailableID(index).extract(0, 0x7fffffff, buf, bufCapacity, US_INV);
}
/* Transliterator UEnumeration ---------------------------------------------- */
typedef struct UTransEnumeration {
UEnumeration uenum;
int32_t index, count;
} UTransEnumeration;
U_CDECL_BEGIN
static int32_t U_CALLCONV
utrans_enum_count(UEnumeration *uenum, UErrorCode *pErrorCode) {
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
return 0;
}
return ((UTransEnumeration *)uenum)->count;
}
static const UChar* U_CALLCONV
utrans_enum_unext(UEnumeration *uenum,
int32_t* resultLength,
UErrorCode *pErrorCode) {
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
return 0;
}
UTransEnumeration *ute=(UTransEnumeration *)uenum;
int32_t index=ute->index;
if(index<ute->count) {
const UnicodeString &ID=Transliterator::getAvailableID(index);
ute->index=index+1;
if(resultLength!=NULL) {
*resultLength=ID.length();
}
// Transliterator keeps its ID NUL-terminated
return ID.getBuffer();
}
if(resultLength!=NULL) {
*resultLength=0;
}
return NULL;
}
static void U_CALLCONV
utrans_enum_reset(UEnumeration *uenum, UErrorCode *pErrorCode) {
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
return;
}
UTransEnumeration *ute=(UTransEnumeration *)uenum;
ute->index=0;
ute->count=Transliterator::countAvailableIDs();
}
static void U_CALLCONV
utrans_enum_close(UEnumeration *uenum) {
uprv_free(uenum);
}
U_CDECL_END
static const UEnumeration utransEnumeration={
NULL,
NULL,
utrans_enum_close,
utrans_enum_count,
utrans_enum_unext,
uenum_nextDefault,
utrans_enum_reset
};
U_CAPI UEnumeration * U_EXPORT2
utrans_openIDs(UErrorCode *pErrorCode) {
UTransEnumeration *ute;
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
return NULL;
}
ute=(UTransEnumeration *)uprv_malloc(sizeof(UTransEnumeration));
if(ute==NULL) {
*pErrorCode=U_MEMORY_ALLOCATION_ERROR;
return NULL;
}
ute->uenum=utransEnumeration;
ute->index=0;
ute->count=Transliterator::countAvailableIDs();
return (UEnumeration *)ute;
}
/********************************************************************
* Transliteration API
********************************************************************/
U_CAPI void U_EXPORT2
utrans_trans(const UTransliterator* trans,
UReplaceable* rep,
const UReplaceableCallbacks* repFunc,
int32_t start,
int32_t* limit,
UErrorCode* status) {
utrans_ENTRY(status);
if (trans == 0 || rep == 0 || repFunc == 0 || limit == 0) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return;
}
ReplaceableGlue r(rep, repFunc);
*limit = ((Transliterator*) trans)->transliterate(r, start, *limit);
}
U_CAPI void U_EXPORT2
utrans_transIncremental(const UTransliterator* trans,
UReplaceable* rep,
const UReplaceableCallbacks* repFunc,
UTransPosition* pos,
UErrorCode* status) {
utrans_ENTRY(status);
if (trans == 0 || rep == 0 || repFunc == 0 || pos == 0) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return;
}
ReplaceableGlue r(rep, repFunc);
((Transliterator*) trans)->transliterate(r, *pos, *status);
}
U_CAPI void U_EXPORT2
utrans_transUChars(const UTransliterator* trans,
UChar* text,
int32_t* textLength,
int32_t textCapacity,
int32_t start,
int32_t* limit,
UErrorCode* status) {
utrans_ENTRY(status);
if (trans == 0 || text == 0 || limit == 0) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return;
}
int32_t textLen = (textLength == NULL || *textLength < 0)
? u_strlen(text) : *textLength;
// writeable alias: for this ct, len CANNOT be -1 (why?)
UnicodeString str(text, textLen, textCapacity);
*limit = ((Transliterator*) trans)->transliterate(str, start, *limit);
// Copy the string buffer back to text (only if necessary)
// and fill in *neededCapacity (if neededCapacity != NULL).
textLen = str.extract(text, textCapacity, *status);
if(textLength != NULL) {
*textLength = textLen;
}
}
U_CAPI void U_EXPORT2
utrans_transIncrementalUChars(const UTransliterator* trans,
UChar* text,
int32_t* textLength,
int32_t textCapacity,
UTransPosition* pos,
UErrorCode* status) {
utrans_ENTRY(status);
if (trans == 0 || text == 0 || pos == 0) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return;
}
int32_t textLen = (textLength == NULL || *textLength < 0)
? u_strlen(text) : *textLength;
// writeable alias: for this ct, len CANNOT be -1 (why?)
UnicodeString str(text, textLen, textCapacity);
((Transliterator*) trans)->transliterate(str, *pos, *status);
// Copy the string buffer back to text (only if necessary)
// and fill in *neededCapacity (if neededCapacity != NULL).
textLen = str.extract(text, textCapacity, *status);
if(textLength != NULL) {
*textLength = textLen;
}
}
U_CAPI int32_t U_EXPORT2
utrans_toRules( const UTransliterator* trans,
UBool escapeUnprintable,
UChar* result, int32_t resultLength,
UErrorCode* status) {
utrans_ENTRY(status) 0;
if ( (result==NULL)? resultLength!=0: resultLength<0 ) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
return 0;
}
UnicodeString res;
res.setTo(result, 0, resultLength);
((Transliterator*) trans)->toRules(res, escapeUnprintable);
return res.extract(result, resultLength, *status);
}
U_CAPI USet* U_EXPORT2
utrans_getSourceSet(const UTransliterator* trans,
UBool ignoreFilter,
USet* fillIn,
UErrorCode* status) {
utrans_ENTRY(status) fillIn;
if (fillIn == NULL) {
fillIn = uset_openEmpty();
}
if (ignoreFilter) {
((Transliterator*) trans)->handleGetSourceSet(*((UnicodeSet*)fillIn));
} else {
((Transliterator*) trans)->getSourceSet(*((UnicodeSet*)fillIn));
}
return fillIn;
}
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
``` |
The invasion of Belgium or Belgian campaign (10–28 May 1940), often referred to within Belgium as the 18 Days' Campaign (, ), formed part of the larger Battle of France, an offensive campaign by Germany during the Second World War. It took place over 18 days in May 1940 and ended with the German occupation of Belgium following the surrender of the Belgian Army.
On 10 May 1940, Germany invaded Luxembourg, the Netherlands, and Belgium under the operational plan Fall Gelb (Case Yellow). The Allied armies attempted to halt the German Army in Belgium, believing it to be the main German thrust. After the French had fully committed the best of the Allied armies to Belgium between 10 and 12 May, the Germans enacted the second phase of their operation, a break-through, or sickle cut, through the Ardennes, and advanced toward the English Channel. The German Army (Heer) reached the Channel after five days, encircling the Allied armies. The Germans gradually reduced the pocket of Allied forces, forcing them back to the sea. The Belgian Army surrendered on 28 May 1940, ending the battle.
The Battle of Belgium included the first tank battle of the war, the Battle of Hannut. It was the largest tank battle in history at the time but was later surpassed by the battles of the North African Campaign and the Eastern Front. The battle also included the Battle of Fort Eben-Emael, the first strategic airborne operation using paratroopers ever attempted.
The German official history stated that in the 18 days of bitter fighting, the Belgian Army were tough opponents, and spoke of the "extraordinary bravery" of its soldiers. The Belgian collapse forced the Allied withdrawal from continental Europe. The British Royal Navy subsequently evacuated Belgian ports during Operation Dynamo, allowing the British Expeditionary Force (BEF), along with many Belgian and French soldiers, to escape capture and continue military operations. France reached its own armistice with Germany in June 1940. Belgium was occupied by the Germans until the autumn of 1944, when it was liberated by the Western Allies.
Pre-battle plans
Belgium's strained alliances
The Belgian strategy for a defence against German aggression faced political as well as military problems. In terms of military strategy, the Belgians were unwilling to stake everything on a linear defence of the Belgian–German border, in an extension of the Maginot Line. Such a move would leave the Belgians vulnerable to a German assault in their rear, through an attack on the Netherlands. Such a strategy would also rely on the French to move quickly into Belgium and support the garrison there.
Belgium was wary of continuing its alliance with France. Marshal Philippe Pétain had suggested a French strike at Germany's Ruhr area using Belgium as a spring-board in October 1930 and again in January 1933. Belgium feared it would be drawn into a war regardless, and sought to avoid that eventuality. The Belgians also feared being drawn into a war as a result of the French–Soviet pact of May 1935. The Franco-Belgian agreement stipulated Belgium was to mobilise if the Germans did, but what was not clear was whether Belgium would have to mobilise in the event of a German invasion of Poland.
The Belgians much preferred an alliance with the United Kingdom. The British had entered the First World War in response to the German violation of Belgian neutrality. The Belgian Channel ports had offered the German Imperial Navy valuable bases, and such an attack would offer the German Kriegsmarine and the Luftwaffe bases to engage in strategic offensive operations against the United Kingdom in the coming conflict. However, the British government paid little attention to the concerns of the Belgians. The lack of this commitment ensured the Belgian withdrawal from the Western Alliance, the day before the remilitarisation of the Rhineland. The lack of opposition to the remilitarisation served to convince the Belgians that France and Britain were unwilling to fight for their own strategic interests, let alone Belgium's. The Belgian General Staff was determined to fight for its own interests, alone if necessary.
Belgian place in Allied strategy
The French government was infuriated at King Leopold III's open declaration of neutrality in October 1936. The French Army saw its strategic assumptions undermined; it could no longer expect cooperation from the Belgians in defending Belgium's eastern borders, which would allow it to stop a German attack well forward of the French border. The French were dependent on cooperation from the Belgians. Such a situation deprived the French of any prepared defences in Belgium to forestall an attack, a situation which the French had wanted to avoid as it meant engaging the German Panzer Divisions in a mobile battle. The French considered invading Belgium immediately in response to a German attack on the country. The Belgians, recognising the danger posed by the Germans, secretly made their own defence policies, troop movement information, communications, fixed defence dispositions, intelligence and air reconnaissance arrangements available to the French military attaché in Brussels.
The Allied plan to aid Belgium was the Dyle Plan; the cream of the Allied forces, including French armoured divisions, would advance to the Dyle river in response to a German invasion. The choice of an established Allied line lay in either reinforcing the Belgians in the east of the country, at the Meuse–Albert Canal line, and holding the Scheldt Estuary, thus linking the French defences in the south with the Belgian forces protecting Ghent and Antwerp, seemed to be the soundest defensive strategy.
The weakness of the plan was that it abandoned most of eastern Belgium to the Germans. Militarily it would put the Allied rear at right angles to the French frontier defences; while for the British, with their communications located at the Channel ports, would be parallel to their front. Despite the risk of committing forces to central Belgium and an advance to the Scheldt or Dyle lines, which would be vulnerable to an outflanking move, Maurice Gamelin, the French commander, approved the plan and it remained the Allied strategy at the outbreak of war.
The British, with no army in the field and behind in rearmament, were in no position to challenge French strategy, which had assumed the prominent role of the Western Alliance. Having little ability to oppose the French, the British strategy for military action came in the form of strategic bombing of the Ruhr industry.
Belgian military strategy
On the official Belgian withdrawal from the Western Alliance, the Belgians refused to engage in any official staff meetings with French or British military staff for fear of compromising their neutrality. The Belgians did not regard a German invasion as inevitable and were determined that if an invasion did take place it would be effectively resisted by new fortifications such as Eben Emael.
The Belgians had taken measures to reconstruct their defences along their border with Germany upon Adolf Hitler's rise to power in January 1933. The Belgian government had watched with increasing alarm the German withdrawal from the League of Nations, its repudiation of the Treaty of Versailles and its violation of the Locarno Treaties. The government modernised fortifications at Namur and Liège, and established new lines of defence along the Maastricht–'s-Hertogenbosch canal, joining the Meuse, the Scheldt and the Albert Canal. Protection of the eastern frontier, based mainly on destroying a number of roads, was entrusted to new formations (frontier cyclist units and the newly formed Chasseurs Ardennais). By 1935, the Belgian defences were completed. Even so, it was felt that the defences were no longer adequate. A significant mobile reserve was needed to guard the rear areas, and as a result it was considered that the protection against a sudden assault by German forces was not sufficient. Significant manpower reserves would also be needed, but the public rejected a bill to require longer military service and training was rejected on the basis that it would increase Belgium's military commitments, perhaps in conflicts far from home.
King Leopold III made a speech on 14 October 1936 before the Council of Ministers to persuade the people and their government that Belgium's defences needed strengthening. He outlined three main military points for Belgium's increased rearmament:
a) German rearmament and the complete re-militarisation of Italy and Russia had caused most other states, even pacifists like Switzerland and the Netherlands, to take exceptional precautions.
b) Vast changes in military methods, particularly in aviation and mechanization, meant that initial operations could now be of alarming force, speed and magnitude.
c) The lightning reoccupation of the Rhineland came with bases for the start of a possible German invasion moving close to the Belgian frontier.
On 24 April 1937, the French and British publicly declared that Belgium's security was paramount to the Western Allies and that they would defend their borders against aggression of any sort, whether directed solely at Belgium, or to obtain bases to wage war against "other states". The British and French released Belgium from her Locarno obligations to render mutual assistance in the event of German aggression toward Poland, while the British and French maintained their military obligations to Belgium.
Militarily, the Belgians considered the Wehrmacht stronger than the Allies, and that engaging in overtures to the Allies would make Belgium a battleground without adequate allies.
The Belgians and French remained confused about what was expected of whom if or when hostilities commenced. The Belgians were determined to hold the border fortifications along the Albert Canal and the Meuse, without withdrawing, until the French Army arrived to support them. Gamelin was not keen on pushing his Dyle plan that far. He was concerned that the Belgians would be driven out of their defences and would retreat to Antwerp, as in 1914. In fact, the Belgian divisions protecting the border were to withdraw and retreat southward to link up with French forces. This information was not given to Gamelin.
As far as the Belgians were concerned, the Dyle Plan had advantages. Instead of the limited Allied advance to the Scheldt, or meeting the Germans on the Franco-Belgian border, the move to the Dyle river would reduce the Allied front in central Belgium by , freeing more forces for use as a strategic reserve. Belgium felt this would save more Belgian territory, in particular the eastern industrial regions. It also had the advantage of absorbing Dutch and Belgian Army formations (including some 20 Belgian divisions). Gamelin justified the Dyle Plan after the defeat using these arguments.
On 10 January 1940, in an episode known as the Mechelen Incident, German Army Major Hellmuth Reinberger crash-landed in a Messerschmitt Bf 108 near Mechelen-aan-de-Maas. Reinberger was carrying the first plans for the German invasion of western Europe which, as Gamelin had expected, entailed a repeat of the 1914 Schlieffen Plan and a German thrust through Belgium (which was expanded by the Wehrmacht to include the Netherlands) and into France.
The Belgians suspected a ruse, but the plans were taken seriously. Belgian intelligence and the military attaché in Cologne correctly suggested the Germans would not commence the invasion with this plan. It suggested that the Germans would try an attack through the Belgian Ardennes and advance to Calais to encircle the Allied armies in Belgium. The Belgians correctly predicted that the Germans would attempt a Kesselschlacht (literally "Cauldron battle", meaning encirclement), to destroy its enemies. The Belgians had predicted the exact German plan as offered by Erich von Manstein.
The Belgian High Command warned the French and British of their concerns. They feared that the Dyle plan would put not just the Belgian strategic position in danger, but also the entire left wing of the Allied front. King Leopold and General Raoul Van Overstraeten, the King's aide de camp, warned Gamelin and the French Army Command of their concerns on 8 March and 14 April. They were ignored.
Belgian plans for defensive operations
The Belgian plan, in the event of German aggression [italics in original] provided for:
(a) A delaying position along the Albert Canal from Antwerp to Liège and the Meuse from Liège to Namur, which was to be held long enough to allow French and British troops to occupy the line Antwerp–Namur–Givet. It was anticipated that the forces of the guarantor Powers would be in action on the third day of an invasion.
(b) Withdrawal to the Antwerp–Namur position.
(c) The Belgian Army was to hold the sector–excluding Leuven, but including Antwerp–as part of the main Allied defensive position.
In an agreement with the British and French Armies, the French 7th Army under the command of Henri Giraud was to advance into Belgium, past the Scheldt Estuary in Zeeland if possible, to Breda, in the Netherlands. The British Army's British Expeditionary Force or BEF, commanded by General John Vereker, Lord Gort, was to occupy the central position in the Brussels–Ghent gap supporting the Belgian Army, holding the main defensive positions, some east of Brussels. The main defensive position ringing Antwerp would be protected by the Belgians, barely from the city. The French 7th Army was to reach the Zeeland or Breda, just inside the Dutch border. The French would then be in a position to protect the left flank of the Belgian Army forces protecting Antwerp and threaten the German northern flank.
Further east, delaying positions were constructed in the immediate tactical zones along the Albert Canal, which joined with the defences of the Meuse west of Maastricht. The line deviated southward, and continued to Liège. The Maastricht–Liège gap was heavily protected. Fort Eben-Emael guarded the city's northern flank, the tank country lying in the strategic depths of the Belgian forces occupying the city and the axis of advance into the west of the country. Further lines of defence ran south-west, covering the Liège–Namur axis. The Belgian Army also had the added benefit of the French 1st Army, advancing toward Gembloux and Hannut, on the southern flank of the BEF covering the Sambre sector. This covered the gap in the Belgian defences between the main Belgian positions on the Dyle line and Namur to the south. Further south still, the French 9th Army advanced to the Givet–Dinant axis on the Meuse river. The French 2nd Army was responsible for the last of front, covering Sedan, the lower Meuse, the Belgian–Luxembourg border and the northern flank of the Maginot line.
German operational plans
The German plan of attack required that Army Group B would advance and draw the Allied First Army Group into central Belgium, while Army Group A conducted the surprise assault through the Ardennes. Belgium was to act as a secondary front. Army Group B was given only limited numbers of armoured and mobile units, while the vast majority of the Army Group comprised infantry divisions. After the English Channel was reached, all Panzer division units and most motorised infantry were removed from Army Group B and given to Army Group A, to strengthen the German lines of communication and to prevent an Allied breakout.
This plan would still fail if sufficient ground could not be quickly taken in Belgium to squeeze the allies against two fronts. Preventing this from happening were the defences of Fort Eben-Emael and the Albert Canal. The three bridges over the canal were the key to allowing Army Group B to move at high speed. The bridges at Veldwezelt, Vroenhoven and Kanne in Belgium, and Maastricht on the Dutch border were the targets. Failure to capture the bridges would leave Walter von Reichenau's German 6th Army, the southernmost army of Group B, trapped in the Maastricht-Albert Canal enclave and subject to the fire of Eben-Emael. The fort had to be captured or destroyed.
Adolf Hitler summoned Lieutenant-General Kurt Student of the 7. Flieger-Division (7th Air Division) to discuss the assault. It was first suggested that a conventional parachute drop be made by airborne forces to seize and destroy the forts' guns before the land units approached. Such a suggestion was rejected as the Junkers Ju 52 transports were too slow and were likely to be vulnerable to Dutch and Belgian anti-aircraft guns. Other factors for its refusal were the weather conditions, which might blow the paratroopers away from the fort and disperse them too widely. A seven-second drop from a Ju 52 at minimum operational height led to a dispersion over 300 metres alone.
Hitler had noticed one potential flaw in the defences. The roofs were flat and unprotected; he demanded to know if a glider, such as the DFS 230, could land on them. Student replied that it could be done, but only by 12 aircraft and in daylight; this would deliver 80–90 paratroopers onto the target.
Hitler then revealed the tactical weapon that would make this strategic operation work, introducing the Hohlladungwaffe (hollow-charge) – a explosive weapon which would destroy the Belgian gun emplacements. This tactical unit spearheaded the first strategic airborne operation in history.
Forces involved
Belgian forces
The Belgian Army could muster 22 divisions, which contained 1,338 artillery pieces but just 10 AMC 35 tanks. However, the Belgian combat vehicles included 200 T-13 tank destroyers. These had an excellent 47 mm antitank gun and a coaxial FN30 machine gun in a turret. The Belgians also possessed 42 T-15s. They were officially described as armoured cars but were actually fully tracked tanks with a 13.2 mm turret machine gun. The standard Belgian anti-tank gun was the 47 mm FRC, towed either by trucks or by fully tracked armoured Utilitie B-tractors. One report states that a round from a 47 mm gun went straight through a Sd kfz 231 and penetrated the armour of the Panzer IV behind it. These Belgian guns were better than the 25 mm and 37 mm guns of respectively the French and the Germans.
The Belgians began mobilisation on 25 August 1939 and by May 1940 mounted a field army of 18 infantry divisions, two divisions of partly motorised Chasseurs Ardennais and two motorised cavalry divisions, a force totaling some 600,000 men. Belgian reserves may have been able to field 900,000 men. The army lacked armour and anti-aircraft guns.
After the completion of the Belgian Army's mobilisation, it could muster five Regular Corps and two reserve Army Corps consisting of 12 regular infantry divisions, two divisions of Chasseurs Ardennais, six reserve infantry divisions, one brigade of Cyclist Frontier Guards, one Cavalry Corps of two divisions, and one brigade of motorised cavalry. The Army contained two anti-aircraft artillery and four artillery regiments, and an unknown number of fortress, engineer, and signals force personnel.
The Belgian Naval Corps (Corps de Marine) was resurrected in 1939. Most of the Belgian merchant fleet, some 100 ships, evaded capture by the Germans. Under the terms of a Belgian–Royal Navy agreement, these ships and their 3,350 crewmen were placed under British control for the duration of hostilities. The General Headquarters of the Belgian Admiralty was at Ostend under the command of Major Henry Decarpentrie. The First Naval Division was based at Ostend, while the Second and Third divisions were based at Zeebrugge and Antwerp.
The Aéronautique Militaire Belge (Belgian Air Force - AéMI) had barely begun to modernise their aircraft technology. The AéMI had ordered Brewster Buffalo, Fiat CR.42, and Hawker Hurricane fighters, Koolhoven F.K.56 trainers, Fairey Battle and Caproni Ca.312 light bombers, and Caproni Ca.335 fighter-reconnaissance aircraft, but only the Fiats, Hurricanes, and Battles had been delivered. The shortage of modern types meant single-seat versions of the Fairey Fox light bomber were being used as fighters. The AéMI possessed 250 combat aircraft. At least 90 were fighters, 12 were bombers and 12 were reconnaissance aircraft. Only 50 were of reasonably modern standard. When liaison and transport aircraft from all services are included, the total strength was 377; however only 118 of these were serviceable on 10 May 1940. Of this number around 78 were fighters and 40 were bombers.
The AéMI was commanded by Paul Hiernaux, who had received his pilot's license just before the outbreak of World War I, and had risen to the position of Commander-in-Chief in 1938. Hiernaux organised the service into three Régiments d'Aéronautique (air regiments): the 1er with 60 aircraft, the 2ème with 53 aircraft, and the 3ème with 79 aircraft.
French forces
The Belgians were afforded substantial support by the French Army. The French 1st Army included General René Prioux's Cavalry Corps. The Corps was given the 2nd Light Mechanized Division (2e Division Légère Mécanique, or 2e DLM) and the 3rd Light Mechanized Division (3e DLM), which were allocated to defend the Gembloux gap. The armoured forces consisted of 176 of the formidable SOMUA S35s and 239 Hotchkiss H35 light tanks. Both of these types, in armour and firepower, were superior to most German types. The 3e DLM contained 90 S35s and some 140 H35s alone.
The French 7th Army was assigned to protect the northernmost part of the Allied front. It contained the 1st Light Mechanized Division (1re DLM), the 25th Motorised Infantry Division (25e Division d'Infanterie Motorisée, or 25e DIM) and the 9th Motorised Infantry Division (9e DIM). This force would advance to Breda in the Netherlands.
The third French army to see action on Belgian soil was the 9th. It was weaker than both the 7th and the 1st Armies. The 9th Army was allocated infantry divisions, with the exception of the 5th Motorised Infantry Division (5e DIM). Its mission was to protect the southern flank of the Allied armies, south of the Sambre river and just north of Sedan. Further south, in France, was the French 2nd Army, protecting the Franco-Belgian border between Sedan and Montmédy. The two weakest French armies were thus protecting the area of the main German thrust.
British forces
The British contributed the weakest force to Belgium. The BEF, under the command of General Lord Gort VC, consisted of just 152,000 men in two corps of two divisions each. The British had hoped to field two armies of two Corps each, but this scale of mobilisation never took place. The I Corps was commanded by Lt-Gen. John Dill, later Lt-Gen. Michael Barker, who was in turn replaced by Major-General Harold Alexander. Lt-Gen. Alan Brooke commanded II Corps. Later the III Corps under Lt-Gen. Ronald Adam was added to the British order of battle. A further 9,392 Royal Air Force (RAF) personnel of the RAF Advanced Air Striking Force under the command of Air Vice-Marshal Patrick Playfair was to support operations in Belgium. By May 1940 the BEF had grown to 394,165 men, of whom more than 150,000 were part of the logistical rear area organisations and had little military training. On 10 May 1940, the BEF comprised just 10 divisions (not all at full strength), 1,280 artillery pieces and 310 tanks.
German forces
Army Group B was commanded by Fedor von Bock. It was allocated 26 infantry and three Panzer divisions for the invasion of the Netherlands and Belgium. Of the three Panzer Divisions, the 3rd and 4th were to operate in Belgium under the command of the 6th Army's XVI Corps. The 9th Panzer Division was attached to the 18th Army which, after the Battle of the Netherlands, would support the push into Belgium alongside the 18th Army and cover its northern flank.
Armoured strength in Army Group B amounted to 808 tanks, of which 282 were Panzer Is, 288 were Panzer IIs, 123 were Panzer IIIs and 66 were Panzer IVs; 49 command tanks were also operational. The 3rd Panzer Division's armoured regiments consisted of 117 Panzer Is, 128 Panzer IIs, 42 Panzer IIIs, 26 Panzer IVs and 27 command tanks. The 4th Panzer Division had 136 Panzer Is, 105 Panzer IIs, 40 Panzer IIIs, 24 Panzer IVs and 10 command tanks. The 9th Panzer, scheduled initially for operations in the Netherlands, was the weakest division with only 30 Panzer Is, 54 Panzer IIs, 123, 66 Panzer IIIs and 49 Panzer IVs.
The elements drawn from the 7th Air Division and the 22nd Airlanding Division, that were to take part in the attack on Fort Eben-Emael, were named Sturmabteilung Koch (Assault Detachment Koch); named after the commanding officer of the group, Hauptmann Walter Koch. The force was assembled in November 1939. It was primarily composed of parachutists from the 1st Parachute Regiment and engineers from the 7th Air Division, as well as a small group of Luftwaffe pilots. The Luftwaffe allocated 1,815 combat, 487 transport aircraft and 50 gliders for the assault on the Low Countries.
The initial air strikes over Belgian air space were to be conducted by IV. Fliegerkorps under General der Flieger Generaloberst Alfred Keller. Keller's force consisted of Lehrgeschwader 1 (Stab. I., II., III., IV.), Kampfgeschwader 30 (Stab. I., II., III.) and Kampfgeschwader 27 (III.). On 10 May Keller had 363 aircraft (224 serviceable) augmented by Generalmajor Wolfram von Richthofen's VIII. Fliegerkorps with 550 (420 serviceable) aircraft. They in turn were supported by Oberst Kurt-Bertram von Döring's Jagdfliegerführer 2, with 462 fighters (313 serviceable).
Keller's IV. Fliegerkorps headquarters would operate from Düsseldorf, LG 1. Kampfgeschwader 30 which was based at Oldenburg and its III. Gruppe were based at Marx. Support for Döring and Von Richthofen came from present-day North Rhine-Westphalia and bases in Grevenbroich, Mönchengladbach, Dortmund and Essen.
Battle
Luftwaffe operations: 10 May
During the evening of 9 May, the Belgian military attaché in Berlin intimated that the Germans intended to attack the following day. Offensive movements of enemy forces were detected on the border.
At 00:10 on 10 May 1940 at General Headquarters, an unspecified squadron in Brussels gave the alarm. A full state of alert was instigated at 01:30 am. Belgian forces took up their deployment positions. The Allied armies had enacted their Dyle plan on the morning of 10 May, and were approaching the Belgian rear.
The Luftwaffe was to spearhead the aerial battle in the low countries. Its first task was to eliminate the Belgian air contingent. Despite an overwhelming numerical superiority — 1,375 aircraft, 957 of which were serviceable — the air campaign in Belgium had limited success overall on the first day. At roughly 04:00, the first air raids were conducted against airfields and communication centres. It still had a tremendous impact on the AéMI, which had only 179 aircraft on 10 May.
Much of the success achieved was down to Wolfram von Richthofen's subordinates, particularly Kampfgeschwader 77 and its commander Oberst , whose attachment to VIII. Fliegerkorps was noted by Generalmajor . He commented it "...was the result of the well-known tendency of the commanding general to conduct his own private war". Fisser's KG 77 destroyed the AéMI main bases, with help from KG 54. Fighters from Jagdgeschwader 27 (JG 27) eliminated two Belgian squadrons at , and during the afternoon, I./St.G 2 destroyed nine of the 15 Fiat CR.42 fighters at . At Schaffen-Diest, three Hawker Hurricanes of Escadrille 2/I/2 were destroyed and another six damaged when a wave of He 111s caught them as they were about to take off. A further two were lost in destroyed hangars. At Nivelles airfield, 13 CR42s were destroyed. The only other success was KG 27s destruction of eight aircraft at Belsele.
In aerial combat the battles were also one-sided. Two He 111s, two Do 17s and three Messerschmitt Bf 109s were shot down by Gloster Gladiators and Hurricanes. In return, eight Belgian Gladiators, five Fairey Foxes and one CR42 were shot down by JG 1, 21 and 27. No. 18 Squadron RAF sent two Bristol Blenheims on operations over the Belgian front, but lost both to Bf 109s. By the end of 10 May, the official German figures indicate claims for 30 Belgian aircraft destroyed on the ground, and 14 (plus the two RAF bombers) in the air for 10 losses. The victory claims are likely an undercount. A total of 83 Belgian machines–mostly trainers and "squadron hacks", were destroyed. The AéMI flew only 146 sorties in the first six days. Between 16 May and 28 May, the AéMI flew just 77 operations. It spent most of its time retreating and fuel withdrawing in the face of Luftwaffe attacks.
10–11 May: Border battles
The German planners had recognised the need to eliminate Fort Eben-Emael if their army was to break into the interior of Belgium. It decided to deploy airborne forces (Fallschirmjäger) to land inside the fortress perimeter using gliders. Using special explosives and flamethrowers to disable the defences, the Fallschirmjäger entered the fortress. In the ensuing battle, German infantry overcame the defenders of the I Belgian Corps' 7th Infantry Division in 24 hours. The main Belgian defence line had been breached and German infantry of the 18th Army rapidly passed through it. Moreover, German soldiers established bridgeheads across the Albert Canal before the British were able to reach it some 48 hours later. The Chasseurs Ardennais further south, on the orders of their commander, withdrew behind the Meuse, destroying some bridges in their wake. German airborne forces were assisted by Junkers Ju 87 Stukas of III./Sturzkampfgeschwader 2 (StG 2) and I./Sturzkampfgeschwader 77 (StG 77) helped suppress the defences. Henschel Hs 123s of II.(S)./Lehrgeschwader 2 (LG 2) which assisted in the capture of the bridges at Vroenhoven and Veldwezelt in the immediate area.
Further successful German airborne offensive operations were carried out in Luxembourg, seizing five crossings and communication routes into central Belgium. The offensive, carried out by 125 volunteers of the 34th Infantry Division under the command of Wenner Hedderich, achieved their missions by flying to their objectives using Fieseler Fi 156 Störche. The cost was the loss of five aircraft and 30 dead. With the fort breached, the Belgian 4th and 7th Infantry Divisions were confronted by the prospect of fighting an enemy on relatively sound terrain (for armour operations). The 7th Division, with its 2nd and 18th Grenadier Regiments and 2nd Carabineers, struggled to hold their positions and contain the German infantry on the west bank. The Belgian tactical units engaged in several counterattacks. At one point, at Briedgen, they succeeded in retaking the bridge and blowing it up. At the other points, Vroenhoven and Veldwezelt, the Germans had had time to establish strong bridgeheads and repulsed the attacks.
A little known third airborne operation, Operation Niwi, was also conducted on 10 May in southern Belgium. The objectives of this operation was to land two companies of the 3rd battalion Grossdeutschland Infantry Regiment by Fi 156 aircraft at Nives and Witry in the south of the country, in order to clear a path for the 1st and 2nd Panzer divisions which were advancing through the Belgian–Luxembourg Ardennes. The original plan called for the use of Junkers Ju 52 transport aircraft, but the short landing capability of the Fi 156 (27 metres) saw 200 of these aircraft used in the assault. The operational mission was to:
1. Cut signal communications and message links on the Neufchâteau–Bastogne and Neufchâteau–Martelange roads. [Neufchâteau being the largest southernmost city in Belgium]
2. Prevent the approach of reserves from the Neufchâteau area
3. Facilitate the capture of pillboxes and the advance by exerting pressure against the line of pillboxes along the border from the rear.
The German infantry were engaged by several Belgian patrols equipped with T-15 armoured cars. Several Belgian counterattacks were repulsed, among them an attack by the 1st Light Chasseurs Ardennais Division. Unsupported, the Germans faced a counterattack later in the evening by elements of the French 5th Cavalry Division, dispatched by General Charles Huntziger from the French 2nd Army, which had a significant tank strength. The Germans were forced to retreat. The French, however, failed to pursue the fleeing German units, stopping at a dummy barrier. By the next morning, the 2nd Panzer Division had reached the area, and the mission had largely been accomplished. From the German perspective, the operation hindered rather than helped Heinz Guderian's Panzer Corps. The regiment had blocked the roads and, against the odds, prevented French reinforcements reaching the Belgian–Franco-Luxembourg border, but it also destroyed Belgian telephone communications. This inadvertently prevented the Belgian field command recalling the units along the border. The 1st Belgian Light Infantry did not receive the signal to retreat and engaged in a severe fire-fight with the German armour, slowing down their advance.
The failure of the Franco–Belgian forces to hold the Ardennes gap was fatal. The Belgians had withdrawn laterally upon the initial invasion and had demolished and blocked routes of advance, which held up the French 2nd Army units moving north toward Namur and Huy. Devoid of any centre of resistance, the German assault engineers had cleared the obstacles unchallenged. The delay that the Belgian Ardennes Light Infantry, considered to be an elite formation, could have inflicted upon the advancing German armour was proved by the fight for Bodange, where the 1st Panzer Division was held up for a total of eight hours. This battle was a result of a breakdown in communications and ran contrary to the operational intentions of the Belgian Army.
Meanwhile, in the central Belgian sector, having failed to restore their front by means of ground attack, the Belgians attempted to bomb the bridges and positions that the Germans had captured intact and were holding on 11 May. Belgian Fairey Battles of 5/III/3 escorted by six Gloster Gladiators attacked the Albert Canal bridges. Bf 109s from I./Jagdgeschwader 1 (JG 1) and I./JG 27 intercepted and JG 1 shot down four Gladiators and both units destroyed six Battles and heavily damaged the remaining three. Eight CR.42s were evacuated from Brustem to Grimbergen near Brussels but seven Gladiators and the last remaining Hurricanes from 2/I/2 Escadrille were destroyed at Beauvechain Air Base and Le Culot by He 111s and I./JG 27 respectively. The RAF contributed to the effort to attack the bridges. The British dispatched Bristol Blenheims from 110 and 21 Squadron—the first squadron lost two, one to I./JG 27. 21 Squadron suffered damage to most of the bombers because of intense ground-fire. The French Armée de l'air dispatched LeO 451s from GBI/12 and GBII/12 escorted by 18 Morane-Saulnier M.S.406 of GCIII/3 and GCII/6. The operation failed and one bomber was lost while four M.S.406s fell to I.JG 1. The French claimed five. Meanwhile, 114 Squadron lost six Blenheims destroyed when Dornier Do 17s of Kampfgeschwader 2 bombed their airfield at Vraux. Another Battle of No. 150 Squadron RAF was lost in another raid.
The German counter-air operations were spearheaded by Jagdgeschwader 26 (JG 26) under the command of Hans-Hugo Witt, which was responsible for 82 of the German claims in aerial combat between 11 and 13 May. Despite the apparent success of the German fighter units, the air battle was not one-sided. On the morning of 11 May ten Ju 87s of StG 2 were shot down attacking Belgian forces in the Namur–Dinant gap, despite the presence of two Jagdgeschwader—27 and 51. Nevertheless, the Germans reported a weakening in Allied air resistance in northern Belgium by 13 May.
During the night of 11 May, the British 3rd Infantry Division under the command of General Bernard Law Montgomery, reached its position on the Dyle river at Leuven. As it did so the Belgian 10th Infantry Division, occupying the position, mistook them for German parachutists and fired on them. The Belgians refused to yield but Montgomery claimed to have got his way by placing himself under the command of the Belgian forces, knowing that when the Germans came within artillery range the Belgians would withdraw.
Alan Brooke, commander of the British II Corps sought to put the matter of cooperation right with King Leopold. The King discussed the matter with Brooke, who felt a compromise could be reached. Van Overstraeten, the King's military aide, stepped in and said that the 10th Belgian Infantry Division could not be moved. Instead, the British should move further south and remain completely clear of Brussels. Brooke told the King that the 10th Belgian Division was on the wrong side of the Gamelin line and was exposed. Leopold deferred to his advisor and chief of staff. Brooke found Overstaeten to be ignorant of the situation and the dispositions of the BEF. Given that the left flank of the BEF rested on its Belgian ally, the British were now unsure about Belgian military capabilities.
The Allies had more serious grounds for complaint about the Belgian anti-tank defences along the Dyle line, that covered the Namur–Perwez gap which was not protected by any natural obstacles. Only a few days before the attack, General Headquarters had discovered the Belgians had sited their anti-tank defences (de Cointet defences) several miles east of the Dyle between Namur–Perwez.
After holding onto the Albert Canal's west bank for nearly 36 hours, the 4th and 7th Belgian infantry divisions withdrew. The capture of Eben-Emael allowed the Germans to force through the Panzers of the 6th Army. The situation for the Belgian divisions was either to withdraw or be encircled. The Germans had advanced beyond Tongeren and were now in a position to sweep south to Namur, which would threaten to envelop the entire Albert Canal and Liège positions. Under the circumstances, both divisions withdrew. On the evening of 11 May, the Belgian Command withdrew its forces behind the Namur–Antwerp line. The following day, the French 1st Army arrived at Gembloux, between Wavre and Namur, to cover the "Gembloux gap". It was a flat area, devoid of prepared or entrenched positions.
The French 7th Army, on the northern flank of the Belgian line, protected the Bruges–Ghent–Ostend axis and, covering the Channel ports, had advanced into Belgium and into the Netherlands with speed. It reached Breda in the Netherlands, on 11 May. But German parachute forces had seized the Moerdijk bridge on the Hollands Diep river, south of Rotterdam, making it impossible for the French to link up with the Dutch Army. The Dutch Army withdrew north to Rotterdam and Amsterdam.
The French 7th Army turned east and met the 9th Panzer Division about east of Breda at Tilburg. The battle resulted in the French retiring, in the face of Luftwaffe air assaults, to Antwerp. It would later help in the defence of the city. The Luftwaffe had given priority to attacking the French 7th Army's spearhead into the Netherlands as it threatened the Moerdijk bridgehead. Kampfgeschwader 40 and 54 supported by Ju 87s from VIII. Fliegerkorps helped drive them back. Fears of Allied reinforcements reaching Antwerp forced the Luftwaffe to cover the Scheldt estuary. KG 30 bombed and sank two Dutch gunboats and three Dutch destroyers, as well as badly damaging two Royal Navy destroyers. But overall the bombing had a limited effect.
12–14 May: Battles of the central Belgian plain
During the night of 11/12 May, the Belgians were fully engaged in withdrawing to the Dyle line, covered by a network of demolitions and rearguards astride Tongeren.
During the morning of 12 May, King Leopold III, General van Overstraeten, Édouard Daladier, General Alphonse Georges (commander of the First Allied army Group, comprising the BEF, French 1st, 2nd, 7th and 9th Armies), General Gaston Billotte (coordinator of the Allied Armies) and General Henry Royds Pownall, Gort's chief of staff, met for a military conference near Mons. It was agreed the Belgian Army would man the Antwerp–Leuven line, while its allies took up the responsibility of defending the extreme north and south of the country.
The Belgian III Corps, and its 1st Chasseurs Ardennais, 2nd Infantry and 3rd Infantry Divisions had withdrawn from the Liège fortifications to avoid being encircled. One regiment, the Liège Fortress Regiment, stayed behind to disrupt German communications. Further to the south, the Namur fortress, manned by VI Corps' 5th Infantry Division and the 2nd Chasseurs Ardennais with the 12th French Infantry Division, fought delaying actions and participated in a lot of demolition work while guarding the position.
As far as the Belgians were concerned, it had accomplished the only independent mission assigned to it: to hold the Liège–Albert Canal line long enough for the Allied units to reach friendly forces occupying the Namur–Antwerp–Givet line. For the remainder of the campaign, the Belgians would execute their operations in accordance with the overall Allied plan.
Belgian soldiers fought rearguard actions while other Belgian units already on the Dyle line worked tirelessly to organise better defensive positions in the Leuven–Antwerp gap. The 2nd Regiment of Guides and the 2nd Carabineers Cyclists of the 2nd Belgian Cavalry Division covered the retreat of the 4th and 7th Belgian divisions and were particularly distinguished at the Battle of Tirlemont and the Battle of Halen.
In support of Belgian forces in the area, the RAF and French flew air defence operations in the Tirlemont and Louvain area. The RAF Advanced Air Striking Force committed 3, 504, 79, 57, 59, 85, 87, 605, and 242 squadrons to battle. A series of air battles were fought with JG 1, 2, 26, 27 and 3. Messerschmitt Bf 110s from Zerstörergeschwader 26 (ZG 26), and bomber units LG 1, 2 and KG 27 were also involved. Over Belgium and France, the day was disastrous for the British: 27 Hurricanes were shot down.
In light of the withdrawal to the main defensive line, which was now being supported by the British and French Armies, King Leopold issued the following proclamation to improve morale after the defeats at the Albert Canal:
Soldiers
The Belgian Army, brutally assailed by an unparalleled surprise attack, grappling with forces that are better equipped and have the advantage of a formidable air force, has for three days carried out difficult operations, the success of which is of the utmost importance to the general conduct of the battle and to the result of war.
These operations require from all of us – officers and men – exceptional efforts, sustained day and night, despite a moral tension tested to its limits by the sight of the devastation wrought by a pitiless invader. However severe the trial may be, you will come through it gallantly.
Our position improves with every hour; our ranks are closing up. In the critical days that are ahead of us, you will summon up all your energies, you will make every sacrifice, to stem the invasion.
Just as they did in 1914 on the Yser, so now the French and British troops are counting on you: the safety and honour of the country are in your hands.
Leopold.
To the Allies, the Belgian failure to hold onto its eastern frontiers (they were thought to be capable of holding out for two weeks), was a disappointment. The Allied Chiefs of Staff had sought to avoid an encounter mobile battle without any strong fixed defences to fall back on and hoped Belgian resistance would last long enough for a defensive line to be established. Nevertheless, a brief lull fell on the Dyle front on 11 May which enabled the Allied armies to get into position by the time the first major assault was launched the following day. Allied cavalry had moved into position and infantry and artillery were reaching the front more slowly, by rail. Although unaware of it, the First Allied army Group and the Belgian Army outnumbered and outgunned Walther von Reichenau's German 6th Army.
On the morning of 12 May, in response to Belgian pressure and necessity, the Royal Air Force and the Armée de l'Air undertook several air attacks on the German-held Maastricht and Meuse bridges to prevent German forces flowing into Belgium. 74 sorties had been flown by the Allies since 10 May. On 12 May, eleven out of eighteen French Breguet 693 bombers were shot down. The RAF Advanced Air Striking Force, which included the largest Allied bomber force, was reduced to 72 aircraft out of 135 by 12 May. For the next 24 hours, missions were postponed as the German anti-aircraft and fighter defences were too strong.
The results of the bombing is difficult to determine. The German XIX Corps war diary's situation summary at 20:00 on 14 May noted:
The completion of the military bridge at Donchery had not yet been carried out owing to heavy flanking artillery fire and long bombing attacks on the bridging point ... Throughout the day all three divisions have had to endure constant air attack — especially at the crossing and bridging points. Our fighter cover is inadequate. Requests [for increased fighter protection] are still unsuccessful.
The Luftwaffe's operations includes a note of "vigorous enemy fighter activity through which our close reconnaissance in particular is severely impeded". Nevertheless, inadequate protection was given to cover RAF bombers against the strength of German opposition over the target area. In all, out of 109 Fairey Battles and Bristol Blenheims which had attacked enemy columns and communications in the Sedan area, 45 had been lost. On 15 May, daylight bombing was significantly reduced. Of 23 aircraft employed, four failed to return. Equally, owing to the Allied fighter presence, the German XIX Corps War Diary states, "Corps no longer has at its disposal its own long-range reconnaissance ... [Reconnaissance squadrons] are no longer in a position to carry out vigorous, extensive reconnaissance, as, owing to casualties, more than half of their aircraft are not now available."
The most serious combat to evolve on 12 May 1940 was the beginning of the Battle of Hannut (12–14 May). While the German Army Group A advanced through the Belgian Ardennes, Army Group B's 6th Army launched an offensive operation toward the Gembloux gap. Gembloux occupied a position in the Belgian plain; it was an unfortified, untrenched space in the main Belgian defensive line. The Gap stretched from the southern end of the Dyle line, from Wavre in the north, to Namur in the south, to . After attacking out of the Maastricht bulge and defeating the Belgian defences at Liege, which compelled the Belgian I Corps to retreat, the German 6th Army's XVI Panzer-Motorized Corps, under the command of General Erich Hoepner and containing the 3rd and 4th Panzer Divisions, launched an offensive in the area where the French mistakenly expected the main German thrust.
The Gembloux gap was defended by the French 1st Army, with six elite divisions including the 2nd (2e Division Légère Mécanique, or 2e DLM) and 3rd Light Mechanized Divisions. The Prioux Cavalry Corps, under the command of Rene-Jacques-Adolphe Prioux, was to advance beyond the line (east) to provide a screen for the move. The French 1st and 2nd Armoured Divisions were to be moved behind the French 1st Army to defend its main lines in depth. The Prioux Cavalry Corps was equal to a German Panzer Corps and was to occupy a screening line on the Tirlemont–Hannut–Huy axis. The operational plan called for the Corps to delay the German advance on Gembloux and Hannut until the main elements of the French 1st Army had reached Gembloux and dug in.
Hoepner's Panzer Corps and Prioux' Cavalry clashed head-on near Hannut, Belgium, on 12 May. Contrary to popular belief, the Germans did not outnumber the French. Frequently, figures of 623 German and 415 French tanks are given. The German 3rd and 4th Panzer Divisions numbered 280 and 343 respectively. The 2e DLM and 3e DLM numbered 176 Somuas and 239 Hotchkiss H35s. Added to this force were the considerable number of Renault AMR-ZT-63s in the Cavalry Corps. The R35 was equal or superior to the Panzer I and Panzer IIs in armament terms. This applies all the more to the 90 Panhard 178 armoured cars of the French Army. Its 25mm main gun could penetrate the armour of the Panzer IV. In terms of tanks that were capable of engaging and surviving a tank-vs-tank action, the Germans possessed just 73 Panzer IIIs and 52 Panzer IVs. The French had 176 SOMUA and 239 Hotchkisses. German tank units also contained 486 Panzer I and IIs, which were of dubious combat value given their losses in the Polish Campaign.
The German forces were able to communicate by radio during the battle and they could shift the point of the main effort unexpectedly. The Germans also practiced combined arms tactics, while the French tactical deployment was a rigid and linear leftover from the First World War. French tanks did not possess radios and often the commanders had to dismount to issue orders. Despite the disadvantages experienced by the Germans in armour, they were able to gain the upper hand in the morning battle on 12 May, encircling several French battalions. The combat power of the French 2e DLM managed to defeat the German defences guarding the pockets and freeing the trapped units. Contrary to German reports, the French were victorious on that first day, preventing a Wehrmacht break-through to Gembloux or seizing Hannut. The result of the first day's battle was:
The effect on the German light tanks was catastrophic. Virtually every French weapon from 25mm upward penetrated the 7-13mm of the Panzer I. Although the Panzer II fared somewhat better, especially those that had been up-armoured since the Polish Campaign, their losses were high. Such was the sheer frustration of the crews of these light Panzers in [the] face of heavier armoured French machines that some resorted to desperate expedients. One account speaks of a German Panzer commander attempting to climb on a Hotchkiss H-35 with a hammer, presumably to smash the machine's periscopes, but falling off and being crushed by the tank's tracks. Certainly by day's end, Prioux had reason to claim that his tanks had come off best. The battlefield around Hannut was littered with knocked-out tanks–the bulk of which were German Panzers–with by far and away the bulk of them being Panzer Is and IIs.
The following day, 13 May, the French were undone by their poor tactical deployment. They strung their armour out in a thin line between Hannut and Huy, leaving no defence in depth, which was the point of sending the French armour to the Gembloux gap in the first place. This left Hoepner with a chance to mass against one of the French Light Divisions (the 3e DLM) and achieve a breakthrough in that sector. Moreover, with no reserves behind the front, the French denied themselves the chance of a counterattack. The victory saw the Panzer Corps out-manoeuvre the 2e DLM on its left flank. The Belgian III Corps, retreating from Liege, offered to support the French front held by the 3e DLM. This offer was rejected.
On 12 and 13 May, 2e DLM lost no AFVs, but the 3e DLM lost 30 SOMUAs and 75 Hotchkisses. The French had disabled 160 German tanks. But as the poor linear deployment had allowed the Germans the chance of breaking through in one spot, the entire battlefield had to be abandoned, the Germans repaired nearly three-quarters of their tanks; 49 were destroyed and 111 were repaired. They had 60 men killed and another 80 wounded. In terms of battlefield casualties, the Hannut battle had resulted in the French knocking-out 160 German tanks, losing 105 themselves. Prioux had achieved his tactical mission and withdrew.
Hoepner now pursued the retreating French. Being impatient, he did not wait for his infantry divisions to catch up. Instead, he hoped to continue pushing the French back and not give them time to construct a coherent defence line. German formations pursued the enemy to Gembloux. The Panzer Corps ran into retreating French columns and inflicted heavy losses on them. The pursuit created severe problems for the French artillery. The combat was so closely fought that the danger of friendly fire incidents were very real. Nevertheless, the French, setting up new anti-tank screens and Hoepner, lacking infantry support, caused the Germans to attack positions head-on. During the following Battle of Gembloux the two Panzer Divisions reported heavy losses during 14 May and were forced to slow their pursuit. The German attempts to capture Gembloux were repulsed.
Although suffering numerous tactical reverses, operationally the Germans diverted the Allied First Army Group from the lower Ardennes area. In the process his forces, along with the Luftwaffe depleted Prioux' Cavalry Corps. When news of the German breakthrough at Sedan reached Prioux, he withdrew from Gembloux. With the Gembloux gap breached, the German Panzer Corps, the 3rd and 4th Panzer Divisions, were no longer required by Army Group B and were handed over to Army Group A. Army Group B would continue its own offensive to force the collapse of the Meuse front. The Army Group was in a position to advance westward to Mons, outflank the BEF and Belgian Army protecting the Dyle–Brussels sector, or turn south to outflank the French 9th Army.
German losses had been heavy at Hannut and Gembloux. The 4th Panzer Division was down to 137 tanks on 16 May, including just four Panzer IVs. The 3rd Panzer Division was down by 20–25 percent of its operational force; for the 4th Panzer Division 45–50 percent of its tanks were not combat ready. Damaged tanks were quickly repaired, but its strength was initially greatly weakened.
The French 1st Army had also taken a battering and despite winning several tactical defensive victories it was forced to retreat on 15 May owing to developments elsewhere, leaving its tanks on the battlefield, while the Germans were free to recover theirs.
15–21 May: Counterattacks and retreat to the coast
On the morning of 15 May, German Army Group A broke the defences at Sedan and was now free to drive for the English Channel. The Allies considered a wholesale withdrawal from the Belgian trap. The withdrawal would reflect three stages: the night of 16/17 May to the River Senne, the night of 17/18 May to the river Dendre and the night of 18/19 May to the river Scheldt. The Belgians were reluctant to abandon Brussels and Leuven, especially as the Dyle line had withstood German pressure well.
The Belgian Army, the BEF and the French 1st Army, in a domino effect, was ordered/forced to retire on 16 May to avoid their southern flanks from being turned by the German armoured forces advancing through the French Ardennes and the German 6th Army advancing through Gembloux. The Belgian Army was holding the German Fourteenth Army on the KW-line, along with the French 7th and British armies. Had it not been for the collapse of the French 2nd Army at Sedan, the Belgians were confident that they could have checked the German advance.
The situation called for the French and British to abandon the Antwerp–Namur line and strong positions in favour of improvised positions behind the Scheldt, without facing any real resistance. In the South, General Deffontaine of the Belgian VII Corps retreated from the Namur and Liège regions, the Liège fortress region put up stiff resistance to the German 6th Army. In the North, the 7th Army was diverted to Antwerp after the surrender of the Dutch on 15 May, but was then diverted to support the French 1st Army. In the centre, the Belgian Army and the BEF suffered little German pressure. On 15 May, the only sector to really be tested was around Leuven, which was held by the British 3rd Division. The BEF was not pursued vigorously to the Scheldt.
After the withdrawal of the French Army from the northern sector, the Belgians were left to guard the fortified city of Antwerp. Four infantry divisions (including the 13th and 17th Reserve Infantry Divisions) engaged the German Eighteenth Army's 208th, 225th and 526th Infantry Divisions. The Belgians successfully defended the northern part of the city, delaying the German infantry forces while starting to withdraw from Antwerp on 16 May. The city fell on 18/19 May after considerable Belgian resistance. On 18 May the Belgians received word that Namur's Fort Marchovelette had fallen; Suarlee fell on 19 May; St. Heribert and Malonne on 21 May; Dave, Maizeret and Andoy on 23 May.
Between 16 and 17 May, the British and French withdrew behind the Willebroek Canal, as the volume of Allied forces in Belgium fell and moved toward the German armoured thrust from the Ardennes. The Belgian I Corps and V Corps also retreated to what the Belgians called the Ghent bridgehead, behind the Dendre and Scheldt. The Belgian Artillery Corps and its infantry support defeated attacks by the Eighteenth Army's infantry and in a communiqué from London, the British recognized the "Belgian Army has contributed largely toward the success of the defensive battle now being fought.
Nevertheless, the now-outnumbered Belgians abandoned Brussels and the Government fled to Ostend. The city was occupied by the German Army on 17 May. The very next morning, Hoepner, the German XVI Corps commander, was ordered to release the 3rd and 4th Panzer Divisions to Army Group A. This left the 9th Panzer Division attached to the Eighteenth Army as the only armoured unit on the Belgian front.
By 19 May, the Germans were hours away from reaching the French Channel coast. Gort had discovered the French had neither plan nor reserves and little hope for stopping the German thrust to the channel. He was concerned that the French 1st Army on its southern flank had been reduced to a disorganized mass of "fag-ends", fearing that German armour might appear on their right flank at Arras or Péronne, striking for the channel ports at Calais or Boulogne or north west into the British flank. Their position in Belgium massively compromised, the BEF considered abandoning Belgium and retreating to Ostend, Bruges or Dunkirk, the latter lying some to inside the French border.
The proposals of a British strategic withdrawal from the continent was rejected by the War Cabinet and the Chief of the Imperial General Staff (CIGS). They dispatched General Ironside to inform Gort of their decision and to order him to conduct an offensive to the south-west "through all opposition" to reach the "main French forces" in the south [the strongest French forces were actually in the north]. The Belgian Army was asked to conform to the plan, or should they choose, the British Royal Navy would evacuate what units they could. The British cabinet decided that even if the "Somme offensive" was carried out successfully, some units may still need to be evacuated, and ordered Admiral Ramsay to assemble a large number of vessels. This was the beginning of Operation Dynamo.
Ironside arrived at British General Headquarters at 06:00 am on 20 May, the same day that continental communications between France and Belgium was cut. When Ironside made his proposals known to Gort, Gort replied such an attack was impossible. Seven of his nine divisions were engaged on the Scheldt and even if it was possible to withdraw them, it would create a gap between the Belgians and British which the enemy could exploit and encircle the former. The BEF had been marching and fighting for nine days and was now running short of ammunition. The main effort had to be made by the French to the south.
The Belgian position on any offensive move was made clear by Leopold III. As far as he was concerned, the Belgian Army could not conduct offensive operations as it lacked tanks and aircraft; it existed solely for defence. The King also made clear that in the rapidly shrinking area of Belgium still free, there was only enough food for two weeks. Leopold did not expect the BEF to jeopardize its own position in order to keep contact with the Belgian Army, but he warned the British that if it persisted with the southern offensive the Belgians would be overstretched and their army would collapse. King Leopold suggested the best recourse was to establish a beach-head covering Dunkirk and the Belgian channel ports. The will of the CIGS won out. Gort committed just two infantry battalions and the only armoured battalion in the BEF to the attack, which despite some initial tactical success, failed to break the German defensive line at the Battle of Arras on 21 May.
In the aftermath of this failure, the Belgians were asked to fall back to the Yser river and protect the Allied left flank and rear areas. The King's aide, General Overstraten said that such a move could not be made and would lead to the Belgian Army disintegrating. Another plan for further offensives was suggested. The French requested the Belgians withdraw to the Leie and the British to the French frontier between Maulde and Halluin, the Belgians were then to extend their front to free further parts of the BEF for the attack. The French 1st Army would relieve two more divisions on the right flank. Leopold was reluctant to undertake such a move because it would abandon all but a small portion of Belgium. The Belgian Army was exhausted and it was an enormous technical task that would take too long to complete.
At this time, the Belgians and the British concluded that the French were beaten and the Allied Armies in the pocket on the Belgian–Franco border would be destroyed if action was not taken. The British, having lost confidence in their Allies, decided to look to the survival of the BEF.
22–28 May: Last defensive battles
The Belgian battle-front on the morning of 22 May extended some from north to south, beginning with the Cavalry Corps, which checked its advance at Terneuzen. V, II, VI, VII and IV Corps (all Belgian) were drawn up side by side. Two further signal Corps were guarding the coast. These formations were then largely holding the eastern front as the BEF and French forces withdrew to the west to protect Dunkirk, which was vulnerable to German assault on 22 May. The eastern front remained intact, but the Belgians now occupied their last fortified position at Leie. The Belgian I Corps, with only two incomplete divisions, had been heavily engaged in the fighting and their line was wearing thin. On that day, Winston Churchill visited the front and pressed for the French and British Armies to break out from the north-east. He assumed that the Belgian Cavalry Corps could support the offensives' right flank. Churchill dispatched the following message to Gort:
1. That the Belgian Army should withdraw to the line of the Yser and stand there, the sluices being opened.
2. That the British Army and French 1st Army should attack south-west toward Bapaume and Cambrai at the earliest moment, certainly tomorrow, with about eight divisions, and with the Belgian Cavalry Corps on the right of the British.
Such an order ignored the fact that the Belgian Army could not withdraw to the Yser, and there was little chance of any Belgian Cavalry joining in the attack. The plan for the Belgian withdrawal was sound; the Yser river covered Dunkirk to the east and south, while the La Bassée Canal covered it from the west. The ring of the Yser also dramatically shorted the Belgian Army's area of operations. Such a move would have abandoned Passchendaele and Ypres and would have certainly meant the capture of Ostend while further reducing the amount of Belgian territory still free by a few square miles.
On 23 May, the French tried to conduct a series of offensives against the German defensive line on the Ardennes–Calais axis but failed to make any meaningful gains. Meanwhile, on the Belgian front, the Belgians, under pressure, retreated further, and the Germans captured Terneuzen and Ghent that day. The Belgians also had trouble moving the oil, food and ammunition that they had left. The Luftwaffe had air superiority and made everyday life hazardous in logistical terms. Air support could only be called in by "wireless" and the RAF was operating from bases in southern England which made communication more difficult. The French denied the use of the Dunkirk, Bourbourg and Gravelines bases to the Belgians, which had initially been placed at its disposal. The Belgians were forced to use the only harbours left to them, at Nieuwpoort and Ostend.
Churchill and Maxime Weygand, who had taken over command from Gamelin, were still determined to break the German line and extricate their forces to the south. When they communicated their intentions to King Leopold and van Overstraten on 24 May, the latter was stunned. A dangerous gap was starting to open between the British and Belgians between Ypres and Menen, which threatened what remained of the Belgian front. The Belgians could not cover it; such a move would have overstretched them. Without consulting the French or asking permission from his government, Gort immediately and decisively ordered the British 5th and 50th Infantry Divisions to plug the gap and abandon any offensive operations further south.
On the afternoon of 24 May, von Bock had thrown four divisions, of Reichenau's 6th Army, against the Belgian IV Corps position at the Kortrijk area of the Leie during the Battle of the Lys (1940). The Germans managed, against fierce resistance, to cross the river at night and force a one-mile penetration along a 13-mile front between Wervik and Kortrijk. The Germans, with superior numbers and in command of the air, had won the bridgehead. Nevertheless, the Belgians had inflicted many casualties and several tactical defeats on the Germans. The 1st, 3rd, 9th and 10th Infantry Divisions, acting as reinforcements, had counterattacked several times and managed to capture 200 German prisoners. Belgian artillery and infantry were then heavily attacked by the Luftwaffe, which forced their defeat. The Belgians blamed the French and British for not providing air cover. The German bridgehead dangerously exposed the eastern flank of the southward stretched BEF's 4th Infantry Division. Montgomery dispatched several units of the 3rd Infantry Division (including the heavy infantry of the 1st and 7th Middlesex battalions and the 99th Battery, 20th Anti-Tank Regiment), as an improvised defence.
A critical point of the "Weygand Plan" and the British government and French Army's argument for a thrust south, was the withdrawal of forces to see the offensive through which had left the Belgian Army over-extended and was instrumental in its collapse. It was forced to cover the areas held by the BEF in order to enable the latter to engage in the offensive. Such a collapse could have resulted in the loss of the Channel ports behind the Allied front, leading to a complete strategic encirclement. The BEF could have done more to counterattack von Bock's left flank to relieve the Belgians as von Bock attacked across the fortified British position at Kortrijk. The Belgian High Command made at least five appeals for the British to attack the vulnerable left flank of the German divisions between the Scheldt and the Leie to avert disaster.
Admiral Sir Roger Keyes transmitted the following message to GHQ:
Van Overstraten is desperately keen for strong British counterattack. Either north or south of Leie could help restore the situation. Belgians expect to be attacked on the Ghent front tomorrow. Germans already have a bridgehead over canal west of Eecloo. There can be no question of the Belgian withdrawal to Yser. One battalion on march NE of Ypres was practically wiped out today in attack by sixty aircraft. Withdrawal over open roads without adequate fighter support very costly. Whole of their supplies are east of Yser. They strongly represent attempt should be made to restore the situation on Leie by British counter-attack for which opportunity may last another few hours only.
No such attack came. The Germans brought fresh reserves to cover the gap (Menen–Ypres). This nearly cut the Belgians off from the British. The 2nd, 6th and 10th Cavalry Divisions frustrated German attempts to exploit the gap in depth but the situation was still critical.
On 26 May, Operation Dynamo officially commenced, in which large French and British contingents were to be evacuated to the United Kingdom. By that time, the Royal Navy had already withdrawn 28,000 British non-fighting troops. Boulogne had fallen and Calais was about to, leaving Dunkirk, Ostend and Zeebrugge as the only viable ports which could be used for evacuation. The advance of the 14th German Army would not leave Ostend available for much longer. To the west, the German Army Group A had reached Dunkirk and were from its centre on the morning of 27 May, bringing the port within artillery range.
The situation on 27 May had changed considerably from just 24 hours earlier. The Belgian Army had been forced from the Leie line on 26 May, and Nevele, Vynckt, Tielt and Izegem had fallen on the western and central part of the Leie front. In the east, the Germans had reached the outskirts of Bruges, and captured Ursel. In the west, the Menen–Ypres line had broken at Kortrijk and the Belgians were now using railway trucks to help form anti-tank defences on a line from Ypres–Passchendaele–Roulers. Further to the west the BEF had been forced back, north of Lille just over the French border and was now in danger of allowing a gap to develop between themselves and the Belgian southern flank on the Ypres–Lille axis. The danger in allowing a German advance to Dunkirk would mean the loss of the port which was now too great. The British withdrew to the port on 26 May. In doing so, they left the French 1st Army's north-eastern flank near Lille exposed. As the British moved out, the Germans moved in, encircling the bulk of the French Army. Both Gort and his Chief of Staff, General Henry Pownall, accepted that their withdrawal would mean the destruction of the French 1st Army, and they would be blamed for it.
The fighting of 26–27 May had brought the Belgian Army to the brink of collapse. The Belgians still held the Ypres–Roulers line to the west, and the Bruges–Thelt line to the east. However, on 27 May, the central front collapsed in the Izegem–Thelt sector. There was now nothing to prevent a German thrust to the east to take Ostend and Bruges, or west to take the ports at Nieuwpoort or La Panne, deep in the Allied rear. The Belgians had practically exhausted all available means of resistance. The disintegration of the Belgian Army and its front caused many erroneous accusations by the British. In fact, on numerous occasions, the Belgians had held on after British withdrawals. One example was the taking over of the Scheldt line, where they relieved the British 44th Infantry Division, allowing it to retire through their ranks. Despite this, Gort and to a greater extent Pownall, showed anger at the Belgian King's decision to surrender on 28 May, considering it to undercut the war effort. . When it was inquired if any Belgians were to be evacuated, Pownall was reported to have replied, "We don't care a bugger what happens to the Belgians".
Belgian surrender
The Belgian Army was stretched from Cadzand south to Menen on the river Leie, and west, from Menin, to Bruges without any sort of reserves. With the exception of a few RAF sorties, the air was exclusively under the control of the Luftwaffe, and the Belgians reported attacks against all targets considered an objective, with resulting casualties. No natural obstacles remained between the Belgians and the German Army; retreat was not feasible. The Luftwaffe had destroyed most of the rail networks to Dunkirk, just three roads were left: Bruges–Torhout–Diksmuide, Bruges–Gistel–Nieupoort and Bruges–Ostend–Nieuwpoort. Using such axes of retreat was impossible without losses owing to German air supremacy (as opposed to air superiority). Water supplies were damaged and cut off, gas and electricity supplies were also cut. Canals were drained and used as supply dumps for whatever ammunition and food-stuffs were left. The total remaining area covered just 1,700 km2, and compacted military and civilians alike, of which the latter numbered some 3 million people. Under these circumstances Leopold deemed further resistance useless. On the evening of 27 May, he requested an armistice.
Churchill sent a message to Keyes the same day, and made clear what he thought of the request:
Belgian Embassy here assumes from King's decision to remain that he regards the war as lost and contemplates [a] separate peace. It is in order to dissociate itself from this that the constitutional Belgian Government has reassembled on foreign soil. Even if present Belgian Army has to lay down its arms, there are 200,000 Belgians of military age in France, and greater resources than Belgium had in 1914 which to fight back. By present decision the King is dividing the Nation and delivering it into Hitler's protection. Please convey these considerations to the King, and impress upon him the disastrous consequences to the Allies and to Belgium of his present choice.
The Royal Navy evacuated General Headquarters at Middelkerke and Sint-Andries, east of Bruges, during the night. Leopold III, and his mother Queen Mother Elisabeth, stayed in Belgium to endure five years of self-imposed captivity. In response to the advice of his government to set up a government-in-exile Leopold said, "I have decided to stay. The cause of the Allies is lost."
The Belgian surrender came into effect at 04:00 on 28 May. Recriminations abounded with the British and French claiming the Belgians had betrayed the alliance. In Paris, the French Premier Paul Reynaud denounced Leopold's surrender, and the Belgian Premier Hubert Pierlot informed the people that Leopold had taken action against the unanimous advice of the government. As a result, the king was no longer in a position to govern and the Belgian government in exile that was located in Paris (later moved to London following the fall of France) would continue the struggle. The chief complaint was that the Belgians had not given any prior warning that their situation was so serious as to capitulate. Such claims were largely unjust. The Allies had known, and admitted it privately on 25 May through contact with the Belgians, that the latter were on the verge of collapse.
Churchill's and the British response was officially restrained. This was due to the strong-willed defence of the Belgian defensive campaign presented to the cabinet by Sir Roger Keyes at 11:30 am 28 May. The French and Belgian ministers had referred to Leopold's actions as treacherous, but they were unaware of the true events: Leopold had not signed an agreement with Hitler in order to form a collaborative government, but an unconditional surrender as Commander-in-Chief of the Belgian Armed Forces.
Casualties
The casualty reports include total losses at this point in the campaign. The figures for the Battle of Belgium, 10–28 May 1940, cannot be known with any certainty.
Belgian
Belgian casualties stood at:
Killed in action: 6,093 and 2,000 Belgian prisoners died in captivity
Missing: more than 500
Captured: 200,000
Wounded: 15,850
Aircraft: 112 destroyed
French
Numbers for the Battle of Belgium are unknown, but the French suffered the following losses throughout the entire western campaign, 10 May – 22 June:
Killed in action: 90,000
Wounded: 200,000
Prisoners of War: 1,900,000.
Total French losses in aircraft numbered 264 from 12 to 25 May, and 50 for 26 May to 1 June.
British
Numbers for the Battle of Belgium are unknown, but the British suffered the following losses throughout the entire campaign, 10 May – 22 June:
68,111 killed in action, wounded or captured.
64,000 vehicles destroyed or abandoned
2,472 guns destroyed or abandoned
RAF losses throughout the entire campaign (10 May – 22 June) amounted to 931 aircraft and 1,526 casualties. Casualties to 28 May are unknown. Total British losses in the air numbered 344 between 12 and 25 May, and 138 between 26 May and 1 June.
German
The consolidated report of the Oberkommando der Wehrmacht regarding the operations in the west from 10 May to 4 June (German: Zusammenfassender Bericht des Oberkommandos der Wehrmacht über die Operationen im Westen vom 10. Mai bis 4. Juni) reports:
Killed in action: 10,232 officers and soldiers
Missing: 8,463 officers and soldiers
Wounded: 42,523 officers and soldiers
Losses of the Luftwaffe from 10 May to 3 June: 432 aircraft
Losses of the Kriegsmarine: none
See also
German invasion of Luxembourg
Mechelen incident
List of Belgian military equipment of World War II
List of French military equipment of World War II
List of British military equipment of World War II
List of German military equipment of World War II
References
Notes
Citations
Bibliography
Further reading
Conflicts in 1940
Battle of Belgium
Belgium
German invasion
Battles of World War II involving France
Battles and operations of World War II involving the Netherlands
Battle of Belgium
Battle of Belgium
Battle of Belgium
German invasion of Belgium |
The mimosa stem-mining moth (Neurostrota gunniella) is a moth of the family Gracillariidae. It is known from Costa Rica, Cuba, Mexico and Texas, as well as Thailand and the Northern Territory in Australia, where it was introduced in 1989 to control Mimosa pigra.
The wingspan is about 8 mm. Adults are brown with a white stripe along the inner margin of each forewing. When in its rest position, it typically has its wings folded around the body, and its legs out.
The larvae feed on Mimosa asperata, Mimosa pigra, Neptunia oleracea and Neptunia plena. Mimosa pigra is the main larval host plant. The larvae bore the stem of their host plant, not merely under the epidermis but actually boring into the pith of the stem.
References
Gracillariinae
Lepidoptera used as pest control agents |
```smarty
#foreach($method in $host.getMethods())
#if($method.isFirstOrSingle() && $method.getCrud_type()!="update")
#if($method.isSampleType())
public object ${method.getName()} (${method.getParameterDeclaration()})
#else
public ${method.getPojoName()} ${method.getName()} (${method.getParameterDeclaration()})
#end
{
try
{
string sql = "${method.getSql()}";
StatementParameterCollection parameters = new StatementParameterCollection();
#set($inParams = [])
#foreach($p in $method.getParameters())
#if($p.isInParameter())
#set($success = $inParams.add($p))
#else
parameters.Add(new StatementParameter{ Name = "@${p.getSqlParamName()}", Direction = ParameterDirection.Input, DbType = DbType.${p.getDbType()}, Value =${WordUtils.uncapitalize($p.getName())} });
#end
#end
#if($inParams.size() > 0)
sql = string.Format(sql, #foreach($p in $inParams)Arch.Data.Utility.ParameterUtility.NormalizeInParam(${WordUtils.uncapitalize($p.getAlias())}, parameters,"${WordUtils.uncapitalize($p.getAlias())}")#if($foreach.count != $inParams.size()),#end#end);
#end
#if($method.isSampleType())
return baseDao.ExecScalar(sql, parameters);
#else
return baseDao.SelectFirst<${method.getPojoName()}>(sql, parameters);
#end
}catch (Exception ex)
{
throw new DalException("${host.getClassName()}Dao${method.getName()}", ex);
}
}
#end
#end
``` |
```go
package migrations
import (
"context"
"net/http"
"os"
"testing"
"time"
base "code.gitea.io/gitea/modules/migration"
"github.com/stretchr/testify/assert"
)
func TestGogsDownloadRepo(t *testing.T) {
// Skip tests if Gogs token is not found
gogsPersonalAccessToken := os.Getenv("GOGS_READ_TOKEN")
if len(gogsPersonalAccessToken) == 0 {
t.Skip("skipped test because GOGS_READ_TOKEN was not in the environment")
}
resp, err := http.Get("path_to_url")
if err != nil || resp.StatusCode/100 != 2 {
// skip and don't run test
t.Skipf("visit test repo failed, ignored")
return
}
downloader := NewGogsDownloader(context.Background(), "path_to_url", "", "", gogsPersonalAccessToken, "lunnytest", "TESTREPO")
repo, err := downloader.GetRepoInfo()
assert.NoError(t, err)
assertRepositoryEqual(t, &base.Repository{
Name: "TESTREPO",
Owner: "lunnytest",
Description: "",
CloneURL: "path_to_url",
OriginalURL: "path_to_url",
DefaultBranch: "master",
}, repo)
milestones, err := downloader.GetMilestones()
assert.NoError(t, err)
assertMilestonesEqual(t, []*base.Milestone{
{
Title: "1.0",
State: "open",
},
}, milestones)
labels, err := downloader.GetLabels()
assert.NoError(t, err)
assertLabelsEqual(t, []*base.Label{
{
Name: "bug",
Color: "ee0701",
},
{
Name: "duplicate",
Color: "cccccc",
},
{
Name: "enhancement",
Color: "84b6eb",
},
{
Name: "help wanted",
Color: "128a0c",
},
{
Name: "invalid",
Color: "e6e6e6",
},
{
Name: "question",
Color: "cc317c",
},
{
Name: "wontfix",
Color: "ffffff",
},
}, labels)
// downloader.GetIssues()
issues, isEnd, err := downloader.GetIssues(1, 8)
assert.NoError(t, err)
assert.False(t, isEnd)
assertIssuesEqual(t, []*base.Issue{
{
Number: 1,
PosterID: 5331,
PosterName: "lunny",
PosterEmail: "xiaolunwen@gmail.com",
Title: "test",
Content: "test",
Milestone: "",
State: "open",
Created: time.Date(2019, 6, 11, 8, 16, 44, 0, time.UTC),
Updated: time.Date(2019, 10, 26, 11, 7, 2, 0, time.UTC),
Labels: []*base.Label{
{
Name: "bug",
Color: "ee0701",
},
},
},
}, issues)
// downloader.GetComments()
comments, _, err := downloader.GetComments(&base.Issue{Number: 1, ForeignIndex: 1})
assert.NoError(t, err)
assertCommentsEqual(t, []*base.Comment{
{
IssueIndex: 1,
PosterID: 5331,
PosterName: "lunny",
PosterEmail: "xiaolunwen@gmail.com",
Created: time.Date(2019, 6, 11, 8, 19, 50, 0, time.UTC),
Updated: time.Date(2019, 6, 11, 8, 19, 50, 0, time.UTC),
Content: "1111",
},
{
IssueIndex: 1,
PosterID: 15822,
PosterName: "clacplouf",
PosterEmail: "test1234@dbn.re",
Created: time.Date(2019, 10, 26, 11, 7, 2, 0, time.UTC),
Updated: time.Date(2019, 10, 26, 11, 7, 2, 0, time.UTC),
Content: "88888888",
},
}, comments)
// downloader.GetPullRequests()
_, _, err = downloader.GetPullRequests(1, 3)
assert.Error(t, err)
}
``` |
Kamesznica is a village in the administrative district of Gmina Milówka, within Żywiec County, Silesian Voivodeship, in southern Poland. It lies approximately west of Milówka, south-west of Żywiec, and south of the regional capital Katowice.
References
Kamesznica |
Islam: A Short History is a 2000 book by the British writer Karen Armstrong, a former Roman Catholic nun and author of popular books about the history of religion. Armstrong condemns the West for being prejudiced about Islam since the Crusades, yet writing about present-day Muslims. Armstrong says that when they look at Western society, "they see no light, no heart, no spirituality." She writes in the preface, on Muslims:
Their chief duty was to create a just community in which all members, even the most weak and vulnerable, were treated with absolute respect. The experience of building such a society and living in it would give them intimations of the divine, because they would be living in accordance with God’s will.
References
2000 non-fiction books
British books
English-language books
History books about Islam
Works by Karen Armstrong |
```shell
Quick port test with `netcat`
Check `iptables` firewall status
How to clear `iptables` rules
Multiple IP Address with aliasing
Limit the `wget` download rate
``` |
Nikolas Konrad Veratschnig (born January 2003) is an Austrian professional footballer who plays as a midfielder for Wolfsberger AC.
Career
Veratschnig is a youth product of Feldkirchen, and moved to Wolfsberger AC's academy in 2017. He started training with Wolsfberger's reserves in 2020. On 2 December 2021, he signed his first professional contract with the club until June 2024. He made his professional debut with them in a 1–0 Austrian Football Bundesliga loss to Austria Wien on 22 February 2022.
International career
Veratschnig is a youth international for Austria, having represented the Austria U18s and U19s.
References
External links
OEFB Profile
2003 births
Living people
Sportspeople from Villach
Footballers from Carinthia (state)
Austrian men's footballers
Austria men's youth international footballers
Wolfsberger AC players
Austrian Football Bundesliga players
Austrian Regionalliga players
Men's association football midfielders |
```java
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
package io.camunda.zeebe.dynamic.config.changes;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import io.atomix.cluster.MemberId;
import io.camunda.zeebe.dynamic.config.state.ClusterConfiguration;
import io.camunda.zeebe.dynamic.config.state.DynamicPartitionConfig;
import io.camunda.zeebe.dynamic.config.state.ExporterState;
import io.camunda.zeebe.dynamic.config.state.ExporterState.State;
import io.camunda.zeebe.dynamic.config.state.ExportersConfig;
import io.camunda.zeebe.dynamic.config.state.MemberState;
import io.camunda.zeebe.dynamic.config.state.PartitionState;
import io.camunda.zeebe.scheduler.future.CompletableActorFuture;
import io.camunda.zeebe.test.util.asserts.EitherAssert;
import java.time.Duration;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
import org.junit.jupiter.api.Test;
final class PartitionEnableExporterApplierTest {
private final PartitionChangeExecutor partitionChangeExecutor =
mock(PartitionChangeExecutor.class);
private final String exporterId = "exporterA";
private final int partitionId = 2;
private final MemberId localMemberId = MemberId.from("3");
private final PartitionEnableExporterApplier applier =
new PartitionEnableExporterApplier(
partitionId, localMemberId, exporterId, Optional.of("other"), partitionChangeExecutor);
private final ClusterConfiguration clusterConfigWithPartition =
ClusterConfiguration.init()
.addMember(localMemberId, MemberState.initializeAsActive(Map.of()))
.updateMember(
localMemberId,
m ->
m.addPartition(
partitionId,
PartitionState.active(
1, new DynamicPartitionConfig(new ExportersConfig(Map.of())))));
@Test
void shouldRejectWhenMemberDoesNotExist() {
// given
final var clusterConfiguration = ClusterConfiguration.init();
// when
final var result = applier.initMemberState(clusterConfiguration);
// then
EitherAssert.assertThat(result).isLeft();
assertThat(result.getLeft())
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("member '3' does not exist in the cluster");
}
@Test
void shouldRejectWhenPartitionDoesNotExist() {
// given
final var clusterConfiguration =
ClusterConfiguration.init()
.addMember(localMemberId, MemberState.initializeAsActive(Map.of()));
// when
final var result = applier.initMemberState(clusterConfiguration);
// then
EitherAssert.assertThat(result).isLeft();
assertThat(result.getLeft())
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("does not have the partition '2'");
}
@Test
void shouldFailIfOtherExporterDoesNotExist() {
// when
final var result = applier.initMemberState(clusterConfigWithPartition);
// then
EitherAssert.assertThat(result).isLeft();
assertThat(result.getLeft())
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("does not have exporter 'other'");
}
@Test
void shouldFailIfOtherExporterIsDisabled() {
// given
final var configWithDisabledExporter =
new DynamicPartitionConfig(
new ExportersConfig(
Map.of("other", new ExporterState(0, State.DISABLED, Optional.empty()))));
final var clusterConfiguration =
clusterConfigWithPartition.updateMember(
localMemberId,
m -> m.updatePartition(partitionId, p -> p.updateConfig(configWithDisabledExporter)));
// when
final var result = applier.initMemberState(clusterConfiguration);
// then
EitherAssert.assertThat(result).isLeft();
assertThat(result.getLeft())
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("the exporter 'other' is disabled");
}
@Test
void shouldNotChangeStateOnInit() {
// given
final var configWithOtherExporter =
new DynamicPartitionConfig(
new ExportersConfig(
Map.of("other", new ExporterState(1, State.ENABLED, Optional.empty()))));
final var clusterConfiguration =
ClusterConfiguration.init()
.addMember(
localMemberId,
MemberState.initializeAsActive(
Map.of(partitionId, PartitionState.active(1, configWithOtherExporter))));
// when
final var result = applier.initMemberState(clusterConfiguration);
// then
EitherAssert.assertThat(result).isRight();
final MemberState memberState = clusterConfiguration.getMember(localMemberId);
assertThat(result.get().apply(memberState)).isEqualTo(memberState);
}
@Test
void shouldFailFutureIfApplyFailed() {
when(partitionChangeExecutor.enableExporter(partitionId, exporterId, 0, "other"))
.thenReturn(
CompletableActorFuture.completedExceptionally(new RuntimeException("force fail")));
// when
final var result = applier.applyOperation();
// then
assertThat(result)
.failsWithin(Duration.ofMillis(100))
.withThrowableOfType(ExecutionException.class)
.withMessageContaining("force fail");
}
@Test
void shouldUpdateStateAndMetadataVersionIfApplySucceeded() {
// given
when(partitionChangeExecutor.enableExporter(partitionId, exporterId, 1, "other"))
.thenReturn(CompletableActorFuture.completed(null));
final var configWithOtherExporter =
new DynamicPartitionConfig(
new ExportersConfig(
Map.of("other", new ExporterState(1, State.ENABLED, Optional.empty()))));
final var clusterConfiguration =
ClusterConfiguration.init()
.addMember(
localMemberId,
MemberState.initializeAsActive(
Map.of(partitionId, PartitionState.active(1, configWithOtherExporter))));
applier.initMemberState(clusterConfiguration);
// when
final var result = applier.applyOperation();
// then
assertThat(result).succeedsWithin(Duration.ofMillis(100));
final var updatedState = result.join().apply(clusterConfiguration.getMember(localMemberId));
final ExporterState updatedExporterState =
updatedState.getPartition(partitionId).config().exporting().exporters().get(exporterId);
assertThat(updatedExporterState.state()).isEqualTo(State.ENABLED);
assertThat(updatedExporterState.metadataVersion()).isEqualTo(1);
assertThat(updatedExporterState.initializedFrom()).contains("other");
}
}
``` |
Wendell Cherry (September 25, 1935 – July 16, 1991) was an American lawyer, entrepreneur, art collector and patron. The company he co-founded, Humana, grew under his leadership to become the largest hospital operator in the United States. In the 1980s he also built one of the country's most important art collections.
Life and career
Cherry was born in 1935 in Horse Cave, a rural community in Kentucky, to a grocery wholesaler, Layman S. Cherry, and his wife, Geneva (born Spillman). He was a member of the Kappa Sigma Fraternity, studied business administration and graduated in 1957. He graduated with a Bachelor of Laws in 1959. During this time he worked as chief editor of the Kentucky Law Journal.
Family
Cherry first married Mary Elizabeth Baird. Then married interior designer Dorothy O'Connell, and lived in Louisville and New York.
Sports promoter
Cherry belonged in the 1960s to a group of citizens from Louisville, who supported Louisville native Cassius Clay (later known as Muhammad Ali) in his early heavyweight boxing career. He worked as a lawyer for the group, collecting money from the sponsors for Clay.
Art collector
The American art magazine Art & Antiques named Cherry in 1985 among the 100 most important art collectors of the United States. The reputation of his collection was not only because of the quality of the works, but also for the sometimes very high prices that he paid for these pictures and scored from subsequent sales. A record-breaking example of these works was Pablo Picasso's self-portrait Yo, Picasso. Cherry purchased the picture in 1981 at Sotheby's for $5.3 million, at the time the highest amount ever paid for a Picasso painting.
Philanthropy
Cherry was one of the driving forces in establishing The Kentucky Center for the Performing Arts in 1983. From 1980 to 1987, he led this institution as CEO (board chairman). In 1990, he acquired the painting Funeral of a Mummy by American painter Frederick Arthur Bridgman for the Speed Art Museum in Louisville, on whose board he was a member.
In the field of academia, Cherry endowed the University of Kentucky College of Law with $100,000 for the H. Wendell Cherry Professor of Law. He also endowed two chairs dedicated to medicine at the School of Medicine, the Wendell Cherry Chair in Clinical Trial Research and The Wendell Cherry Chair in Cancer Translational Research.
References
Sources
John E. Kleber: The Encyclopedia of Louisville. University Press of Kentucky, Lexington 200, .
Sotheby's New York (Hrsg.): Property from the Estate of Wendell Cherry. Auctions Catalog Sale 6565, Sotheby's New York, New York 1994.
1935 births
1991 deaths
American art collectors
American patrons of the arts
People from Hart County, Kentucky
Businesspeople from Louisville, Kentucky
University of Kentucky College of Law alumni
University of Louisville faculty
20th-century American businesspeople |
```c++
/*
Qalculate (library)
This program is free software; you can redistribute it and/or modify
(at your option) any later version.
*/
#include "support.h"
#include "MathStructure.h"
#include "Calculator.h"
#include "BuiltinFunctions.h"
#include "Number.h"
#include "Function.h"
#include "Variable.h"
#include "Unit.h"
#include "Prefix.h"
#include "MathStructure-support.h"
using std::string;
using std::cout;
using std::vector;
using std::endl;
int limit_inf_cmp(const MathStructure &mstruct, const MathStructure &mcmp, const MathStructure &x_var) {
if(mstruct.equals(mcmp)) return 0;
bool b_multi1 = false, b_multi2 = false;
const MathStructure *m1 = NULL, *m2 = NULL;
if(mstruct.isMultiplication()) {
for(size_t i = 0; i < mstruct.size(); i++) {
if(mstruct[i].contains(x_var)) {
if(!m1) {
m1 = &mstruct[i];
} else {
int cmp = limit_inf_cmp(mstruct[i], *m1, x_var);
if(cmp > 0) {
m1 = &mstruct[i];
} else if(cmp != -1) {
return -2;
}
b_multi1 = true;
}
}
}
} else if(mstruct.contains(x_var, true)) {
m1 = &mstruct;
}
if(mcmp.isMultiplication()) {
for(size_t i = 0; i < mcmp.size(); i++) {
if(mcmp[i].contains(x_var)) {
if(!m2) {
m2 = &mcmp[i];
} else {
int cmp = limit_inf_cmp(mcmp[i], *m2, x_var);
if(cmp > 0) {
m2 = &mcmp[i];
} else if(cmp != -1) {
return -2;
}
b_multi2 = true;
}
}
}
} else if(mcmp.contains(x_var, true)) {
m2 = &mcmp;
}
if(!m1 && !m2) return 0;
if(!m1) return -1;
if(!m2) return 1;
int itype1 = 0;
int itype2 = 0;
if(m1->isFunction() && m1->function()->id() == FUNCTION_ID_GAMMA) itype1 = 4;
else if(m1->isPower() && m1->exponent()->contains(x_var, true)) itype1 = 3;
else if(m1->equals(x_var) || (m1->isPower() && m1->base()->equals(x_var) && m1->exponent()->representsPositive())) itype1 = 2;
else if(m1->isFunction() && m1->function()->id() == FUNCTION_ID_LOG) itype1 = 1;
else return -2;
if(m2->isFunction() && m2->function()->id() == FUNCTION_ID_GAMMA) itype2 = 4;
else if(m2->isPower() && m2->exponent()->contains(x_var, true)) itype2 = 3;
else if(m2->equals(x_var) || (m2->isPower() && m2->base()->equals(x_var) && m2->exponent()->representsPositive())) itype2 = 2;
else if(m2->isFunction() && m2->function()->id() == FUNCTION_ID_LOG) itype2 = 1;
else return -2;
if(itype1 > itype2) return 1;
if(itype2 > itype1) return -1;
ComparisonResult cr = COMPARISON_RESULT_UNKNOWN;
CALCULATOR->beginTemporaryEnableIntervalArithmetic();
if(CALCULATOR->usesIntervalArithmetic()) {
if(itype1 == 4) {
cr = m1->getChild(1)->compare(*m2->getChild(1));
} else if(itype1 == 1) {
int cmp = limit_inf_cmp(*m1->getChild(1), *m2->getChild(1), x_var);
if(cmp > 0) cr = COMPARISON_RESULT_LESS;
else if(cmp == -1) cr = COMPARISON_RESULT_GREATER;
} else if(itype1 == 3) {
if(m1->exponent()->equals(*m2->exponent())) {
if(m1->base()->contains(x_var, true) || m2->base()->contains(x_var, true)) {
int cmp = limit_inf_cmp(*m1->base(), *m2->base(), x_var);
if(cmp > 0) cr = COMPARISON_RESULT_LESS;
else if(cmp == -1) cr = COMPARISON_RESULT_GREATER;
} else {
cr = m1->base()->compare(*m2->base());
}
} else if(m1->base()->equals(*m2->base())) {
int cmp = limit_inf_cmp(*m1->exponent(), *m2->exponent(), x_var);
if(cmp > 0) cr = COMPARISON_RESULT_LESS;
else if(cmp == -1) cr = COMPARISON_RESULT_GREATER;
else if(cmp == 0) cr = m1->exponent()->compare(*m2->exponent());
}
} else if(itype1 == 2) {
if(m1->equals(x_var)) {
if(m2->equals(x_var)) cr = COMPARISON_RESULT_EQUAL;
else cr = m_one.compare(*m2->getChild(2));
} else if(m2->equals(x_var)) {
cr = m1->getChild(2)->compare(m_one);
} else {
cr = m1->getChild(2)->compare(*m2->getChild(2));
}
}
}
CALCULATOR->endTemporaryEnableIntervalArithmetic();
if(cr == COMPARISON_RESULT_GREATER) return -1;
else if(cr == COMPARISON_RESULT_LESS) return 1;
else if(cr != COMPARISON_RESULT_EQUAL) return -2;
if(!b_multi1 && !b_multi2) return 0;
if(!b_multi1) return -1;
if(!b_multi2) return 1;
MathStructure mc1(mstruct), mc2(mcmp);
for(size_t i = 0; i < mc1.size(); i++) {
if(&mstruct[i] == m1) {mc1.delChild(i + 1, true); break;}
}
for(size_t i = 0; i < mc2.size(); i++) {
if(&mcmp[i] == m2) {mc2.delChild(i + 1, true); break;}
}
return limit_inf_cmp(mc1, mc2, x_var);
}
bool is_limit_neg_power(const MathStructure &mstruct, const MathStructure &x_var, bool b_nil) {
return mstruct.isPower() && (((!b_nil || !mstruct[1].contains(x_var, true)) && mstruct[1].representsNegative()) || (b_nil && mstruct[1].isMultiplication() && mstruct[1].size() == 2 && mstruct[1][1] == x_var && mstruct[1][0].representsNegative()));
}
bool limit_combine_divisions(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit) {
if(mstruct.isAddition()) {
bool b = false;
bool b_nil = nr_limit.isInfinite(false) && nr_limit.number().isMinusInfinity();
// 5/y + x/y + z = (5 + x)/y + z
for(size_t i = 0; i < mstruct.size() && !b; i++) {
if(mstruct[i].isMultiplication()) {
for(size_t i2 = 0; i2 < mstruct[i].size() && !b; i2++) {
if(is_limit_neg_power(mstruct[i][i2], x_var, b_nil)) {
b = true;
}
}
} else if(is_limit_neg_power(mstruct[i], x_var, b_nil)) {
b = true;
}
}
if(!b) return false;
b = false;
MathStructure mstruct_units(mstruct);
MathStructure mstruct_new(mstruct);
for(size_t i = 0; i < mstruct_units.size(); i++) {
if(mstruct_units[i].isMultiplication()) {
for(size_t i2 = 0; i2 < mstruct_units[i].size();) {
if(!is_limit_neg_power(mstruct_units[i][i2], x_var, b_nil)) {
mstruct_units[i].delChild(i2 + 1);
} else {
i2++;
}
}
if(mstruct_units[i].size() == 0) mstruct_units[i].setUndefined();
else if(mstruct_units[i].size() == 1) mstruct_units[i].setToChild(1);
for(size_t i2 = 0; i2 < mstruct_new[i].size();) {
if(is_limit_neg_power(mstruct_new[i][i2], x_var, b_nil)) {
mstruct_new[i].delChild(i2 + 1);
} else {
i2++;
}
}
if(mstruct_new[i].size() == 0) mstruct_new[i].set(1, 1, 0);
else if(mstruct_new[i].size() == 1) mstruct_new[i].setToChild(1);
} else if(is_limit_neg_power(mstruct_new[i], x_var, b_nil)) {
mstruct_new[i].set(1, 1, 0);
} else {
mstruct_units[i].setUndefined();
}
}
for(size_t i = 0; i < mstruct_units.size(); i++) {
if(!mstruct_units[i].isUndefined()) {
for(size_t i2 = i + 1; i2 < mstruct_units.size();) {
if(mstruct_units[i2] == mstruct_units[i]) {
mstruct_new[i].add(mstruct_new[i2], true);
mstruct_new.delChild(i2 + 1);
mstruct_units.delChild(i2 + 1);
b = true;
} else {
i2++;
}
}
if(mstruct_new[i].isOne()) {
mstruct_new[i].set(mstruct_units[i]);
} else if(mstruct_units[i].isMultiplication()) {
for(size_t i2 = 0; i2 < mstruct_units[i].size(); i2++) {
mstruct_new[i].multiply(mstruct_units[i][i2], true);
}
} else {
mstruct_new[i].multiply(mstruct_units[i], true);
}
}
}
if(b) {
if(mstruct_new.size() == 1) {
mstruct.set(mstruct_new[0], true);
} else {
mstruct = mstruct_new;
}
return true;
}
}
return false;
}
bool limit_combine_divisions2(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit, const EvaluationOptions &eo) {
if(mstruct.isAddition()) {
MathStructure mden(1, 1, 0);
bool b = false;
bool b_nil = nr_limit.isInfinite(false) && nr_limit.number().isMinusInfinity();
size_t i_d = 0;
for(size_t i2 = 0; i2 < mstruct.size(); i2++) {
if(mstruct[i2].isMultiplication()) {
for(size_t i3 = 0; i3 < mstruct[i2].size(); i3++) {
if(is_limit_neg_power(mstruct[i2][i3], x_var, b_nil)) {
mden *= mstruct[i2][i3];
mden.last()[1].negate();
i_d++;
} else if(!mstruct[i2][i3].isOne() && !mstruct[i2][i3].isMinusOne()) {
b = true;
}
}
} else if(is_limit_neg_power(mstruct[i2], x_var, b_nil)) {
mden *= mstruct[i2];
mden.last()[1].negate();
i_d++;
} else {
b = true;
}
}
if(mden.isOne() || !b || i_d > 10) return false;
for(size_t i = 0; i < mstruct.size(); i++) {
for(size_t i2 = 0; i2 < mstruct.size(); i2++) {
if(i2 != i) {
if(mstruct[i2].isMultiplication()) {
for(size_t i3 = 0; i3 < mstruct[i2].size(); i3++) {
if(is_limit_neg_power(mstruct[i2][i3], x_var, b_nil)) {
mstruct[i].multiply(mstruct[i2][i3], true);
mstruct[i].last()[1].negate();
}
}
} else if(is_limit_neg_power(mstruct[i2], x_var, b_nil)) {
mstruct[i].multiply(mstruct[i2], true);
mstruct[i].last()[1].negate();
}
}
}
}
for(size_t i2 = 0; i2 < mstruct.size(); i2++) {
if(mstruct[i2].isMultiplication()) {
for(size_t i3 = 0; i3 < mstruct[i2].size();) {
if(is_limit_neg_power(mstruct[i2][i3], x_var, b_nil)) {
mstruct[i2].delChild(i3 + 1);
} else {
i3++;
}
}
if(mstruct[i2].size() == 0) mstruct[i2].set(1, 1, 0);
else if(mstruct[i2].size() == 1) mstruct[i2].setToChild(1);
} else if(is_limit_neg_power(mstruct[i2], x_var, b_nil)) {
mstruct[i2].set(1, 1, 0);
}
}
mden.calculatesub(eo, eo, true);
mstruct.calculatesub(eo, eo, true);
mstruct /= mden;
return true;
}
return false;
}
bool contains_zero(const MathStructure &mstruct) {
if(mstruct.isNumber() && !mstruct.number().isNonZero()) return true;
for(size_t i = 0; i < mstruct.size(); i++) {
if(contains_zero(mstruct[i])) return true;
}
return false;
}
bool limit_contains_undefined(const MathStructure &mstruct) {
bool b_zero = false, b_infinity = false;
if(mstruct.isPower() && mstruct[0].isNumber() && ((!mstruct[0].number().isNonZero() && mstruct[1].representsNegative()) || mstruct[1].containsInfinity(true))) return true;
for(size_t i = 0; i < mstruct.size(); i++) {
if(limit_contains_undefined(mstruct[i])) return true;
if(contains_zero(mstruct[i])) {
if(b_infinity) return true;
b_zero = true;
}
if(mstruct[i].containsInfinity(true)) {
if(b_infinity || b_zero) return true;
b_infinity = true;
}
}
return false;
}
bool is_plus_minus_infinity(const MathStructure &mstruct) {
return mstruct.isInfinite(false) || (mstruct.isPower() && mstruct[0].isZero() && mstruct[1].representsNegative()) || (mstruct.isMultiplication() && mstruct.size() == 2 && mstruct[0].representsReal() && mstruct[1].isPower() && mstruct[1][0].isZero() && mstruct[1][1].representsNegative());
}
bool calculate_limit_sub(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit, const EvaluationOptions &eo, int approach_direction, Number *polydeg = NULL, int lhop_depth = 0, bool keep_inf_x = false, bool reduce_addition = true) {
if(CALCULATOR->aborted()) return false;
if(mstruct == x_var) {
if(keep_inf_x && nr_limit.isInfinite(false)) return true;
mstruct.set(nr_limit, true);
return true;
}
if(!mstruct.contains(x_var, true)) return true;
switch(mstruct.type()) {
case STRUCT_MULTIPLICATION: {
for(size_t i = 0; i < mstruct.size(); i++) {
if(mstruct[i].isPower() && mstruct[i][0].isPower() && mstruct[i][0][0].contains(x_var, true) && !mstruct[i][0][0].representsNonPositive()) {
MathStructure mtest(mstruct[i][0][0]);
calculate_limit_sub(mtest, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
if(mtest.representsPositive()) {
mstruct[i][0][1].calculateMultiply(mstruct[i][1], eo);
mstruct[i].setToChild(1);
}
}
}
MathStructure mzero(1, 1, 0);
MathStructure minfp(1, 1, 0);
MathStructure mleft;
vector<size_t> irecalc;
MathStructure mbak(mstruct);
bool b_inf = false;
bool b_li = nr_limit.isInfinite(false);
bool b_fail = false;
bool b_test_inf = b_li;
bool b_possible_zero = false;
for(size_t i = 0; i < mstruct.size(); i++) {
bool b = false;
if(!b_fail && mstruct[i].isPower() && mstruct[i][0].contains(x_var, true) && mstruct[i][1].representsNegative()) {
if(mstruct[i][1].isMinusOne()) {
mstruct[i].setToChild(1);
} else {
mstruct[i][1].calculateNegate(eo);
}
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
if(mstruct[i].isZero()) {
b = true;
if(b_test_inf && !mbak[i][1].contains(x_var, true)) b_test_inf = false;
if(minfp.isOne()) {
minfp = mbak[i];
if(!b_li) {
if(minfp[1].isMinusOne()) minfp.setToChild(1);
else minfp[1].calculateNegate(eo);
}
} else {
minfp.multiply(mbak[i], true);
if(!b_li) {
if(minfp.last()[1].isMinusOne()) minfp.last().setToChild(1);
else minfp.last()[1].calculateNegate(eo);
}
}
irecalc.push_back(i);
mstruct[i].inverse();
} else if(mstruct[i].isInfinite()) {
b = true;
if(mzero.isOne()) {
mzero = mbak[i];
if(b_li) {
if(mzero[1].isMinusOne()) mzero.setToChild(1);
else mzero[1].calculateNegate(eo);
}
} else {
mzero.multiply(mbak[i], true);
if(b_li) {
if(mzero.last()[1].isMinusOne()) mzero.last().setToChild(1);
else mzero.last()[1].calculateNegate(eo);
}
}
mstruct[i].clear(true);
} else {
mstruct[i].calculateInverse(eo);
}
} else {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
}
if(!b_fail && !b) {
if(mstruct[i].isZero()) {
if(b_li && mbak[i].isPower()) {
if(b_test_inf && !mbak[i][1].contains(x_var, true)) b_test_inf = false;
if(mzero.isOne()) {
mzero = mbak[i];
if(mzero[1].isMinusOne()) mzero.setToChild(1);
else mzero[1].calculateNegate(eo);
} else {
mzero.multiply(mbak[i], true);
if(mzero.last()[1].isMinusOne()) mzero.last().setToChild(1);
else mzero.last()[1].calculateNegate(eo);
}
} else {
b_test_inf = false;
if(mzero.isOne()) {
mzero = mbak[i];
if(b_li) {
if(!mzero.isPower()) mzero.inverse();
else if(mzero[1].isMinusOne()) mzero.setToChild(1);
else mzero[1].calculateNegate(eo);
}
} else {
mzero.multiply(mbak[i], true);
if(b_li) {
if(!mzero.last().isPower()) mzero.last().inverse();
else if(mzero.last()[1].isMinusOne()) mzero.last().setToChild(1);
else mzero.last()[1].calculateNegate(eo);
}
}
}
} else if(is_plus_minus_infinity(mstruct[i])) {
if(mstruct[i].isInfinite()) {
b_inf = true;
if(minfp.isOne()) {
minfp = mbak[i];
if(!b_li) {
if(!minfp.isPower()) minfp.inverse();
else if(minfp[1].isMinusOne()) minfp.setToChild(1);
else minfp[1].calculateNegate(eo);
}
} else {
minfp.multiply(mbak[i], true);
if(!b_li) {
if(!minfp.last().isPower()) minfp.last().inverse();
else if(minfp.last()[1].isMinusOne()) minfp.last().setToChild(1);
else minfp.last()[1].calculateNegate(eo);
}
}
} else {
b_test_inf = false;
if(minfp.isOne()) {
minfp = mbak[i];
if(!b_li) {
if(!minfp.isPower()) minfp.inverse();
else if(minfp[1].isMinusOne()) minfp[1].setToChild(1);
else minfp[1].calculateNegate(eo);
}
} else {
minfp.multiply(mbak[i], true);
if(!b_li) {
if(!minfp.last().isPower()) minfp.last().inverse();
else if(minfp.last()[1].isMinusOne()) minfp.last().setToChild(1);
else minfp.last()[1].calculateNegate(eo);
}
}
}
} else if(!mstruct[i].representsNonZero(true) || !mstruct[i].representsNumber(true)) {
if(!mstruct[i].contains(x_var) && !mstruct.isZero() && mstruct[i].representsNumber(true)) {
mstruct[i].ref();
mleft.addChild_nocopy(&mstruct[i]);
b_possible_zero = true;
} else {
b_fail = true;
}
} else {
mstruct[i].ref();
mleft.addChild_nocopy(&mstruct[i]);
}
}
}
if(b_li) b_inf = !b_inf;
if(!b_fail && b_li && b_test_inf && !mzero.isOne() && !minfp.isOne()) {
MathStructure mnum(minfp);
MathStructure mden(mzero);
mnum.calculatesub(eo, eo, false);
mden.calculatesub(eo, eo, false);
MathStructure mnum_bak(mnum), mden_bak(mden);
calculate_limit_sub(mnum, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true);
calculate_limit_sub(mden, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true);
if(mnum.contains(x_var, true) && mden.contains(x_var, true)) {
int cmp = limit_inf_cmp(mnum, mden, x_var);
if(cmp == 0) {
mstruct.set(mnum);
EvaluationOptions eo2 = eo;
eo2.expand = false;
mstruct.calculateDivide(mden, eo2);
if(!mstruct.contains(x_var)) {
for(size_t i = 0; i < mleft.size(); i++) {
mstruct.calculateMultiply(mleft[i], eo);
}
break;
}
}
MathStructure mnum_b(mnum), mden_b(mden);
calculate_limit_sub(mnum, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
calculate_limit_sub(mden, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
if(mnum.isInfinite(false) && mden.isInfinite(false)) {
if(cmp > 0) {
if(keep_inf_x) {
mstruct.set(mnum_b, true);
mstruct.calculateDivide(mden_b, eo);
break;
}
mstruct.set(mnum, true);
if(mden.number().isNegative()) mstruct.calculateNegate(eo);
for(size_t i = 0; i < mleft.size(); i++) {
mstruct.calculateMultiply(mleft[i], eo);
}
break;
} else if(cmp == -1) {
mstruct.clear(true);
break;
}
if(mnum_b.isPower() && mden_b.isPower() && mnum_b[1].contains(x_var, true) && mden_b[1].contains(x_var, true)) {
bool b = true;
if(mden_b[1] != mnum_b[1]) {
b = false;
Number npow1(1, 1, 0), npow2;
MathStructure *x_p = &mnum_b[1];
if(mnum_b[1].isMultiplication() && mnum_b[1].size() == 2 && mnum_b[1][0].isNumber()) {
npow1 = mnum_b[1][0].number();
x_p = &mnum_b[1][1];
}
if(mden_b[1] == *x_p) npow2.set(1, 1, 0);
else if(mden_b[1].isMultiplication() && mden_b[1].size() == 2 && mden_b[1][0].isNumber() && mden_b[1][1] == *x_p) npow2 = mden_b[1][0].number();
if(!npow2.isZero() && npow1.isRational() && npow2.isRational()) {
if(npow1.isGreaterThan(npow2)) {
npow1 /= npow2;
npow2 = npow1.denominator();
npow1 = npow1.numerator();
}
if(mnum.number().isMinusInfinity() && !npow1.isOne()) {
if(npow2.isOne() && mden.number().isPlusInfinity()) {
mden_b[0].factorize(eo, false, false, 0, false, false, NULL, m_undefined, false, true);
if(mden_b[0].isPower() && mden_b[0][1].isInteger()) {
mden_b[0][1].number() /= npow1;
if(mden_b[0][1].number().isInteger()) {
mden_b[0].calculateRaiseExponent(eo);
b = true;
}
}
}
} else if(mden.number().isMinusInfinity() && !npow2.isOne()) {
if(npow1.isOne() && mnum.number().isPlusInfinity()) {
mnum_b[0].factorize(eo, false, false, 0, false, false, NULL, m_undefined, false, true);
if(mnum_b[0].isPower() && mnum_b[0][1].isInteger()) {
mnum_b[0][1].number() /= npow2;
if(mnum_b[0][1].number().isInteger()) {
mnum_b[0].calculateRaiseExponent(eo);
mnum_b[1] = mden_b[1];
b = true;
}
}
}
} else {
if(!npow1.isOne()) mnum_b[0].calculateRaise(npow1, eo);
if(!npow2.isOne()) mden_b[0].calculateRaise(npow2, eo);
mnum_b.childUpdated(1);
mden_b.childUpdated(1);
if(!npow1.isOne()) {
if(&mnum_b[1] == x_p) {
npow1.recip();
mnum_b[1] *= npow1;
mnum_b[1].swapChildren(1, 2);
} else {
mnum_b[1][0].number() /= npow1;
}
}
b = true;
}
}
}
if(b) {
mstruct.set(mnum_b[0], true);
mstruct /= mden_b[0];
mstruct.transformById(FUNCTION_ID_LOG);
mstruct *= mnum_b[1];
mstruct.raise(CALCULATOR->getVariableById(VARIABLE_ID_E));
mstruct.swapChildren(1, 2);
calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, keep_inf_x);
for(size_t i = 0; i < mleft.size(); i++) {
mstruct.calculateMultiply(mleft[i], eo);
}
break;
}
}
}
}
}
if(!b_possible_zero && !b_fail && lhop_depth < 5 && !mzero.isOne() && !minfp.isOne() && mzero.countTotalChildren(false) + minfp.countTotalChildren(false) < 250) {
//L'Hpital's rule
MathStructure mden, mnum;
for(size_t i2 = 0; i2 < 2; i2++) {
if((i2 == 0) != b_inf) {
mnum = mzero;
mden = minfp;
if(b_li) {
mden.inverse();
mnum.inverse();
}
} else {
mnum = minfp;
mden = mzero;
if(!b_li) {
mden.inverse();
mnum.inverse();
}
}
if(mnum.differentiate(x_var, eo) && !contains_diff_for(mnum, x_var) && mden.differentiate(x_var, eo) && !contains_diff_for(mden, x_var)) {
mnum /= mden;
mnum.eval(eo);
calculate_limit_sub(mnum, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth + 1);
if(!limit_contains_undefined(mnum)) {
mstruct.set(mnum, true);
for(size_t i = 0; i < mleft.size(); i++) {
mstruct.calculateMultiply(mleft[i], eo);
}
return true;
}
}
}
}
for(size_t i = 0; i < irecalc.size(); i++) {
mstruct[irecalc[i]] = mbak[irecalc[i]];
calculate_limit_sub(mstruct[irecalc[i]], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
}
mstruct.childrenUpdated();
mstruct.calculatesub(eo, eo, false);
if(keep_inf_x && mstruct.isInfinite(false)) {
mstruct = mbak;
if(reduce_addition) {
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, reduce_addition);
if(mstruct[i].isZero()) mstruct[i] = mbak[i];
}
mstruct.childrenUpdated();
mstruct.calculatesub(eo, eo, false);
}
}
break;
}
case STRUCT_ADDITION: {
MathStructure mbak(mstruct);
bool b = limit_combine_divisions(mstruct, x_var, nr_limit);
if(mstruct.isAddition()) b = limit_combine_divisions2(mstruct, x_var, nr_limit, eo);
if(b) {
if(lhop_depth > 0) return calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, polydeg, lhop_depth);
if(calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, polydeg, lhop_depth) && !limit_contains_undefined(mstruct)) return true;
mstruct = mbak;
}
if(nr_limit.isInfinite(false)) {
size_t i_cmp = 0;
b = true;
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true);
}
if(mstruct.contains(x_var, true) && (!keep_inf_x || reduce_addition)) {
bool bfac = false;
MathStructure mstruct_units(mstruct);
MathStructure mstruct_new(mstruct);
for(size_t i = 0; i < mstruct_units.size(); i++) {
if(mstruct_units[i].isMultiplication()) {
for(size_t i2 = 0; i2 < mstruct_units[i].size();) {
if(!mstruct_units[i][i2].contains(x_var, true)) {
mstruct_units[i].delChild(i2 + 1);
} else {
i2++;
}
}
if(mstruct_units[i].size() == 0) mstruct_units[i].setUndefined();
else if(mstruct_units[i].size() == 1) mstruct_units[i].setToChild(1);
for(size_t i2 = 0; i2 < mstruct_new[i].size();) {
if(mstruct_new[i][i2].contains(x_var, true)) {
mstruct_new[i].delChild(i2 + 1);
} else {
i2++;
}
}
if(mstruct_new[i].size() == 0) mstruct_new[i].set(1, 1, 0);
else if(mstruct_new[i].size() == 1) mstruct_new[i].setToChild(1);
} else if(mstruct_units[i].contains(x_var, true)) {
mstruct_new[i].set(1, 1, 0);
} else {
mstruct_units[i].setUndefined();
}
}
for(size_t i = 0; i < mstruct_units.size(); i++) {
if(!mstruct_units[i].isUndefined()) {
for(size_t i2 = i + 1; i2 < mstruct_units.size(); i2++) {
if(mstruct_units[i2] == mstruct_units[i]) {
mstruct_new[i].add(mstruct_new[i2], true);
bfac = true;
}
}
bool bfac2 = false;
MathStructure mzero(mstruct_new[i]);
mzero.calculatesub(eo, eo, false);
if(bfac && mzero.isZero() && lhop_depth < 5) {
MathStructure mfac(mbak[i]);
bool b_diff = false;
calculate_limit_sub(mfac, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, false);
if(mfac != mstruct[i]) b_diff = true;
for(size_t i2 = i + 1; i2 < mstruct_units.size(); i2++) {
if(mstruct_units[i2] == mstruct_units[i]) {
mfac.add(mbak[i2], true);
calculate_limit_sub(mfac.last(), x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, false);
if(!b_diff && mfac.last() != mstruct[i2]) b_diff = true;
bfac2 = true;
}
}
if(bfac2) {
mfac.calculatesub(eo, eo, false);
if(!mfac.isAddition()) {
calculate_limit_sub(mfac, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth + 1, true);
mstruct_new[i].set(mfac, true);
} else if(!b_diff) {
bfac2 = false;
} else if(mfac.size() == 2 && !mfac.containsType(STRUCT_FUNCTION)) {
MathStructure mfac2(mfac);
MathStructure mmul(mfac);
mmul.last().calculateNegate(eo);
mfac.calculateMultiply(mmul, eo);
mfac.divide(mmul);
calculate_limit_sub(mfac, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth + 1, true);
if(limit_contains_undefined(mfac)) {
mfac2.factorize(eo, false, false, 0, false, false, NULL, m_undefined, false, false);
if(!mfac2.isAddition()) {
calculate_limit_sub(mfac2, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth + 1, true);
mstruct_new[i].set(mfac2, true);
} else {
bfac2 = false;
}
} else {
mstruct_new[i].set(mfac, true);
}
} else {
mfac.factorize(eo, false, false, 0, false, false, NULL, m_undefined, false, false);
if(!mfac.isAddition()) {
calculate_limit_sub(mfac, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth + 1, true);
mstruct_new[i].set(mfac, true);
} else if(mstruct_units[i].isFunction() && mstruct_units[i].function()->id() == FUNCTION_ID_LOG) {
mstruct_new[i].clear(true);
} else {
bfac2 = false;
}
}
}
}
if(!bfac2) {
if(mstruct_new[i].isOne()) {
mstruct_new[i].set(mstruct_units[i]);
} else if(mstruct_units[i].isMultiplication()) {
for(size_t i2 = 0; i2 < mstruct_units[i].size(); i2++) {
mstruct_new[i].multiply(mstruct_units[i][i2], true);
}
} else {
mstruct_new[i].multiply(mstruct_units[i], true);
}
}
for(size_t i2 = i + 1; i2 < mstruct_units.size(); i2++) {
if(mstruct_units[i2] == mstruct_units[i]) {
mstruct_units[i2].setUndefined();
mstruct_new[i2].clear();
}
}
}
}
if(bfac) {
for(size_t i = 0; mstruct_new.size() > 1 && i < mstruct_new.size();) {
if(mstruct_new[i].isZero()) {
mstruct_new.delChild(i + 1);
} else {
i++;
}
}
mstruct = mstruct_new;
if(mstruct.size() == 1) {
mstruct.setToChild(1, true);
if(!keep_inf_x) calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
break;
} else if(!mstruct.contains(x_var, true)) {
b = false;
}
}
for(size_t i = 0; i < mstruct.size(); i++) {
if(i > 0 && mstruct[i].contains(x_var, true)) {
int cmp = limit_inf_cmp(mstruct[i], mstruct[i_cmp], x_var);
if(cmp > 0) {
mstruct.delChild(i_cmp + 1, false);
i--;
i_cmp = i;
} else if(cmp == -1) {
mstruct.delChild(i + 1, false);
i--;
} else {
b = false;
}
}
}
if(b) {
MathStructure mbak(mstruct);
for(size_t i = 0; i < mstruct.size();) {
if(!mstruct[i].contains(x_var, true)) {
if(mstruct[i].representsNumber()) {
mstruct.delChild(i + 1, false);
} else {
mstruct = mbak;
break;
}
} else {
i++;
}
}
}
}
if(!b || !keep_inf_x) {
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
}
}
mstruct.childrenUpdated();
if(mstruct.size() == 1) mstruct.setToChild(1, true);
else if(!b || !keep_inf_x) mstruct.calculatesub(eo, eo, false);
break;
} else {
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth);
}
}
mstruct.childrenUpdated();
mstruct.calculatesub(eo, eo, false);
break;
}
case STRUCT_POWER: {
MathStructure mbak(mstruct);
calculate_limit_sub(mstruct[0], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
calculate_limit_sub(mstruct[1], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
if(is_plus_minus_infinity(mstruct[1]) && (mstruct[0].isOne() || mstruct[0].isZero()) && mbak[1].contains(x_var, true) && mbak[0].contains(x_var, true)) {
mstruct.set(mbak[0], true);
mstruct.transformById(FUNCTION_ID_LOG);
mstruct *= mbak[1];
mstruct.raise(CALCULATOR->getVariableById(VARIABLE_ID_E));
mstruct.swapChildren(1, 2);
calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, keep_inf_x);
break;
}
if(mstruct[0].isFunction() && (mstruct[0].function()->id() == FUNCTION_ID_ASIN || mstruct[0].function()->id() == FUNCTION_ID_ACOS) && mstruct[0].size() == 1 && mstruct[0][0].isInfinite(false) && mstruct[1].representsNegative()) {
mstruct.clear(true);
break;
}
if(keep_inf_x && nr_limit.isInfinite(false) && (mstruct[0].isInfinite(false) || mstruct[1].isInfinite(false))) {
MathStructure mbak2(mstruct);
mstruct.calculatesub(eo, eo, false);
if(mstruct.isInfinite(false)) {
mstruct = mbak2;
if(mstruct[0].isInfinite(false)) {
mstruct[0] = mbak[0];
calculate_limit_sub(mstruct[0], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, reduce_addition && !mstruct[1].isInfinite(false));
} else if(mbak[0].contains(x_var, true)) {
mstruct[0] = mbak[0];
}
if(mstruct[1].isInfinite(false)) {
mstruct[1] = mbak[1];
calculate_limit_sub(mstruct[1], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, false);
} else if(mbak[1].contains(x_var, true)) {
mstruct[1] = mbak[1];
}
}
} else if(mstruct[0].isNumber() && !mstruct[0].number().isNonZero() && mstruct[1].representsNegative() && mbak[0].contains(x_var, true) > 0) {
bool b_test = true;
int i_sgn = 0;
if(mstruct[0].number().isInterval(false) && (mstruct[0].number().hasImaginaryPart() || !mstruct[1].isNumber())) {
b_test = false;
}
if(b_test && ((mbak[0].isFunction() && mbak[0].function()->id() == FUNCTION_ID_ABS) || mstruct[1].representsEven())) {
i_sgn = 1;
b_test = false;
} else if(b_test) {
if(mstruct[0].number().isInterval(false) && !mstruct[0].number().isNonNegative() && !mstruct[0].number().isNonPositive()) {
b_test = false;
} else {
MathStructure mpow(mbak[0]);
if(mstruct[1].isMinusOne()) {
MathStructure mfac(mpow);
mfac.factorize(eo, false, false, 0, false, false, NULL, m_undefined, false, true);
if(mfac.isPower() && mfac[1].representsEven()) {
i_sgn = 1;
b_test = false;
}
} else {
mpow ^= mstruct[1];
mpow.last().calculateNegate(eo);
}
if(b_test) {
MathStructure mdiff(mpow);
if(mdiff.differentiate(x_var, eo) && !contains_diff_for(mdiff, x_var)) {
mdiff.replace(x_var, nr_limit);
CALCULATOR->beginTemporaryStopMessages();
mdiff.eval(eo);
if(!CALCULATOR->endTemporaryStopMessages()) {
if(mdiff.representsPositive()) {
b_test = false;
if(approach_direction > 0) i_sgn = 1;
else if(approach_direction < 0) i_sgn = -1;
} else if(mdiff.representsNegative()) {
b_test = false;
if(approach_direction > 0) i_sgn = -1;
else if(approach_direction < 0) i_sgn = 1;
}
}
}
if(b_test) {
MathStructure mtestn(nr_limit);
if(eo.approximation != APPROXIMATION_EXACT) {
EvaluationOptions eo2 = eo;
eo2.approximation = APPROXIMATION_APPROXIMATE;
mtestn.eval(eo2);
}
if(mtestn.isNumber() && mtestn.number().isReal()) {
for(int i = 10; i < 20; i++) {
if(approach_direction == 0 || (i % 2 == (approach_direction < 0))) {
Number nr_test(i % 2 == 0 ? 1 : -1, 1, -(i / 2));
if(!mtestn.number().isZero()) {
nr_test++;
if(!nr_test.multiply(mtestn.number())) {i_sgn = 0; break;}
}
MathStructure mtest(mpow);
mtest.replace(x_var, nr_test);
CALCULATOR->beginTemporaryStopMessages();
mtest.eval(eo);
if(CALCULATOR->endTemporaryStopMessages()) {i_sgn = 0; break;}
int new_sgn = 0;
if(mtest.representsPositive()) new_sgn = 1;
else if(mtest.representsNegative()) new_sgn = -1;
if(new_sgn != 0 || mtest.isNumber()) {
if(new_sgn == 0 || (i_sgn != 0 && i_sgn != new_sgn)) {i_sgn = 0; break;}
i_sgn = new_sgn;
}
}
if(CALCULATOR->aborted()) {i_sgn = 0; break;}
}
}
}
}
}
}
if(i_sgn != 0) {
if(mstruct[0].number().isInterval()) {
Number nr_pow = mstruct[1].number();
Number nr_high(mstruct[0].number());
if(nr_pow.negate() && nr_high.raise(nr_pow) && !nr_high.hasImaginaryPart()) {
if(nr_high.isNonNegative() && i_sgn > 0) nr_high = nr_high.upperEndPoint();
else if(nr_high.isNonPositive() && i_sgn < 0) nr_high = nr_high.lowerEndPoint();
if(nr_high.isNonZero() && nr_high.recip()) {
Number nr;
if(i_sgn > 0) nr.setInterval(nr_high, nr_plus_inf);
else if(i_sgn < 0) nr.setInterval(nr_minus_inf, nr_high);
mstruct.set(nr, true);
if(b_test) CALCULATOR->error(false, _("Limit for %s determined graphically."), format_and_print(mbak).c_str(), NULL);
break;
}
}
} else {
if(b_test) CALCULATOR->error(false, _("Limit for %s determined graphically."), format_and_print(mbak).c_str(), NULL);
if(i_sgn > 0) mstruct.set(nr_plus_inf, true);
else if(i_sgn < 0) mstruct.set(nr_minus_inf, true);
break;
}
}
}
mstruct.childrenUpdated();
mstruct.calculatesub(eo, eo, false);
break;
}
case STRUCT_FUNCTION: {
if(keep_inf_x && nr_limit.isInfinite(false) && mstruct.size() == 1 && (mstruct.function()->id() == FUNCTION_ID_LOG || mstruct.function()->id() == FUNCTION_ID_GAMMA)) {
MathStructure mbak(mstruct);
calculate_limit_sub(mstruct[0], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
if(mstruct[0].isInfinite(false) && (mstruct[0].number().isPlusInfinity() || mstruct.function()->id() == FUNCTION_ID_LOG)) {
mstruct[0] = mbak[0];
calculate_limit_sub(mstruct[0], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, true, mstruct.function()->id() == FUNCTION_ID_LOG && reduce_addition);
break;
}
} else if(approach_direction != 0 && mstruct.function()->id() == FUNCTION_ID_TAN && mstruct.size() == 1) {
MathStructure mbak(mstruct);
mstruct.setFunctionId(FUNCTION_ID_SIN);
mbak.setFunctionId(FUNCTION_ID_COS);
mstruct /= mbak;
return calculate_limit_sub(mstruct, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, keep_inf_x, reduce_addition);
} else if(mstruct.function()->id() == FUNCTION_ID_FLOOR || mstruct.function()->id() == FUNCTION_ID_CEIL || mstruct.function()->id() == FUNCTION_ID_TRUNC) {
MathStructure mlimit(mstruct[0]);
calculate_limit_sub(mlimit, x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, keep_inf_x, reduce_addition);
mlimit.transformById(FUNCTION_ID_FRAC);
ComparisonResult cr = mlimit.compare(m_zero);
mlimit.setToChild(1);
if(!COMPARISON_IS_NOT_EQUAL(cr)) {
if(approach_direction == 0 || cr != COMPARISON_RESULT_EQUAL) return false;
if(mstruct.function()->id() == FUNCTION_ID_TRUNC) {
cr = mlimit.compare(m_zero);
if(cr != COMPARISON_RESULT_EQUAL && cr != COMPARISON_RESULT_GREATER && cr != COMPARISON_RESULT_LESS) return false;
}
MathStructure mdiff(mstruct[0]);
int i_sgn = 0;
if(mdiff.differentiate(x_var, eo) && !contains_diff_for(mdiff, x_var)) {
mdiff.replace(x_var, nr_limit);
ComparisonResult cr2 = mdiff.compare(m_zero);
if(cr2 == COMPARISON_RESULT_GREATER) i_sgn = -1;
else if(cr2 == COMPARISON_RESULT_LESS) i_sgn = 1;
}
if(i_sgn == 0) return false;
i_sgn *= approach_direction;
if(i_sgn < 0 && (mstruct.function()->id() == FUNCTION_ID_FLOOR || (mstruct.function()->id() == FUNCTION_ID_TRUNC && cr == COMPARISON_RESULT_LESS))) mlimit -= m_one;
else if(i_sgn > 0 && (mstruct.function()->id() == FUNCTION_ID_CEIL || (mstruct.function()->id() == FUNCTION_ID_TRUNC && cr == COMPARISON_RESULT_GREATER))) mlimit += m_one;
}
mstruct[0] = mlimit;
mstruct.childrenUpdated();
} else {
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false);
}
mstruct.childrenUpdated();
}
if(approach_direction != 0 && mstruct.function()->id() == FUNCTION_ID_GAMMA && mstruct.size() == 1 && mstruct[0].isInteger() && mstruct[0].number().isNonPositive()) {
if((mstruct[0].number().isEven() && approach_direction < 0) || (mstruct[0].number().isOdd() && approach_direction > 0)) {
mstruct.set(nr_minus_inf, true);
} else {
mstruct.set(nr_plus_inf, true);
}
break;
}
mstruct.calculateFunctions(eo, true);
mstruct.calculatesub(eo, eo, false);
break;
}
default: {
for(size_t i = 0; i < mstruct.size(); i++) {
calculate_limit_sub(mstruct[i], x_var, nr_limit, eo, approach_direction, NULL, lhop_depth, false, reduce_addition);
}
mstruct.childrenUpdated();
mstruct.calculatesub(eo, eo, false);
}
}
return true;
}
bool replace_equal_limits(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit, const EvaluationOptions &eo, int approach_direction, bool at_top = true) {
if(!nr_limit.isInfinite(false)) return false;
bool b_ret = false;
for(size_t i = 0; i < mstruct.size(); i++) {
if(replace_equal_limits(mstruct[i], x_var, nr_limit, eo, approach_direction, false)) {
mstruct.childUpdated(i + 1);
b_ret = true;
}
}
if(at_top) return b_ret;
if(mstruct.isFunction() && (mstruct.function()->id() == FUNCTION_ID_SINH || mstruct.function()->id() == FUNCTION_ID_COSH) && mstruct.size() == 1 && mstruct.contains(x_var, true)) {
MathStructure mterm1(CALCULATOR->getVariableById(VARIABLE_ID_E));
mterm1.raise(mstruct[0]);
MathStructure mterm2(mterm1);
mterm2[1].negate();
mterm1 *= nr_half;
mterm2 *= nr_half;
mstruct = mterm1;
if(mstruct.function()->id() == FUNCTION_ID_SINH) mstruct -= mterm2;
else mstruct += mterm2;
return true;
}
return b_ret;
}
bool replace_equal_limits2(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit, const EvaluationOptions &eo, int approach_direction, bool at_top = true) {
if(!nr_limit.isInfinite(false)) return false;
bool b_ret = false;
for(size_t i = 0; i < mstruct.size(); i++) {
if(replace_equal_limits2(mstruct[i], x_var, nr_limit, eo, approach_direction, false)) {
mstruct.childUpdated(i + 1);
b_ret = true;
}
}
if(mstruct.isMultiplication()) {
for(size_t i = 0; i < mstruct.size(); i++) {
if(mstruct[i].isPower() && mstruct[i][1] == x_var && (nr_limit.number().isMinusInfinity() || mstruct[i][0].representsNonNegative())) {
for(size_t i2 = i + 1; i2 < mstruct.size();) {
if(mstruct[i2].isPower() && mstruct[i2][1] == x_var && (nr_limit.number().isMinusInfinity() || mstruct[i2][0].representsNonNegative())) {
mstruct[i][0].calculateMultiply(mstruct[i2][0], eo);
mstruct.delChild(i2 + 1, false);
} else {
i2++;
}
}
mstruct[i].childUpdated(1);
mstruct.childUpdated(i + 1);
if(mstruct.size() == 1) {
mstruct.setToChild(1, true);
break;
}
}
}
}
return b_ret;
}
bool replace_equal_limits3(MathStructure &mstruct, const MathStructure &x_var, const MathStructure &nr_limit, const EvaluationOptions &eo, int approach_direction, bool at_top = true) {
if(!nr_limit.isInfinite(false)) return false;
bool b_ret = false;
for(size_t i = 0; i < mstruct.size(); i++) {
if(replace_equal_limits3(mstruct[i], x_var, nr_limit, eo, approach_direction, false)) {
mstruct.childUpdated(i + 1);
b_ret = true;
}
}
if(at_top) return b_ret;
if(mstruct.isFunction() && (mstruct.function()->id() == FUNCTION_ID_ASINH || mstruct.function()->id() == FUNCTION_ID_ACOSH) && mstruct.size() == 1 && mstruct.contains(x_var, true)) {
MathStructure mtest(mstruct[0]);
calculate_limit_sub(mtest, x_var, nr_limit, eo, approach_direction);
if(mtest.isInfinite(false)) {
if(mtest.number().isPlusInfinity()) {
mstruct.setFunctionId(FUNCTION_ID_LOG);
mstruct[0] *= nr_two;
return true;
} else if(mstruct.function()->id() == FUNCTION_ID_ASINH) {
mstruct.setFunctionId(FUNCTION_ID_LOG);
mstruct[0] *= nr_two;
mstruct.negate();
return true;
}
}
}
return b_ret;
}
bool MathStructure::calculateLimit(const MathStructure &x_var, const MathStructure &limit, const EvaluationOptions &eo_pre, int approach_direction) {
EvaluationOptions eo = eo_pre;
eo.assume_denominators_nonzero = true;
eo.warn_about_denominators_assumed_nonzero = false;
eo.do_polynomial_division = false;
UnknownVariable *var = new UnknownVariable("", format_and_print(x_var));
Assumptions *ass = new Assumptions();
MathStructure nr_limit(limit);
if(eo.approximation != APPROXIMATION_EXACT && nr_limit.containsInterval(true, true, false, 0, true)) {
eo.approximation = APPROXIMATION_EXACT_VARIABLES;
}
nr_limit.eval(eo);
eo.approximation = eo_pre.approximation;
if(nr_limit.representsReal() || nr_limit.isInfinite()) ass->setType(ASSUMPTION_TYPE_REAL);
if(nr_limit.representsPositive()) ass->setSign(ASSUMPTION_SIGN_POSITIVE);
else if(nr_limit.representsNegative()) ass->setSign(ASSUMPTION_SIGN_NEGATIVE);
else if(nr_limit.isZero()) {
if(approach_direction < 0) ass->setSign(ASSUMPTION_SIGN_NEGATIVE);
else if(approach_direction > 0) ass->setSign(ASSUMPTION_SIGN_POSITIVE);
else ass->setSign(ASSUMPTION_SIGN_NONZERO);
}
var->setAssumptions(ass);
replace(x_var, var);
eval(eo);
CALCULATOR->beginTemporaryStopMessages();
MathStructure mbak(*this);
if(replace_equal_limits(*this, var, nr_limit, eo, approach_direction)) eval(eo);
replace_equal_limits2(*this, var, nr_limit, eo, approach_direction);
if(replace_equal_limits3(*this, var, nr_limit, eo, approach_direction)) {
eval(eo);
replace_equal_limits2(*this, var, nr_limit, eo, approach_direction);
}
do_simplification(*this, eo, true, false, false, true, true);
eo.do_polynomial_division = true;
calculate_limit_sub(*this, var, nr_limit, eo, approach_direction);
if(CALCULATOR->aborted() || (containsInfinity(true) && !isInfinite(true)) || limit_contains_undefined(*this) || containsFunctionId(FUNCTION_ID_FLOOR) || containsFunctionId(FUNCTION_ID_CEIL) || containsFunctionId(FUNCTION_ID_TRUNC)) {
set(mbak);
replace(var, x_var);
var->destroy();
CALCULATOR->endTemporaryStopMessages();
return false;
}
replace(var, nr_limit);
var->destroy();
CALCULATOR->endTemporaryStopMessages(true);
return true;
}
``` |
```javascript
//your_sha256_hash---------------------------------------
//your_sha256_hash---------------------------------------
function test0() {
function leaf() {
}
class BaseClass {
}
var obj0 = {};
var obj1 = {};
var arrObj0 = {};
var litObj1 = {};
var func0 = function () {
};
var func1 = function () {
var func5 = function* () {
strvar1 = '!';
};
for (var _strvar3 of func5()) {
}
};
var func2 = function () {
};
var func3 = function () {
};
var func4 = function () {
};
obj0.method0 = func2;
obj0.method1 = func3;
obj1.method1 = func0;
var ary = Array();
var i8 = new Int8Array();
var i16 = new Int16Array();
var i32 = new Int32Array();
var f32 = new Float32Array();
var IntArr0 = [];
var VarArr0 = [];
var b = -2;
var d = 217;
var f = -354058415.9;
var g = 192563783;
var h = -6607978441461540000;
var strvar4 = '!';
var strvar5 = '-';
var strvar6 = '!$EUI';
var strvar7 = '#q\xA9';
var protoObj0 = Object(obj0);
var protoObj1 = Object(obj1);
class class1 extends BaseClass {
}
class class4 extends BaseClass {
}
class class7 {
static set func56(argMath66) {
while ((argMath66 == h && 217 != obj0.prop5) * (((argMath66 <<= argMath66)))) {
print("loop 1");
}
}
}
var __loopvar1000 = 2;
for (;;) {
__loopvar1000 -= 2;
if (__loopvar1000 <= 2 - 6) {
break;
}
print('loop 2');
protoObj1.method1((class7.func56 = {
valueOf: function () {
WScript.Echo("class7.func56.valueOf");
}
}, class7.func56 = arrObj0));
}
}
test0();
``` |
James Edward Service (January 20, 1931 – February 10, 2017) was a vice admiral of the United States Navy active during much of the Cold War. A naval aviator, he flew combat missions in the Korean War and Vietnam War, commanded aviation units and various ships including aircraft carriers, served as a test pilot, and was President of the Naval War College.
Naval career
Services naval career began in November 1950, when he reported for training in the U.S. Navys Aviation Cadet Training Program. He underwent training until June 1952, being designated a Naval Aviator on April 9, 1952.
In July 1952, Service reported for duty with Fighter Squadron 53 (VF-53) at Naval Air Station Miramar, California. The squadron deployed to Korea from January to June 1953, where Service flew F9F-5 Panther fighters on 54 combat missions during the Korean War. He remained with the squadron until October 1954.
From November 1954 to July 1955, Service was a flight instructor at Naval Air Station Corpus Christi, Texas. He then left the Navy to pursue studies at San Diego State College in San Diego, California, through January 1957.
Service returned to naval service in February 1957, joining Attack Squadron 151 (VA-151) at Naval Air Station Alameda, California. During his tour, the squadron deployed to the Western Pacific. Leaving VA-151 in February 1959, he spent March through May 1959 at the Catapult and Arresting Gear School at Naval Station Philadelphia in Philadelphia, Pennsylvania.
From June 1959 to June 1961, Service served aboard the attack aircraft carrier . He then was a test pilot at the Naval Air Test Facility at Naval Air Station Lakehurst, New Jersey, from July 1961 to July 1963, making high-energy landing tests of various arresting gear systems and serving in 1962 as project pilot for the Marine Corps Expeditionary Airfield, becoming the first pilot to launch from the CE-1 and CE-2 cataport systems. He then attended the Naval Postgraduate School at Monterey, California, from August 1963 to June 1965.
After instruction in Heavy Attack Squadron 123 (VAH-123) from July 1965 to January 1966, Service served in Heavy Photographic Squadron 61 (VAP-61) in Southeast Asia from February 1966 to November 1967, first as the squadrons operations officer and then as its executive officer. During this tour, he flew 61 combat missions in the Vietnam War in RA-3B Skywarrior photographic reconnaissance aircraft and participated in the development of tactics for the use of real-time infrared reconnaissance systems under combat conditions. He then served a tour as assistant air officer aboard the attack aircraft carrier from January 1968 until April 1969, during which Ranger served off Vietnam from January to June 1968 and participated in the response to the Pueblo incident with North Korea of January 1968.
From May to June 1969, Service again underwent instruction with VAH-123, before taking command of his first squadron, Heavy Photographic Squadron 62 (VAP-62), in July 1969. He was the squadrons commanding officer until October 1969, then served first as executive officer and then as commanding officer of VAH-123 during his next tour, which lasted from November 1969 to January 1971. He then was executive officer of the attack aircraft carrier from June 1971 to June 1972.
Service attended the United States Army War College in Carlisle, Pennsylvania, from July 1972 to July 1973 before returning to sea as commanding officer of the fast combat support ship from September 1973 to April 1975 and as commanding officer of the aircraft carrier from June 1975 to April 1977.
Services next tour was at the Pentagon, where from May 1977 to January 1980 he was on the staff (OPNAV) of the Chief of Naval Operations (CNO). While at the Pentagon, he served first as executive assistant and senior aide to the Vice Chief of Naval Operations (OP-09A) and then, in his first flag officer assignment, as chief of Aviation Manpower and Training (OP-59). He then spent January through May 1980 at the Nuclear Power Training Unit in Idaho Falls, Idaho.
From June 1980 to June 1981, Service was the commander of Carrier Group 8, which operated in the Indian Ocean and participated in the January 1981 release of the American hostages that had been held in Tehran, Iran, since November 1979. From July 1981 to September 1982, he was the commander of Battle Force, Sixth Fleet, and Task Force 60 in the Mediterranean Sea. During this tour, he planned and executed a missile exercise in the Gulf of Sidra off Libya which resulted in two F-14A Tomcat fighters from Fighter Squadron 41 aboard the aircraft carrier shooting down two Libyan Sukhoi Su-22 (NATO reporting name "Fitter") attack aircraft during the Gulf of Sidra incident of 19 August 1981. He received the Distinguished Service Medal for this operation.
On October 14, 1982, Service became the 42nd president of the Naval War College in Newport, Rhode Island, During his presidency, which lasted until 12 July 1985, he presided over the colleges centennial, the opening of an enlarged Naval War College Museum in Founders Hall after a two-year renovation, and the publication of Sailors and Scholars, a history of the college's first 100 years.
From August 1985 to September 1987, Service was Commander, Naval Air Forces, United States Pacific Fleet, at Naval Air Station North Island in San Diego, California. He retired from Navy service in September 1987.
Awards and decorations
Personal life
Service was married to the former Natalie Harpst. They have three sons, two of whom became naval officers, one a naval aviator, the other a naval flight officer and aviation physiologist.
Retirement
In retirement, Service was a director of the Wood River Medical Center in Ketchum, Idaho, from 1991 to 1995 and served as a financial adviser for the PGR Advisors consulting group in San Jose, California. Starting in 1992, Service sat on the board of directors of the Sturm, Ruger Company, Inc. and was its chairman from 2006 to 2010. He served as "Chairman Emeritus of the Board" from 2010 until his death on February 10, 2017, at the age of 86.
References
External links
1951 photo of James E. Service during flight training and 1986 photo of James E. and Natalie Service
1931 births
2017 deaths
People from Grosse Pointe, Michigan
Military personnel from Michigan
United States Navy admirals
United States Naval Aviators
United States Navy personnel of the Korean War
United States Navy personnel of the Vietnam War
American Korean War pilots
Presidents of the Naval War College
Recipients of the Navy Distinguished Service Medal
Recipients of the Legion of Merit
Recipients of the Air Medal
Military personnel of the Cold War
San Diego State University alumni
Naval Postgraduate School alumni
United States Army War College alumni |
Arslanlı is a neighbourhood in the municipality and district of Kozan, Adana Province, Turkey. Its population is 720 (2022).
References
Neighbourhoods in Kozan District |
The 1995 Sta. Lucia Realtors season was the 3rd season of the franchise in the Philippine Basketball Association (PBA).
Draft picks
Occurrences
During the off-season, the Sta.Lucia Realtors match the P 28.8 million, five-year offer sheet by Pepsi Mega to Jun Limpot, making the former La Salle Green Archer the highest paid local player in the PBA.
Sta.Lucia was fined by the PBA office for the below-par showing of the team in the last day of the eliminations of the All-Filipino Cup on April 7 wherein the Realtors lost to Alaska Milkmen which ousted three other teams hoping to create a four-way tie for the fifth and last semifinals berth had Sta.Lucia won.
Summary
On March 24, top draft pick Dennis Espino finally debut in leading the Realtors to a 95–91 win over San Miguel in the out-of-town game in Tuguegarao. Sta.Lucia enters the semifinal round with five wins and five losses, the Realtors were a win away from earning a finals playoff berth via win five games in the semifinals but they lost to Purefoods, 90–92, in their last game on April 30 and were booted out from the finals race. Sta.Lucia placed third with a two-game sweep over Purefoods in their best-of-three series.
After original choice Clifford Reed was sent home and never got a chance to play in the Commissioners Cup, Antoine Davison came as a late replacement and played poorly, scoring only 14 points despite the Realtors winning over Alaska in overtime, 101–97, in their first game on June 11, Davison lasted just one game and was replaced by Sam Mack, who also played only one game and left, leaving the Realtors importless in their next two games. Sta.Lucia finally got the right import in Frederick Pea and since his arrival, the Realtors won six straight games to finish second with eight wins and two losses, a game behind Sunkist after the eliminations. Sta.Lucia were tied with Alaska at 10 wins and five loss after the quarterfinal round. Both teams were seeded number two and three and will play against each other in the best-of-five semifinals. The Realtors were swept in three games by the Milkmen. Sta.Lucia placed third with another two-game sweep over Purefoods in their series for third place.
Coach Nat Canson brought in former North Carolina State's Kelsey Weems as their import but Weems left even before the Governors Cup started after he figured in a spat with Gerald Esplana. Coming in was Robert Francis Allen, a Canadian national player whose stint in the PBA was his first overseas assignment. The Realtors were four wins and five losses going into their last game in the eliminations on November 10, hoping to create at least a tie for the fifth semifinals berth if San Miguel losses in the second game of the doubleheader, but Sta.Lucia were upset and eliminated by also-ran Pepsi Mega, 91–97, with Robert Allen skipping the game due to an injury.
Roster
Transactions
Additions
Trades
Recruited imports
References
Sta. Lucia
Sta. Lucia Realtors seasons |
Hypoglycin may refer to:
Hypoglycin A
Hypoglycin B |
A Nirvana Phone was a marketing phrase coined by Citrix for a smartphone that could be docked with external displays and keyboards to create an alternative desktop or laptop computer system. It was to define a new category of mobile device with a capability beyond a conventional smartphone computer.
The NirvanaPhone provides the processor, storage media, display adapter, communication channels, and operating system. The docking station provides power, and connectivity. To be useful the NirvanaPhone differs from a simple smartphone by having significant processing power, video output at high resolution, plus keyboard and mouse input. A smartphone is generally accepted as a device that has both mobile phone capability as well as an operating system that can run applications such as email, web browser, media player and personal organizers. The NirvanaPhone adds external monitor capability which could be a computer monitor, an HDTV, or a video projector. The dock could be a cradle, cable or a wireless connection. This allows the NirvanaPhone to run applications that can utilize a full-sized display for better readability or collaboration. Or in combination with a keyboard and mouse, perhaps using Bluetooth, the NirvanaPhone could act as a thin client connected to a virtual desktop for business use.
History
The concept of using a smartphone as a PC has been around for a number of years.
As early as 2002, the Treo 180 running Palm OS could be docked with a keyboard but lacked data communications. By 2007, the Nokia N93/N95 smartphone running Symbian OS included a TV-out feature, but the NTSC video was only adequate for photo and low resolution video viewing and the phone did not support many applications. The newer Nokia phones have HD video-out capability and their application set and connectivity options have grown. The i-Mate 8501/8502, also released in 2007, was perhaps the first smartphone that provided a full 1024×768 XVGA resolution which could support a full desktop user interface. While short-lived, the i-Mate with a receiver application installed and network linked to a remote server with desktop virtualization software could provide a full PC experience.
As early as 2008,
Citrix Systems coined the phrase Nirvana Phone and articulated the benefits. To minimize the processing, memory, and storage requirements on the phone, Citrix and Open Kernel Labs developed a thin client - virtual server software suite that was first demonstrated in 2010.
In 2010 a new generation of smartphones appeared including many that have the required video-out capability to qualify as a NirvanaPhone. The HTC EVO phone includes HDMI capability which can output 720p resolution, high enough for virtual desktop usage. The Dell Streak also includes HDMI through a docking station. The iPhone 4 provide an optional VGA connector that can support up to 1024×768 resolution, also potentially capable of a desktop experience when connected to an external monitor. This movement included Nvidia's Tegra 2 system-on-a-chip that integrated both multiple CPUs and a GPU.
By 2011, the Motorola Atrix 4G was introduced as a fully operational NirvanaPhone. Using the Atrix's 1280×720 video output through a mini-HDMI connector, Motorola developed a light docking station that converts the Atrix into an instant laptop. The Atrix smartphone also has a dual-core 1 GHz processor, giving it better performance than many contemporary smartphones and tablets. The concept used by the Atrix received positive reviews and awards such as best smartphone CES 2011 However the Atrix specifically has also had negative reviews based on the cost of the docking stations.
See also
Docking station
Portable computer
Mobile computing
Mobile device
Smartphone
References
External links
The Nirvana Phone Concept Spec and Reference Architecture
Nirvana Phone Reference Architecture white paper
4 Reasons Why Windows Phone 7 Will Beat iPhone and Android
Smartphones |
Hokkey Kazakhstana is a Kazakh sports magazine specializing in ice hockey. Its chief editor is Maksim Kartashov.
References
External links
Kazakhstani sport websites
Ice hockey in Kazakhstan |
Guild Park and Gardens is a public park in the Scarborough district of Toronto, Ontario, Canada. The park was formerly the site of an artist colony and is notable for its collection of relics saved from the demolition of buildings primarily in downtown Toronto arranged akin to ancient ruins. Located on the Scarborough Bluffs, Guild Park and Gardens has an outdoor Greek stage and a 19th-century log cabin among the oldest in Toronto. The principal building in the park is the Guild Inn, a former inn and estate mansion.
The park is located on Guildwood Parkway, east of Eglinton Avenue East and Kingston Road. Its is accessed from the Guild Inn's own parking lots and from a parking lot for the Lake Ontario access trail, just to the east. The park is mostly forested. South of the Inn is a large area of grassy, open space. To the east, a ravine leads down from Guildwood Parkway to Lake Ontario. Along the bluffs, an east–west trail connects to Livingston Road to the west, with several points for viewing the lake. The edges of the bluffs are roped off for safety, as the bluffs are tall and composed of soft, sandy, unstable material.
History
The park is managed by Toronto Parks, on land that is the property of the Toronto and Region Conservation Authority. It was formerly known as Guildwood Park. It became a park after the Guild Inn and its property was bought by Metropolitan Toronto and the Government of Ontario in 1978 from Rosa Hewetson Clark and Spencer Clark. The Inn continued to operate until it closed in 2001. It was managed by various hotel management companies, including Delta Hotels, Canadian National Railway and others. It was first the "Ranelagh Park" estate of Col. Harold Bickford, then it became the China Mission Seminary, and the "Cliff Acres" estate of Richard Look, before it was bought in 1932 by Rosa Hewetson, who, along with her husband Spencer Clark converted it to "The Guild of all Arts" artists' colony and inn. During World War II and for a period afterward, it was used by the Government of Canada.
From the 1990s onwards, the property was the subject of several redevelopment proposals, which failed or were rejected. The City of Toronto government developed a management plan in 2014 for the park and gardens. The plan intends to preserve the park, protect the forest, bluffs and lakeshore, and maintain the heritage buildings (inn and cabin). The inn was restored, part of a new facility for weddings, meetings and gatherings. One new wing is a banquet hall. Another new wing includes meeting rooms.
Relics
In the late 1950s and later, older buildings in downtown Toronto were being torn down and replaced. Many of these had been standing for many decades and had been well-constructed, with stonework of a high quality and were considered historic to many. A movement to support the preservation of older buildings began in response to the amount of demolition, but it would not be until the 1970s that governments would pass laws that protected buildings considered to have 'heritage' status. Rosa and Spencer Clark responded to this wholesale demolition by taking away remnants of the buildings from the demolition sites. They enlisted engineers, architects and hired stonemason Arthur Hibberd, and erected the remnants in the Guild gardens. Remnants of over 60 buildings from Toronto and elsewhere in Ontario exist in the Guild gardens, the front gate of the Guild Inn, and the front gate of the Guildwood Village neighbourhood.
The "Greek" Theatre
To commemorate the 50th anniversary of the Guild Inn, the Clarks built an open-air theatre from remnants of the Bank of Toronto building, at a cost of to Spencer Clark. The Bank of Toronto building had stood at Bay and King Streets in downtown Toronto since 1912, until 1966, when the Toronto-Dominion Centre was built. Eight marble columns, plus Corinthian capitals and arches were repurposed along with a concrete stage and steps to form an open-air theatre under the supervision of Hibberd. There were also plans to build an amphitheatre in front of the stage, but it has not been built. Seating is either on the grass or using chairs.
The theatre hosted its first performance in 1984 of folk music by the Good Time Rolling Folk Music Medicine Show. From 1998 to 2003, The Gardens and Greek Theatre at The Guild Inn was home to Cliffhanger Productions theatre company, which specialized in adaptations of world mythology for family audiences. From 2011-present, the site has been home to Guild Festival Theatre which presents plays, concerts and other live events at the Greek Theatre.
List of relics
Abitibi Paper Building (1930)
three Ionic capitals
Bankers Bond Building (1920)
four Ionic capitals and columns
Bank of Montreal Building (1937–1948)
Animal Panels - six limestone panels depicting various animals, designed by Jacobine Jones
Panels of the Provinces - twelve panels for each of the provinces and two territories, topped by a filial from the entrance gate to Victoria Park in Niagara Falls.
Bank of Nova Scotia, 39 King Street West (1903)
exterior entrance
stone carvings
columns
Bank of Toronto building (1912)
columns
eight columns, arches and other pieces used for Greek Theatre
entrance
crest panels (Enterprise, Architecture, Toronto coat of arms)
Banting House (1928)
mantelpiece
Burlington Arcade, London, England
swan sculpture
Canadian Bank of Commerce Building (1899)
art nouveau sandstone carvings
Gibson House, Rosedale
wrought-iron gates in gateway to Bluffs
Goldie Mill, Galt (1860)
grindstone
Granite Club (1926)
main entrance including two fluted columns
Imperial Bank of Canada, 2 Bloor St West (1928)
stone entrance, including fluted columns and pediment
Imperial Oil Headquarters, 92 King Street East
cornerstone
R. H. King Collegiate
boys' entrance
Long Sault Canal
limestone blocks
North American Life Insurance Building (1932)
two panels of angels
O'Keefe Brewery (1840)
keystone
Ontario Legislative Building (1892)
original finial from west gable
Osgoode Hall (1829)
original stone steps
O'Sullivan's Corner School / Victoria Park School (1873)
belfry and bell
Oxford University Press, 480 University (1929)
doorway pediment
Produce Exchange Building (1890)
piers and turrets in gateway to Bluffs
Provincial Paper Ltd. Building (1930)
pineapple filial
pediment
Quebec Bank (1912)
stone carvings (mounted on reverse of Bank of Nova Scotia carvings)
Richmond Building, London, ON (1881)
stone bas relief carvings
Registry of Deeds and Land Titles (1915)
column and Ionic capital
Rosedale residence (1948)
two limestone columns with Corinthian capitals
Sherbourne Street row housing (1870s)
two polished granite columns on red sandstone bases
Sunnyside boardwalk (1920s)
lighting on front gate of Inn property
Temple Building (1895)
entrance and panels - red New Brunswick sandstone
Toronto Globe and Mail Building (1938)
carved limestone panels
Toronto Armories (1894)
stone margurette
Toronto Conservatory of Music Building (1897)
copper bas-reliefs of Healey Willan and Ernest MacMillan
two entrance headers
Toronto Engine House No. 2 (1871)
front sign (brick)
Toronto Star Building (1929)
art deco limestone blocks
art deco granite panels
University College (1857)
two window wells
University of Toronto Medical Building (1904)
two terra-cotta Ionic columns
Unspecified mill, Kingston
grind stone
Sources: Lidgold, Walker
According to Walker 1982, one of the entrances to the T. Eaton Co. Ltd College Street store was saved and taken to the Guild in 1976. Various other pieces of stone, marble and terra-cotta were also taken to the Guild by Clark. However, they remain un-erected.
Sculptures
Ravenna by Sorel Etrog
Space plough by Sorel Etrog
Mobius Curve by Michael Clay
Musidora below Imperial Bank entrance
Horse's Head by Emanuel Hahn
Solstice by Kosso Eloul
Bear by E.B. Cox and Michael Clay
Robert Holmes by John Byers
Chrysalides by Antoine Poncet
Source: Lidgold
Structures
Osterhout Cabin
To the west of the Guild Inn property exists an 1800s-era log cabin, known as the Osterhout Log Cabin. The actual date of its construction is unknown. In 1795, surveyor Augustus Jones and his surveying team camped in the area and could have built a log cabin on the property while he surveyed Scarborough. However, Jones' accounts stated that they stayed in tents. In 1805, the property was granted to William Osterhout, but there is no record of a log cabin during the time Osterhout lived on the property. The property was later owned by Alexander McDonnell, Duncan Cameron, and John Ewart. James Humphreys bought the property in 1845, and his son and family are the first recorded residents in the cabin, in 1861. The property was bought by the Clarks in 1934.
As part of the 1978 sale of the Guild property, the land around the cabin came under the administration of the Conservation Authority. In 1980, Scarborough designated the cabin as the Osterhout Cabin, and granted it protected heritage status. Some test pits were dug around the cabin in 1994 to determine its age. Artist Elizabeth Fraser Williamson used the cabin as a studio from 1970 to 1995.
Other structures
The following structures are also situated at Guild Park and Gardens:
Guild Office Building
Pottery Kiln
Sculpture Studio
Wishing Well
Smokehouse
Stone Cutting Machine (donated by Arthur Hibberd)
Source: Lidgold
In addition, the park previously held three cottages, as well as two other buildings, Corycliff, and The Studio.
In popular culture
The park has been used in recent pop culture pieces. Martha and the Muffins filmed the video for "Danseparc" here. The Guild Inn and surrounding area were used in the filming of The Skulls, the Warehouse 13 pilot and "Endless Terror" episodes.
It was also one of the main back settings for Canadian rapper Drake's music video for "Headlines" in 2011.
The 1972 television series The Whiteoaks of Jalna was filmed at the cabin, and appeared in the 1975 film It Seemed Like a Good Idea at the Time. It has also been used for other television projects.
See also
List of lost buildings and structures in Toronto
References
Notes:
External links
Friends of Guild Park and Gardens
Guild Festival Theatre
Outdoor sculptures in Canada
Parks in Toronto
Buildings and structures in Scarborough, Toronto
Sculpture gardens, trails and parks in Canada
Public art in Toronto |
```objective-c
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#ifndef _SOC_SPI_STRUCT_H_
#define _SOC_SPI_STRUCT_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef volatile struct spi_dev_s {
union {
struct {
uint32_t conf_bitlen : 18; /*Define the APB cycles of SPI_CONF state. Can be configured in CONF state.*/
uint32_t reserved18 : 5; /*reserved*/
uint32_t update : 1; /*Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode.*/
uint32_t usr : 1; /*User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf.*/
uint32_t reserved25 : 7; /*reserved*/
};
uint32_t val;
} cmd;
uint32_t addr;
union {
struct {
uint32_t reserved0 : 3; /*reserved*/
uint32_t dummy_out : 1; /*0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state.*/
uint32_t reserved4 : 1; /*reserved*/
uint32_t faddr_dual : 1; /*Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t faddr_quad : 1; /*Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t faddr_oct : 1; /*Apply 8 signals during addr phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t fcmd_dual : 1; /*Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t fcmd_quad : 1; /*Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t fcmd_oct : 1; /*Apply 8 signals during command phase 1:enable 0: disable. Can be configured in CONF state.*/
uint32_t reserved11 : 3; /*reserved*/
uint32_t fread_dual : 1; /*In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t fread_quad : 1; /*In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t fread_oct : 1; /*In the read operations read-data phase apply 8 signals. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t reserved17 : 1; /*reserved*/
uint32_t q_pol : 1; /*The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state.*/
uint32_t d_pol : 1; /*The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state.*/
uint32_t hold_pol : 1; /*SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state.*/
uint32_t wp_pol : 1; /*Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state.*/
uint32_t reserved22 : 1; /*reserved*/
uint32_t rd_bit_order : 2; /*In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state.*/
uint32_t wr_bit_order : 2; /*In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state.*/
uint32_t reserved27 : 5; /*reserved*/
};
uint32_t val;
} ctrl;
union {
struct {
uint32_t clkcnt_l : 6; /*In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state.*/
uint32_t clkcnt_h : 6; /*In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state.*/
uint32_t clkcnt_n : 6; /*In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state.*/
uint32_t clkdiv_pre : 4; /*In the master mode it is pre-divider of spi_clk. Can be configured in CONF state.*/
uint32_t reserved22 : 9; /*reserved*/
uint32_t clk_equ_sysclk : 1; /*In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state.*/
};
uint32_t val;
} clock;
union {
struct {
uint32_t doutdin : 1; /*Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t reserved1 : 2; /*reserved*/
uint32_t qpi_mode : 1; /*Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state.*/
uint32_t opi_mode : 1; /*Just for master mode. 1: spi controller is in OPI mode (all in 8-b-m). 0: others. Can be configured in CONF state.*/
uint32_t tsck_i_edge : 1; /*In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i.*/
uint32_t cs_hold : 1; /*spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t cs_setup : 1; /*spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t rsck_i_edge : 1; /*In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i.*/
uint32_t ck_out_edge : 1; /*the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state.*/
uint32_t reserved10 : 2; /*reserved*/
uint32_t fwrite_dual : 1; /*In the write operations read-data phase apply 2 signals. Can be configured in CONF state.*/
uint32_t fwrite_quad : 1; /*In the write operations read-data phase apply 4 signals. Can be configured in CONF state.*/
uint32_t fwrite_oct : 1; /*In the write operations read-data phase apply 8 signals. Can be configured in CONF state.*/
uint32_t usr_conf_nxt : 1; /*1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state.*/
uint32_t reserved16 : 1; /*reserved*/
uint32_t sio : 1; /*Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t reserved18 : 6; /*reserved*/
uint32_t usr_miso_highpart : 1; /*read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t usr_mosi_highpart : 1; /*write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_t usr_dummy_idle : 1; /*spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state.*/
uint32_t usr_mosi : 1; /*This bit enable the write-data phase of an operation. Can be configured in CONF state.*/
uint32_t usr_miso : 1; /*This bit enable the read-data phase of an operation. Can be configured in CONF state.*/
uint32_t usr_dummy : 1; /*This bit enable the dummy phase of an operation. Can be configured in CONF state.*/
uint32_t usr_addr : 1; /*This bit enable the address phase of an operation. Can be configured in CONF state.*/
uint32_t usr_command : 1; /*This bit enable the command phase of an operation. Can be configured in CONF state.*/
};
uint32_t val;
} user;
union {
struct {
uint32_t usr_dummy_cyclelen : 8; /*The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state.*/
uint32_t reserved8 : 8; /*reserved*/
uint32_t mst_wfull_err_end_en : 1; /*1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode.*/
uint32_t cs_setup_time : 5; /*(cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state.*/
uint32_t cs_hold_time : 5; /*delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state.*/
uint32_t usr_addr_bitlen : 5; /*The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state.*/
};
uint32_t val;
} user1;
union {
struct {
uint32_t usr_command_value : 16; /*The value of command. Can be configured in CONF state.*/
uint32_t reserved16 : 11; /*reserved*/
uint32_t mst_rempty_err_end_en : 1; /*1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode.*/
uint32_t usr_command_bitlen : 4; /*The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state.*/
};
uint32_t val;
} user2;
union {
struct {
uint32_t ms_data_bitlen : 18; /*The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state.*/
uint32_t reserved18 : 14; /*reserved*/
};
uint32_t val;
} ms_dlen;
union {
struct {
uint32_t cs0_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t cs1_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t cs2_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t cs3_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t cs4_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t cs5_dis : 1; /*SPI CS$n pin enable, 1: disable CS$n, 0: spi_cs$n signal is from/to CS$n pin. Can be configured in CONF state.*/
uint32_t ck_dis : 1; /*1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state.*/
uint32_t master_cs_pol : 6; /*In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state.*/
uint32_t reserved13 : 3; /*reserved*/
uint32_t clk_data_dtr_en : 1; /*1: SPI master DTR mode is applied to SPI clk, data and spi_dqs. 0: SPI master DTR mode is only applied to spi_dqs. This bit should be used with bit 17/18/19. */
uint32_t data_dtr_en : 1; /*1: SPI clk and data of SPI_DOUT and SPI_DIN state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_DOUT and SPI_DIN state are in STR mode. Can be configured in CONF state.*/
uint32_t addr_dtr_en : 1; /*1: SPI clk and data of SPI_SEND_ADDR state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_ADDR state are in STR mode. Can be configured in CONF state.*/
uint32_t cmd_dtr_en : 1; /*1: SPI clk and data of SPI_SEND_CMD state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_CMD state are in STR mode. Can be configured in CONF state.*/
uint32_t reserved20 : 3; /*reserved*/
uint32_t slave_cs_pol : 1; /*spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state.*/
uint32_t dqs_idle_edge : 1; /*The default value of spi_dqs. Can be configured in CONF state.*/
uint32_t reserved25 : 4; /*reserved*/
uint32_t ck_idle_edge : 1; /*1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state.*/
uint32_t cs_keep_active : 1; /*spi cs line keep low when the bit is set. Can be configured in CONF state.*/
uint32_t quad_din_pin_swap : 1; /*1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state.*/
};
uint32_t val;
} misc;
union {
struct {
uint32_t din0_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din1_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din2_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din3_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din4_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din5_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din6_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t din7_mode : 2; /*the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_t timing_hclk_active : 1; /*1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state.*/
uint32_t reserved17 : 15; /*reserved*/
};
uint32_t val;
} din_mode;
union {
struct {
uint32_t din0_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din1_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din2_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din3_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din4_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din5_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din6_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t din7_num : 2; /*the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state.*/
uint32_t reserved16 : 16; /*reserved*/
};
uint32_t val;
} din_num;
union {
struct {
uint32_t dout0_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout1_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout2_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout3_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout4_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout5_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout6_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t dout7_mode : 1; /*The output signal $n is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t d_dqs_mode : 1; /*The output signal SPI_DQS is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.*/
uint32_t reserved9 : 23; /*reserved*/
};
uint32_t val;
} dout_mode;
union {
struct {
uint32_t outfifo_empty : 1; /*Records the status of DMA TX FIFO. 1: DMA TX FIFO is not ready for sending data. 0: DMA TX FIFO is ready for sending data.*/
uint32_t infifo_full : 1; /*Records the status of DMA RX FIFO. 1: DMA RX FIFO is not ready for receiving data. 0: DMA RX FIFO is ready for receiving data.*/
uint32_t reserved2 : 16; /*reserved*/
uint32_t dma_seg_trans_en : 1; /*Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable.*/
uint32_t rx_seg_trans_clr_en : 1; /*1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done.*/
uint32_t tx_seg_trans_clr_en : 1; /*1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done.*/
uint32_t rx_eof_en : 1; /*1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen[19:0] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans.*/
uint32_t reserved22 : 5; /*reserved*/
uint32_t dma_rx_ena : 1; /*Set this bit to enable SPI DMA controlled receive data mode.*/
uint32_t dma_tx_ena : 1; /*Set this bit to enable SPI DMA controlled send data mode.*/
uint32_t rx_afifo_rst : 1; /*Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer.*/
uint32_t buf_afifo_rst : 1; /*Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer.*/
uint32_t dma_afifo_rst : 1; /*Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer.*/
};
uint32_t val;
} dma_conf;
union {
struct {
uint32_t infifo_full_err : 1; /*The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt.*/
uint32_t outfifo_empty_err : 1; /*The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt.*/
uint32_t ex_qpi : 1; /*The enable bit for SPI slave Ex_QPI interrupt.*/
uint32_t en_qpi : 1; /*The enable bit for SPI slave En_QPI interrupt.*/
uint32_t cmd7 : 1; /*The enable bit for SPI slave CMD7 interrupt.*/
uint32_t cmd8 : 1; /*The enable bit for SPI slave CMD8 interrupt.*/
uint32_t cmd9 : 1; /*The enable bit for SPI slave CMD9 interrupt.*/
uint32_t cmda : 1; /*The enable bit for SPI slave CMDA interrupt.*/
uint32_t rd_dma_done : 1; /*The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt.*/
uint32_t wr_dma_done : 1; /*The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt.*/
uint32_t rd_buf_done : 1; /*The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt.*/
uint32_t wr_buf_done : 1; /*The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt.*/
uint32_t trans_done : 1; /*The enable bit for SPI_TRANS_DONE_INT interrupt.*/
uint32_t dma_seg_trans_done : 1; /*The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt.*/
uint32_t seg_magic_err : 1; /*The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt.*/
uint32_t buf_addr_err : 1; /*The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt.*/
uint32_t cmd_err : 1; /*The enable bit for SPI_SLV_CMD_ERR_INT interrupt.*/
uint32_t mst_rx_afifo_wfull_err : 1; /*The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt.*/
uint32_t mst_tx_afifo_rempty_err : 1; /*The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt.*/
uint32_t app2 : 1; /*The enable bit for SPI_APP2_INT interrupt.*/
uint32_t app1 : 1; /*The enable bit for SPI_APP1_INT interrupt.*/
uint32_t reserved21 : 11; /*reserved*/
};
uint32_t val;
} dma_int_ena;
union {
struct {
uint32_t infifo_full_err : 1; /*The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt.*/
uint32_t outfifo_empty_err : 1; /*The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt.*/
uint32_t ex_qpi : 1; /*The clear bit for SPI slave Ex_QPI interrupt.*/
uint32_t en_qpi : 1; /*The clear bit for SPI slave En_QPI interrupt.*/
uint32_t cmd7 : 1; /*The clear bit for SPI slave CMD7 interrupt.*/
uint32_t cmd8 : 1; /*The clear bit for SPI slave CMD8 interrupt.*/
uint32_t cmd9 : 1; /*The clear bit for SPI slave CMD9 interrupt.*/
uint32_t cmda : 1; /*The clear bit for SPI slave CMDA interrupt.*/
uint32_t rd_dma_done : 1; /*The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt.*/
uint32_t wr_dma_done : 1; /*The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt.*/
uint32_t rd_buf_done : 1; /*The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt.*/
uint32_t wr_buf_done : 1; /*The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt.*/
uint32_t trans_done : 1; /*The clear bit for SPI_TRANS_DONE_INT interrupt.*/
uint32_t dma_seg_trans_done : 1; /*The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt.*/
uint32_t seg_magic_err : 1; /*The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt.*/
uint32_t buf_addr_err : 1; /*The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt.*/
uint32_t cmd_err : 1; /*The clear bit for SPI_SLV_CMD_ERR_INT interrupt.*/
uint32_t mst_rx_afifo_wfull_err : 1; /*The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt.*/
uint32_t mst_tx_afifo_rempty_err : 1; /*The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt.*/
uint32_t app2 : 1; /*The clear bit for SPI_APP2_INT interrupt.*/
uint32_t app1 : 1; /*The clear bit for SPI_APP1_INT interrupt.*/
uint32_t reserved21 : 11; /*reserved*/
};
uint32_t val;
} dma_int_clr;
union {
struct {
uint32_t infifo_full_err : 1; /*1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others. */
uint32_t outfifo_empty_err : 1; /*1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others. */
uint32_t ex_qpi : 1; /*The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others.*/
uint32_t en_qpi : 1; /*The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others.*/
uint32_t cmd7 : 1; /*The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others.*/
uint32_t cmd8 : 1; /*The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others.*/
uint32_t cmd9 : 1; /*The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others.*/
uint32_t cmda : 1; /*The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others.*/
uint32_t rd_dma_done : 1; /*The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others.*/
uint32_t wr_dma_done : 1; /*The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others.*/
uint32_t rd_buf_done : 1; /*The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others.*/
uint32_t wr_buf_done : 1; /*The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others.*/
uint32_t trans_done : 1; /*The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others.*/
uint32_t dma_seg_trans_done : 1; /*The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred. */
uint32_t seg_magic_err : 1; /*The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others.*/
uint32_t buf_addr_err : 1; /*The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others.*/
uint32_t cmd_err : 1; /*The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others.*/
uint32_t mst_rx_afifo_wfull_err : 1; /*The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others.*/
uint32_t mst_tx_afifo_rempty_err : 1; /*The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others.*/
uint32_t app2 : 1; /*The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software.*/
uint32_t app1 : 1; /*The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software.*/
uint32_t reserved21 : 11; /*reserved*/
};
uint32_t val;
} dma_int_raw;
union {
struct {
uint32_t infifo_full_err : 1; /*The status bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt.*/
uint32_t outfifo_empty_err : 1; /*The status bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt.*/
uint32_t ex_qpi : 1; /*The status bit for SPI slave Ex_QPI interrupt.*/
uint32_t en_qpi : 1; /*The status bit for SPI slave En_QPI interrupt.*/
uint32_t cmd7 : 1; /*The status bit for SPI slave CMD7 interrupt.*/
uint32_t cmd8 : 1; /*The status bit for SPI slave CMD8 interrupt.*/
uint32_t cmd9 : 1; /*The status bit for SPI slave CMD9 interrupt.*/
uint32_t cmda : 1; /*The status bit for SPI slave CMDA interrupt.*/
uint32_t rd_dma_done : 1; /*The status bit for SPI_SLV_RD_DMA_DONE_INT interrupt.*/
uint32_t wr_dma_done : 1; /*The status bit for SPI_SLV_WR_DMA_DONE_INT interrupt.*/
uint32_t rd_buf_done : 1; /*The status bit for SPI_SLV_RD_BUF_DONE_INT interrupt.*/
uint32_t wr_buf_done : 1; /*The status bit for SPI_SLV_WR_BUF_DONE_INT interrupt.*/
uint32_t trans_done : 1; /*The status bit for SPI_TRANS_DONE_INT interrupt.*/
uint32_t dma_seg_trans_done : 1; /*The status bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt.*/
uint32_t seg_magic_err : 1; /*The status bit for SPI_SEG_MAGIC_ERR_INT interrupt.*/
uint32_t buf_addr_err : 1; /*The status bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt.*/
uint32_t cmd_err : 1; /*The status bit for SPI_SLV_CMD_ERR_INT interrupt.*/
uint32_t mst_rx_afifo_wfull_err : 1; /*The status bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt.*/
uint32_t mst_tx_afifo_rempty_err : 1; /*The status bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt.*/
uint32_t app2 : 1; /*The status bit for SPI_APP2_INT interrupt.*/
uint32_t app1 : 1; /*The status bit for SPI_APP1_INT interrupt.*/
uint32_t reserved21 : 11; /*reserved*/
};
uint32_t val;
} dma_int_st;
union {
struct {
uint32_t infifo_full_err_int_set : 1; /*The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt.*/
uint32_t outfifo_empty_err_int_set : 1; /*The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt.*/
uint32_t ex_qpi_int_set : 1; /*The software set bit for SPI slave Ex_QPI interrupt.*/
uint32_t en_qpi_int_set : 1; /*The software set bit for SPI slave En_QPI interrupt.*/
uint32_t cmd7_int_set : 1; /*The software set bit for SPI slave CMD7 interrupt.*/
uint32_t cmd8_int_set : 1; /*The software set bit for SPI slave CMD8 interrupt.*/
uint32_t cmd9_int_set : 1; /*The software set bit for SPI slave CMD9 interrupt.*/
uint32_t cmda_int_set : 1; /*The software set bit for SPI slave CMDA interrupt.*/
uint32_t rd_dma_done_int_set : 1; /*The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt.*/
uint32_t wr_dma_done_int_set : 1; /*The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt.*/
uint32_t rd_buf_done_int_set : 1; /*The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt.*/
uint32_t wr_buf_done_int_set : 1; /*The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt.*/
uint32_t trans_done_int_set : 1; /*The software set bit for SPI_TRANS_DONE_INT interrupt.*/
uint32_t dma_seg_trans_done_int_set : 1; /*The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt.*/
uint32_t seg_magic_err_int_set : 1; /*The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt.*/
uint32_t buf_addr_err_int_set : 1; /*The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt.*/
uint32_t cmd_err_int_set : 1; /*The software set bit for SPI_SLV_CMD_ERR_INT interrupt.*/
uint32_t mst_rx_afifo_wfull_err_int_set: 1; /*The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt.*/
uint32_t mst_tx_afifo_rempty_err_int_set: 1; /*The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt.*/
uint32_t app2_int_set : 1; /*The software set bit for SPI_APP2_INT interrupt.*/
uint32_t app1_int_set : 1; /*The software set bit for SPI_APP1_INT interrupt.*/
uint32_t reserved21 : 11; /*reserved*/
};
uint32_t val;
} dma_int_set;
uint32_t reserved_48;
uint32_t reserved_4c;
uint32_t reserved_50;
uint32_t reserved_54;
uint32_t reserved_58;
uint32_t reserved_5c;
uint32_t reserved_60;
uint32_t reserved_64;
uint32_t reserved_68;
uint32_t reserved_6c;
uint32_t reserved_70;
uint32_t reserved_74;
uint32_t reserved_78;
uint32_t reserved_7c;
uint32_t reserved_80;
uint32_t reserved_84;
uint32_t reserved_88;
uint32_t reserved_8c;
uint32_t reserved_90;
uint32_t reserved_94;
uint32_t data_buf[16]; /*SPI CPU-controlled buffer0*/
uint32_t reserved_d8;
uint32_t reserved_dc;
union {
struct {
uint32_t clk_mode : 2; /*SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state.*/
uint32_t clk_mode_13 : 1; /*{CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B[0]/B[7]. 0: support spi clk mode 0 and 2, first edge output data B[1]/B[6].*/
uint32_t rsck_data_out : 1; /*It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge */
uint32_t reserved4 : 4; /*reserved*/
uint32_t rddma_bitlen_en : 1; /*1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others*/
uint32_t wrdma_bitlen_en : 1; /*1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others*/
uint32_t rdbuf_bitlen_en : 1; /*1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others*/
uint32_t wrbuf_bitlen_en : 1; /*1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others*/
uint32_t reserved12 : 10; /*reserved*/
uint32_t dma_seg_magic_value : 4; /*The magic value of BM table in master DMA seg-trans.*/
uint32_t slave_mode : 1; /*Set SPI work mode. 1: slave mode 0: master mode.*/
uint32_t soft_reset : 1; /*Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state.*/
uint32_t usr_conf : 1; /*1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode.*/
uint32_t reserved29 : 3; /*reserved*/
};
uint32_t val;
} slave;
union {
struct {
uint32_t data_bitlen : 18; /*The transferred data bit length in SPI slave FD and HD mode. */
uint32_t last_command : 8; /*In the slave mode it is the value of command.*/
uint32_t last_addr : 6; /*In the slave mode it is the value of address.*/
};
uint32_t val;
} slave1;
union {
struct {
uint32_t clk_en : 1; /*Set this bit to enable clk gate*/
uint32_t mst_clk_active : 1; /*Set this bit to power on the SPI module clock.*/
uint32_t mst_clk_sel : 1; /*This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK.*/
uint32_t reserved3 : 29; /*reserved*/
};
uint32_t val;
} clk_gate;
uint32_t reserved_ec;
union {
struct {
uint32_t date : 28; /*SPI register version.*/
uint32_t reserved28 : 4; /*reserved*/
};
uint32_t val;
} date;
} spi_dev_t;
extern spi_dev_t GPSPI2;
extern spi_dev_t GPSPI3;
#ifdef __cplusplus
}
#endif
#endif /*_SOC_SPI_STRUCT_H_ */
``` |
County routes in Columbia County, New York, are signed with the Manual on Uniform Traffic Control Devices-standard yellow-on-blue pentagon route marker. All roads maintained by Columbia County are assigned a county highway number; this number is unsigned. Each county route comprises one or more county highways; however, not all county highways are part of a signed county route.
County routes
County highways
Every county-maintained road is assigned an unsigned county highway number for inventory purposes. The majority of county highways are part of signed county routes; however, some are not posted with any designation. Those highways or parts of highways that are not part of any county routes are listed below.
See also
County routes in New York
List of former state routes in New York (201–300)
Notes
References
External links
Empire State Roads – Columbia County Roads |
The Cannon Ball Route was a historic auto trail that ran from Kansas City, Missouri, east-northeast to Chicago, Illinois, by way of Hannibal, Missouri, and Quincy, Illinois. A branch of the route connected the Missouri section of the highway to Des Moines, Iowa, by way of Leon, Iowa. The route was included in the 1917 Map of Marked Routes provided by the Illinois State Highway Department, a precursor to the modern-day Illinois Department of Transportation.
This highway routing closely parallels the Hannibal-Quincy to Chicago branch of the Chicago, Burlington & Quincy Railroad.
Route description
The Missouri portion of the route ran from Kansas City to Quincy by way of Hannibal. The route also passed through La Belle, Edina, Kirksville, Milan, Harris, Liberty, Excelsior Springs, Richmond, Carrollton, Chillicothe, Trenton and Princeton.
In 1917, the Illinois section of the Cannon Ball Route was marked as running north from Quincy along modern-day Illinois Route 96 with the Rushville & Quincy Trail. It turned east at modern-day U.S. Route 24, before turning north at Camp Point. It eventually followed modern Illinois Route 61 to Bowen, where the route ran east. The route follows Illinois 61 to its terminus at U.S. Route 136 near Tennessee.
The route follows U.S. 136 east as the main road through Macomb to the 9-mile Y, SE of Bardolph, where the route diverts from U.S. 136, it turns north on modern-day Illinois Route 41. The Cannon Ball Route passes through Bushnell paralleling the CB&Q railroad north to Galesburg and ran largely on what is now U.S. 34 from Galesburg to Chicago, except for diversions to the city centers of Buda, Leland, and Bristol.
Near Yorkville, the route turns northeast onto Cannonball Trail to Bristol. The route then passed through downtown Montgomery and Aurora before running east-northeast to Naperville. Here, the Cannon Ball Route may have followed any of a number of streets before joining the Chicago-Kansas City-Gulf Highway in Maywood for the remainder of the journey into Chicago.
A branch of the route ran from Princeton, Missouri, to Des Moines, Iowa, via Leon, Iowa.
History
The Cannon Ball Trail Association, which was based in Leon, Iowa, marked the Missouri and Iowa portions of the route in 1912. The Chicago Auto Club marked the Illinois segment of the highway in 1913. By 1915, the route was considered "one of the best-marked highways between Quincy... and Chicago", and an extension from Quincy to the St. Louis – Kansas City highway at Monroe City was posted.
References
Auto trails in the United States
Historic trails and roads in Illinois
Historic trails and roads in Missouri
U.S. Route 136
U.S. Route 34
U.S. Route 24 |
Black Horse and MIDI Dungeon are studio albums by electronic musician Vektroid under the alias esc不在, released on August 2, 2011. The albums' genre is recognized as vaporwave. These albums are some of Vektroid's more obscure work as they have never been uploaded to her Bandcamp or SoundCloud pages in their original forms. Select tracks on the albums would later be reused for Initiation Tape: Isle of Avalon Edition, a rework of the original Initiation Tape, released on the same day as the original esc不在 albums. The albums are not as popular as others, such as Floral Shoppe.
Black Horse
MIDI Dungeon
Notes
The track "Feel" appears on Initiation Tape: Isle of Avalon Edition
The tracks "Drive Home Thru The Stars For You" and "Willfully" were combined into the track "Sky Nouveau", which appears on Initiation Tape: Isle of Avalon Edition
The track "Mirror Harem" appears on Initiation Tape: Isle of Avalon Edition as "Harem"
The tracks "Forest", "Pine", and "Surf" were combined into the track "Pine Forest Surf", which appears on Initiation Tape: Isle of Avalon Edition
The tracks "Slumber" and "Slow Rain" were combined into the track "Nimbus Lab After Hours", which appears on Initiation Tape: Isle of Avalon Edition
The track "Asleep Together" appears on Initiation Tape: Isle of Avalon Edition as "Asleep In The Ice Cave"
The track "Aurora 3D" appears on Initiation Tape: Isle of Avalon Edition
References
2011 albums
Vektroid albums |
Bruce A. Tate is an American author on the topic of the Java, Ruby, and Elixir programming languages and other computer software. He is also the CTO of icanmakeitbetter.com and the editor of Elixir books for the Pragmatic Bookshelf.
Works
Adopting Elixir
Better, Faster, Lighter Java
Beyond Java: A Glimpse at the Future of Programming Languages
Bitter EJB, co-authored a critical analysis of Java EJBs
Bitter Java, a critical analysis of Java
Deploying Rails Applications
From Java to Ruby: Things Every Manager Should Know
Programming Phoenix
Rails: Up and Running
Seven Languages in Seven Weeks
Seven More Languages in Seven Weeks
References
External links
Review of Tate's book Beyond Java
Weblog
Amazon book review and listings
Tursiops electronicus: Stimulated tutoring of a language trained dolphin interview in the free Prolog chapter of Seven Languages in Seven Weeks.
American non-fiction writers
Living people
Year of birth missing (living people) |
Wukongopterus is a genus of basal pterosaur, found in Liaoning, China, from the Daohugou Beds, of the Middle or Late Jurassic. It was unusual for having both an elongate neck and a long tail.
The genus was described and named in 2009 by Wang Xiaolin, Alexander Kellner, Jiang Shunxing and Meng Xi. The genus name is derived from Sun Wukong, the Monkey King, the main hero of the Chinese classic novel Journey to the West, and a Latinized Greek pteron, "wing". The specific name honours Li Yutong, senior preparator of the Institute of Vertebrate Paleontology and Paleoanthropology (IVPP).
The genus is based on holotype IVPP V15113, a nearly complete but compressed skeleton lacking the back and middle of the skull. The type individual appears to have broken its shin during life. Its wingspan is estimated at . Wukongopterus also may have had an uropatagium, a membrane between the hind legs.
Classification
Below is a cladogram following Wang et al. (2017)
See also
Timeline of pterosaur research
Darwinopterus
List of pterosaur genera
Daohugou Beds
2009 in paleontology
References
Monofenestratans
Jurassic pterosaurs of Asia
Fossil taxa described in 2009
Taxa named by Alexander Kellner |
```python
from prowler.lib.check.models import Check, Check_Report_AWS
from prowler.providers.aws.services.iam.iam_client import iam_client
from prowler.providers.aws.services.iam.lib.policy import check_full_service_access
critical_service = "kms"
class iam_inline_policy_no_full_access_to_kms(Check):
def execute(self):
findings = []
for policy in iam_client.policies:
if policy.type == "Inline":
report = Check_Report_AWS(self.metadata())
report.region = iam_client.region
report.resource_arn = policy.arn
report.resource_id = policy.name
report.resource_tags = policy.tags
report.status = "PASS"
report.status_extended = f"Inline Policy {policy.name} does not allow '{critical_service}:*' privileges."
if policy.document and check_full_service_access(
critical_service, policy.document
):
report.status = "FAIL"
report.status_extended = f"Inline Policy {policy.name} allows '{critical_service}:*' privileges."
findings.append(report)
return findings
``` |
```haskell
{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
-- | Pure functions for operations with transactions
module Pos.Client.Txp.Util
(
-- * Tx creation params
InputSelectionPolicy (..)
, defaultInputSelectionPolicy
, PendingAddresses (..)
-- * Tx creation
, TxCreateMode
, makeAbstractTx
, makeUnsignedAbstractTx
, runTxCreator
, makePubKeyTx
, makeMPubKeyTx
, makeMPubKeyTxAddrs
, makeRedemptionTx
, createGenericTx
, createTx
, createMTx
, createUnsignedTx
, createRedemptionTx
-- * Fees logic
, txToLinearFee
, computeTxFee
-- * Additional datatypes
, TxError (..)
, isCheckedTxError
, isNotEnoughMoneyTxError
, TxOutputs
, TxWithSpendings
) where
import Universum hiding (keys, tail)
import Control.Lens (makeLenses, (%=), (.=))
import Control.Monad.Except (ExceptT, MonadError (throwError),
runExceptT)
import Data.Default (Default (..))
import Data.Fixed (Fixed, HasResolution)
import qualified Data.HashSet as HS
import Data.List (partition, tail)
import qualified Data.List.NonEmpty as NE
import qualified Data.Map as M
import Data.Semigroup (Semigroup)
import qualified Data.Semigroup as S
import qualified Data.Set as Set
import Data.Traversable (for)
import qualified Data.Vector as V
import Formatting (bprint, build, sformat, stext, (%))
import qualified Formatting.Buildable
import Serokell.Util (listJson)
import Pos.Binary (biSize)
import Pos.Chain.Genesis as Genesis (Config (..), configEpochSlots)
import Pos.Chain.Txp (Tx (..), TxAux (..), TxFee (..), TxIn (..),
TxInWitness (..), TxOut (..), TxOutAux (..),
TxSigData (..), Utxo)
import Pos.Chain.Update (bvdTxFeePolicy)
import Pos.Client.Txp.Addresses (MonadAddresses (..))
import Pos.Core (Address, Coin, SlotCount, TxFeePolicy (..),
TxSizeLinear (..), calculateTxSizeLinear, coinToInteger,
integerToCoin, isRedeemAddress, mkCoin, sumCoins,
txSizeLinearMinValue, unsafeIntegerToCoin, unsafeSubCoin)
import Pos.Core.Attributes (mkAttributes)
import Pos.Core.NetworkMagic (NetworkMagic, makeNetworkMagic)
import Pos.Crypto (ProtocolMagic, RedeemSecretKey, SafeSigner,
SignTag (SignRedeemTx, SignTx), deterministicKeyGen,
fakeSigner, hash, redeemSign, redeemToPublic, safeSign,
safeToPublic)
import Pos.DB (MonadGState, gsAdoptedBVData)
import Pos.Infra.Util.LogSafe (SecureLog, buildUnsecure)
import Test.QuickCheck (Arbitrary (..), elements)
type TxInputs = NonEmpty TxIn
type TxOwnedInputs owner = NonEmpty (owner, TxIn)
type TxOutputs = NonEmpty TxOutAux
type TxWithSpendings = (TxAux, NonEmpty TxOut)
-- | List of addresses which are refered by at least one output of transaction
-- which is not yet confirmed i.e. detected in block.
newtype PendingAddresses = PendingAddresses (Set Address)
#if MIN_VERSION_base(4,9,0)
deriving (Show, Semigroup, Monoid)
#else
deriving (Show, Monoid)
#endif
instance Buildable TxWithSpendings where
build (txAux, neTxOut) =
bprint ("("%build%", "%listJson%")") txAux neTxOut
-- This datatype corresponds to raw transaction.
data TxRaw = TxRaw
{ trInputs :: !(TxOwnedInputs TxOut)
-- ^ Selected inputs from Utxo
, trOutputs :: !TxOutputs
-- ^ Output addresses of tx (without remaining output)
, trRemainingMoney :: !Coin
-- ^ Remaining money
} deriving (Show)
data TxError =
NotEnoughMoney !Coin
-- ^ Parameter: how much more money is needed
| NotEnoughAllowedMoney !Coin
-- ^ Parameter: how much more money is needed and which available input addresses
-- are present in output addresses set
| FailedToStabilize
-- ^ Parameter: how many attempts were performed
| OutputIsRedeem !Address
-- ^ One of the tx outputs is a redemption address
| RedemptionDepleted
-- ^ Redemption address has already been used
| SafeSignerNotFound !Address
-- ^ The safe signer at the specified address was not found
| SignedTxNotBase16Format
-- ^ Externally-signed transaction is not in Base16-format.
| SignedTxUnableToDecode !Text
-- ^ Externally-signed transaction cannot be decoded.
| SignedTxSignatureNotBase16Format
-- ^ Signature of externally-signed transaction is not in Base16-format.
| SignedTxInvalidSignature !Text
-- ^ Signature of externally-signed transaction is invalid.
| GeneralTxError !Text
-- ^ Parameter: description of the problem
deriving (Show, Generic)
isNotEnoughMoneyTxError :: TxError -> Bool
isNotEnoughMoneyTxError = \case
NotEnoughMoney{} -> True
NotEnoughAllowedMoney{} -> True
_ -> False
instance Exception TxError
instance Buildable TxError where
build (NotEnoughMoney coin) =
bprint ("Transaction creation error: not enough money, need "%build%" more") coin
build (NotEnoughAllowedMoney coin) =
bprint ("Transaction creation error: not enough money on addresses which are not included \
\in output addresses set, need "%build%" more") coin
build FailedToStabilize =
"Transaction creation error: failed to stabilize fee"
build (OutputIsRedeem addr) =
bprint ("Output address "%build%" is a redemption address") addr
build RedemptionDepleted =
bprint "Redemption address balance is 0"
build (SafeSignerNotFound addr) =
bprint ("Address "%build%" has no associated safe signer") addr
build SignedTxNotBase16Format =
"Externally-signed transaction is not in Base16-format."
build (SignedTxUnableToDecode msg) =
bprint ("Unable to decode externally-signed transaction: "%stext) msg
build SignedTxSignatureNotBase16Format =
"Signature of externally-signed transaction is not in Base16-format."
build (SignedTxInvalidSignature msg) =
bprint ("Signature of externally-signed transaction is invalid: "%stext) msg
build (GeneralTxError msg) =
bprint ("Transaction creation error: "%stext) msg
isCheckedTxError :: TxError -> Bool
isCheckedTxError = \case
NotEnoughMoney{} -> True
NotEnoughAllowedMoney{} -> True
FailedToStabilize{} -> False
OutputIsRedeem{} -> True
RedemptionDepleted{} -> True
SafeSignerNotFound{} -> True
SignedTxNotBase16Format{} -> True
SignedTxUnableToDecode{} -> True
SignedTxSignatureNotBase16Format{} -> True
SignedTxInvalidSignature{} -> True
GeneralTxError{} -> True
your_sha256_hash-------------
-- Tx creation
your_sha256_hash-------------
-- | Specifies the way Utxos are going to be grouped.
data InputSelectionPolicy
= OptimizeForSecurity -- ^ Spend everything from the address
| OptimizeForHighThroughput -- ^ No grouping, prefer confirmed addresses
deriving (Show, Eq, Enum, Bounded, Generic)
instance Buildable InputSelectionPolicy where
build = \case
OptimizeForSecurity -> "securely"
OptimizeForHighThroughput -> "high throughput"
instance Buildable (SecureLog InputSelectionPolicy) where
build = buildUnsecure
instance Default InputSelectionPolicy where
def = defaultInputSelectionPolicy
defaultInputSelectionPolicy :: InputSelectionPolicy
defaultInputSelectionPolicy = OptimizeForSecurity
instance Arbitrary InputSelectionPolicy where
arbitrary = elements [minBound .. maxBound]
-- | Mode for creating transactions. We need to know fee policy.
type TxDistrMode m = MonadGState m
type TxCreateMode m
= ( TxDistrMode m
, MonadAddresses m
)
-- | Generic function to create an unsigned transaction, given desired inputs and outputs
makeUnsignedAbstractTx
:: TxOwnedInputs owner
-> TxOutputs
-> Tx
makeUnsignedAbstractTx txInputs outputs = tx
where
tx = UnsafeTx (map snd txInputs) txOutputs txAttributes
txOutputs = map toaOut outputs
txAttributes = mkAttributes ()
-- | Generic function to create a transaction, given desired inputs,
-- outputs and a way to construct witness from signature data
makeAbstractTx :: (owner -> TxSigData -> Either e TxInWitness)
-> TxOwnedInputs owner
-> TxOutputs
-> Either e TxAux
makeAbstractTx mkWit txInputs outputs = do
let tx = makeUnsignedAbstractTx txInputs outputs
txSigData = TxSigData
{ txSigTxHash = hash tx
}
txWitness <- V.fromList . toList <$>
for txInputs (\(addr, _) -> mkWit addr txSigData)
pure $ TxAux tx txWitness
-- | Datatype which contains all data from DB which is necessary
-- to create transactions
data TxCreatorData = TxCreatorData
{ _tcdFeePolicy :: !TxFeePolicy
, _tcdInputSelectionPolicy :: !InputSelectionPolicy
}
makeLenses ''TxCreatorData
-- | Transformer which holds data necessary for creating transactions
type TxCreator m = ReaderT TxCreatorData (ExceptT TxError m)
runTxCreator
:: TxDistrMode m
=> InputSelectionPolicy
-> TxCreator m a
-> m (Either TxError a)
runTxCreator inputSelectionPolicy action = runExceptT $ do
_tcdFeePolicy <- bvdTxFeePolicy <$> gsAdoptedBVData
let _tcdInputSelectionPolicy = inputSelectionPolicy
runReaderT action TxCreatorData{..}
-- | Like 'makePubKeyTx', but allows usage of different signers
makeMPubKeyTx
:: ProtocolMagic
-> (owner -> Either e SafeSigner)
-> TxOwnedInputs owner
-> TxOutputs
-> Either e TxAux
makeMPubKeyTx pm getSs = makeAbstractTx mkWit
where mkWit addr sigData =
getSs addr <&> \ss ->
PkWitness (safeToPublic ss) (safeSign pm SignTx ss sigData)
-- | More specific version of 'makeMPubKeyTx' for convenience
makeMPubKeyTxAddrs
:: ProtocolMagic
-> (Address -> Either e SafeSigner)
-> TxOwnedInputs TxOut
-> TxOutputs
-> Either e TxAux
makeMPubKeyTxAddrs pm hdwSigners = makeMPubKeyTx pm getSigner
where
getSigner (TxOut addr _) = hdwSigners addr
-- | Makes a transaction which use P2PKH addresses as a source
makePubKeyTx
:: ProtocolMagic
-> SafeSigner
-> TxInputs
-> TxOutputs
-> TxAux
makePubKeyTx pm ss txInputs txOutputs = either absurd identity $
makeMPubKeyTx pm (\_ -> Right ss) (map ((), ) txInputs) txOutputs
makeRedemptionTx
:: ProtocolMagic
-> RedeemSecretKey
-> TxInputs
-> TxOutputs
-> TxAux
makeRedemptionTx pm rsk txInputs txOutputs = either absurd identity $
makeAbstractTx mkWit (map ((), ) txInputs) txOutputs
where rpk = redeemToPublic rsk
mkWit _ sigData =
Right $ RedeemWitness rpk (redeemSign pm SignRedeemTx rsk sigData)
-- | Helper for summing values of `TxOutAux`s
sumTxOutCoins :: NonEmpty TxOutAux -> Integer
sumTxOutCoins = sumCoins . map (txOutValue . toaOut)
integerToFee :: MonadError TxError m => Integer -> m TxFee
integerToFee =
either (throwError . invalidFee) (pure . TxFee) . integerToCoin
where
invalidFee reason = GeneralTxError ("Invalid fee: " <> reason)
fixedToFee :: (MonadError TxError m, HasResolution a) => Fixed a -> m TxFee
fixedToFee = integerToFee . ceiling
type FlatUtxo = [(TxIn, TxOutAux)]
type InputPickingWay = Utxo -> TxOutputs -> Coin -> Either TxError FlatUtxo
-- TODO [CSM-526] Scatter on submodules
your_sha256_hash---------
-- Simple inputs picking
your_sha256_hash---------
data InputPickerState = InputPickerState
{ _ipsMoneyLeft :: !Coin
, _ipsAvailableOutputs :: !FlatUtxo
}
makeLenses ''InputPickerState
type InputPicker = StateT InputPickerState (Either TxError)
plainInputPicker :: PendingAddresses -> InputPickingWay
plainInputPicker (PendingAddresses pendingAddrs) utxo _outputs moneyToSpent =
evalStateT (pickInputs []) (InputPickerState moneyToSpent sortedUnspent)
where
onlyConfirmedInputs :: Set.Set Address -> (TxIn, TxOutAux) -> Bool
onlyConfirmedInputs addrs (_, (TxOutAux (TxOut addr _))) = not (addr `Set.member` addrs)
--
-- NOTE (adinapoli, kantp) Under certain circumstances, it's still possible for the `confirmed` set
-- to be exhausted and for the utxo to be picked from the `unconfirmed`, effectively allowing for the
-- old "slow" behaviour which could create linear chains of dependent transactions which can then be
-- submitted to relays and possibly fail to be accepted if they arrive in an out-of-order fashion,
-- effectively piling up in the mempool of the edgenode and in need to be resubmitted.
-- However, this policy significantly reduce the likelyhood of such edge case to happen, as for exchanges
-- the `confirmed` set would tend to be quite big anyway.
-- We should revisit such policy and its implications during a proper rewrite.
--
-- NOTE (adinapoli, kantp) There is another subtle corner case which involves such partitioning; it's now
-- in theory (by absurd reasoning) for the `confirmed` set to contain only dust, which would yes involve a
-- "high throughput" Tx but also a quite large one, bringing it closely to the "Toil too large" error
-- (The same malady the @OptimiseForSecurity@ policy was affected by).
sortedUnspent = confirmed ++ unconfirmed
(confirmed, unconfirmed) =
-- Give precedence to "confirmed" addresses.
partition (onlyConfirmedInputs pendingAddrs)
(sortOn (Down . txOutValue . toaOut . snd) (M.toList utxo))
pickInputs :: FlatUtxo -> InputPicker FlatUtxo
pickInputs inps = do
moneyLeft <- use ipsMoneyLeft
if moneyLeft == mkCoin 0
then return inps
else do
mNextOut <- fmap fst . uncons <$> use ipsAvailableOutputs
case mNextOut of
Nothing -> throwError $ NotEnoughMoney moneyLeft
Just inp@(_, (TxOutAux (TxOut {..}))) -> do
ipsMoneyLeft .= unsafeSubCoin moneyLeft (min txOutValue moneyLeft)
ipsAvailableOutputs %= tail
pickInputs (inp : inps)
your_sha256_hash---------
-- Grouped inputs picking
your_sha256_hash---------
-- | Group of unspent transaction outputs which belongs
-- to one address
data UtxoGroup = UtxoGroup
{ ugAddr :: !Address
, ugTotalMoney :: !Coin
, ugUtxo :: !(NonEmpty (TxIn, TxOutAux))
} deriving (Show)
-- | Group unspent outputs by addresses
groupUtxo :: Utxo -> [UtxoGroup]
groupUtxo utxo =
map mkUtxoGroup preUtxoGroups
where
futxo = M.toList utxo
preUtxoGroups = NE.groupAllWith (txOutAddress . toaOut . snd) futxo
mkUtxoGroup ugUtxo@(sample :| _) =
let ugAddr = txOutAddress . toaOut . snd $ sample
ugTotalMoney = unsafeIntegerToCoin . sumTxOutCoins $
map snd ugUtxo
in UtxoGroup {..}
data GroupedInputPickerState = GroupedInputPickerState
{ _gipsMoneyLeft :: !Coin
, _gipsAvailableOutputGroups :: ![UtxoGroup]
}
makeLenses ''GroupedInputPickerState
type GroupedInputPicker = StateT GroupedInputPickerState (Either TxError)
groupedInputPicker :: InputPickingWay
groupedInputPicker utxo outputs moneyToSpent =
evalStateT (pickInputs []) (GroupedInputPickerState moneyToSpent sortedGroups)
where
gUtxo = groupUtxo utxo
outputAddrsSet = foldl' (flip HS.insert) mempty $
map (txOutAddress . toaOut) outputs
isOutputAddr = flip HS.member outputAddrsSet
sortedGroups = sortOn (Down . ugTotalMoney) $
filter (not . isOutputAddr . ugAddr) gUtxo
disallowedInputGroups = filter (isOutputAddr . ugAddr) gUtxo
disallowedMoney = sumCoins $ map ugTotalMoney disallowedInputGroups
pickInputs :: FlatUtxo -> GroupedInputPicker FlatUtxo
pickInputs inps = do
moneyLeft <- use gipsMoneyLeft
if moneyLeft == mkCoin 0
then return inps
else do
mNextOutGroup <- fmap fst . uncons <$> use gipsAvailableOutputGroups
case mNextOutGroup of
Nothing -> if disallowedMoney >= coinToInteger moneyLeft
then throwError $ NotEnoughAllowedMoney moneyLeft
else throwError $ NotEnoughMoney moneyLeft
Just UtxoGroup {..} -> do
gipsMoneyLeft .= unsafeSubCoin moneyLeft (min ugTotalMoney moneyLeft)
gipsAvailableOutputGroups %= tail
pickInputs (toList ugUtxo ++ inps)
your_sha256_hash---------
-- Further logic
your_sha256_hash---------
-- | Given filtered Utxo, desired outputs and fee size,
-- prepare correct inputs and outputs for transaction
-- (and tell how much to send to remaining address)
prepareTxRawWithPicker
:: Monad m
=> InputPickingWay
-> Utxo
-> TxOutputs
-> TxFee
-> TxCreator m TxRaw
prepareTxRawWithPicker inputPicker utxo outputs (TxFee fee) = do
mapM_ (checkIsNotRedeemAddr . txOutAddress . toaOut) outputs
totalMoney <- sumTxOuts outputs
when (totalMoney == mkCoin 0) $
throwError $ GeneralTxError "Attempted to send 0 money"
moneyToSpent <- case integerToCoin (sumCoins [totalMoney, fee]) of
-- we don't care about exact number if user desires all money in the world
Left _ -> throwError $ NotEnoughMoney maxBound
Right c -> pure c
futxo <- either throwError pure $ inputPicker utxo outputs moneyToSpent
case nonEmpty futxo of
Nothing -> throwError $ GeneralTxError "Failed to prepare inputs!"
Just inputsNE -> do
totalTxAmount <- sumTxOuts $ map snd inputsNE
let trInputs = map formTxInputs inputsNE
trRemainingMoney = totalTxAmount `unsafeSubCoin` moneyToSpent
let trOutputs = outputs
pure TxRaw {..}
where
sumTxOuts = either (throwError . GeneralTxError) pure .
integerToCoin . sumTxOutCoins
formTxInputs (inp, TxOutAux txOut) = (txOut, inp)
checkIsNotRedeemAddr outAddr =
when (isRedeemAddress outAddr) $
throwError $ OutputIsRedeem outAddr
prepareTxRaw
:: Monad m
=> PendingAddresses
-> Utxo
-> TxOutputs
-> TxFee
-> TxCreator m TxRaw
prepareTxRaw pendingTx utxo outputs fee = do
inputSelectionPolicy <- view tcdInputSelectionPolicy
let inputPicker =
case inputSelectionPolicy of
OptimizeForHighThroughput -> plainInputPicker pendingTx
OptimizeForSecurity -> groupedInputPicker
prepareTxRawWithPicker inputPicker utxo outputs fee
-- Returns set of tx outputs including change output (if it's necessary)
mkOutputsWithRem
:: TxCreateMode m
=> NetworkMagic
-> SlotCount
-> AddrData m
-> TxRaw
-> TxCreator m TxOutputs
mkOutputsWithRem nm epochSlots addrData TxRaw {..}
| trRemainingMoney == mkCoin 0 = pure trOutputs
| otherwise = do
changeAddr <- lift . lift $ getNewAddress nm epochSlots addrData
let txOut = TxOut changeAddr trRemainingMoney
pure $ TxOutAux txOut :| toList trOutputs
mkOutputsWithRemForUnsignedTx
:: TxRaw
-> Address
-> TxOutputs
mkOutputsWithRemForUnsignedTx TxRaw {..} changeAddress
| trRemainingMoney == mkCoin 0 = trOutputs
| otherwise =
-- Change is here, so we have to use provided 'changeAddress' for it.
-- It is assumed that 'changeAddress' was created (as usual HD-address)
-- by external wallet and stored in the corresponding wallet.
let txOutForChange = TxOut changeAddress trRemainingMoney
in TxOutAux txOutForChange :| toList trOutputs
prepareInpsOuts
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> Utxo
-> TxOutputs
-> AddrData m
-> TxCreator m (TxOwnedInputs TxOut, TxOutputs)
prepareInpsOuts genesisConfig pendingTx utxo outputs addrData = do
txRaw@TxRaw {..} <- prepareTxWithFee genesisConfig pendingTx utxo outputs
let nm = makeNetworkMagic $ configProtocolMagic genesisConfig
outputsWithRem <-
mkOutputsWithRem nm (configEpochSlots genesisConfig) addrData txRaw
pure (trInputs, outputsWithRem)
prepareInpsOutsForUnsignedTx
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> Utxo
-> TxOutputs
-> Address
-> TxCreator m (TxOwnedInputs TxOut, TxOutputs)
prepareInpsOutsForUnsignedTx genesisConfig pendingTx utxo outputs changeAddress = do
txRaw@TxRaw {..} <- prepareTxWithFee genesisConfig pendingTx utxo outputs
let outputsWithRem = mkOutputsWithRemForUnsignedTx txRaw changeAddress
pure (trInputs, outputsWithRem)
createGenericTx
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> (TxOwnedInputs TxOut -> TxOutputs -> Either TxError TxAux)
-> InputSelectionPolicy
-> Utxo
-> TxOutputs
-> AddrData m
-> m (Either TxError TxWithSpendings)
createGenericTx genesisConfig pendingTx creator inputSelectionPolicy utxo outputs addrData
= runTxCreator inputSelectionPolicy $ do
(inps, outs) <- prepareInpsOuts genesisConfig pendingTx utxo outputs addrData
txAux <- either throwError return $ creator inps outs
pure (txAux, map fst inps)
createGenericTxSingle
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> (TxInputs -> TxOutputs -> Either TxError TxAux)
-> InputSelectionPolicy
-> Utxo
-> TxOutputs
-> AddrData m
-> m (Either TxError TxWithSpendings)
createGenericTxSingle genesisConfig pendingTx creator =
createGenericTx genesisConfig pendingTx (creator . map snd)
-- | Make a multi-transaction using given secret key and info for outputs.
-- Currently used for HD wallets only, thus `HDAddressPayload` is required
createMTx
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> InputSelectionPolicy
-> Utxo
-> (Address -> Maybe SafeSigner)
-> TxOutputs
-> AddrData m
-> m (Either TxError TxWithSpendings)
createMTx genesisConfig pendingTx groupInputs utxo hdwSigners outputs addrData =
createGenericTx
genesisConfig
pendingTx
(makeMPubKeyTxAddrs (configProtocolMagic genesisConfig) getSigner)
groupInputs
utxo
outputs
addrData
where
getSigner address =
note (SafeSignerNotFound address) $
hdwSigners address
-- | Make a multi-transaction using given secret key and info for
-- outputs.
createTx
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> Utxo
-> SafeSigner
-> TxOutputs
-> AddrData m
-> m (Either TxError TxWithSpendings)
createTx genesisConfig pendingTx utxo ss outputs addrData = createGenericTxSingle
genesisConfig
pendingTx
(\i o -> Right $ makePubKeyTx (configProtocolMagic genesisConfig) ss i o)
OptimizeForHighThroughput
utxo
outputs
addrData
-- | Create unsigned Tx, it will be signed by external wallet.
createUnsignedTx
:: TxCreateMode m
=> Genesis.Config
-> PendingAddresses
-> InputSelectionPolicy
-> Utxo
-> TxOutputs
-> Address
-> m (Either TxError (Tx,NonEmpty TxOut))
createUnsignedTx genesisConfig pendingTx selectionPolicy utxo outputs changeAddress =
runTxCreator selectionPolicy $ do
(inps, outs) <- prepareInpsOutsForUnsignedTx genesisConfig
pendingTx
utxo
outputs
changeAddress
let tx = makeUnsignedAbstractTx inps outs
pure (tx, map fst inps)
-- | Make a transaction for retrieving money from redemption address
createRedemptionTx
:: TxCreateMode m
=> ProtocolMagic
-> Utxo
-> RedeemSecretKey
-> TxOutputs
-> m (Either TxError TxAux)
createRedemptionTx pm utxo rsk outputs =
runTxCreator whetherGroupedInputs $ do
TxRaw {..} <- prepareTxRaw mempty utxo outputs (TxFee $ mkCoin 0)
let bareInputs = snd <$> trInputs
pure $ makeRedemptionTx pm rsk bareInputs trOutputs
where
-- always spend redeem address fully
whetherGroupedInputs = OptimizeForSecurity
your_sha256_hash-------------
-- Fees logic
your_sha256_hash-------------
-- | Helper function to reduce code duplication
withLinearFeePolicy
:: Monad m
=> (TxSizeLinear -> TxCreator m a)
-> TxCreator m a
withLinearFeePolicy action = view tcdFeePolicy >>= \case
TxFeePolicyUnknown w _ -> throwError $ GeneralTxError $
sformat ("Unknown fee policy, tag: "%build) w
TxFeePolicyTxSizeLinear linearPolicy ->
action linearPolicy
-- | Prepare transaction considering fees
prepareTxWithFee
:: MonadAddresses m
=> Genesis.Config
-> PendingAddresses
-> Utxo
-> TxOutputs
-> TxCreator m TxRaw
prepareTxWithFee genesisConfig pendingTx utxo outputs =
withLinearFeePolicy $ \linearPolicy ->
stabilizeTxFee genesisConfig pendingTx linearPolicy utxo outputs
-- | Compute, how much fees we should pay to send money to given
-- outputs
computeTxFee
:: MonadAddresses m
=> Genesis.Config
-> PendingAddresses
-> Utxo
-> TxOutputs
-> TxCreator m TxFee
computeTxFee genesisConfig pendingTx utxo outputs = do
TxRaw {..} <- prepareTxWithFee genesisConfig pendingTx utxo outputs
let outAmount = sumTxOutCoins trOutputs
inAmount = sumCoins $ map (txOutValue . fst) trInputs
remaining = coinToInteger trRemainingMoney
integerToFee $ inAmount - outAmount - remaining
-- | Search such spendings that transaction's fee would be stable.
--
-- Stabilisation is simple iterative algorithm which performs
-- @ fee <- minFee( tx(fee) ) @ per iteration step.
-- It does *not* guarantee to find minimal possible fee, but is expected
-- to converge in O(|utxo|) steps, where @ utxo @ a set of addresses
-- encountered in utxo.
--
-- Alogrithm consists of two stages:
--
-- 1. Iterate until @ fee_{i+1} <= fee_i @.
-- It can last for no more than @ ~2 * |utxo| @ iterations. Really, let's
-- consider following cases:
--
-- * Number of used input addresses increased at i-th iteration, i.e.
-- @ |inputs(tx(fee_i))| > |inputs(tx(fee_{i-1}))| @,
-- which can happen no more than |utxo| times.
--
-- * Number of tx input addresses stayed the same, i.e.
-- @ |inputs(tx(fee_i))| = |inputs(tx(fee_{i-1}))| @.
--
-- If @ fee_i <= fee_{i-1} @ then stage 1 has already finished. Otherwise,
-- since inputs and outputs are picked deterministically, inputs and
-- outputs for @ tx(fee_i) @ and @ tx(fee_{i-1}) @ are the same and they
-- differ only in remainder amount. Since we assume @ fee_i > fee_{i-1} @,
-- then @ rem(tx(fee_i)) < rem(tx(fee_{i-1})) @ by evaluation method.
-- It leads to @ size(tx(fee_i)) <= size(tx(fee_{i-1})) @ and thus
-- @ minFee(tx(fee_i)) <= minFee(tx(fee_{i-1})) @,
-- i.e. @ fee_{i+1} <= fee_{i} @.
--
-- * Number if input addresses decreased.
-- It may occur when fee increases more than on current remainder.
-- In this case fee on next iteration would indeed decrease, because
-- size of single input is much greater than any fluctuations of
-- remainder size (in bytes).
--
-- In total, case (1) occurs no more than |utxo| times, case (2) is always
-- followed by case (1), and case (3) terminates current stage immediatelly,
-- thus stage 1 takes no more than, approximatelly, @ 2 * |utxo| @ iterations.
--
-- 2. Once we find such @ i @ for which @ fee_{i+1} <= fee_i @, we can return
-- @ tx(fee_i) @ as answer, but it may contain overestimated fee (which is still
-- valid).
-- To possibly find better solutions we iterate for several times more.
stabilizeTxFee
:: forall m
. MonadAddresses m
=> Genesis.Config
-> PendingAddresses
-> TxSizeLinear
-> Utxo
-> TxOutputs
-> TxCreator m TxRaw
stabilizeTxFee genesisConfig pendingTx linearPolicy utxo outputs = do
minFee <- fixedToFee (txSizeLinearMinValue linearPolicy)
mtx <- stabilizeTxFeeDo (False, firstStageAttempts) minFee
case mtx of
Nothing -> throwError FailedToStabilize
Just tx -> pure $ tx & \(S.Min (S.Arg _ txRaw)) -> txRaw
where
firstStageAttempts = 2 * length utxo + 5
secondStageAttempts = 10
stabilizeTxFeeDo :: (Bool, Int)
-> TxFee
-> TxCreator m $ Maybe (S.ArgMin TxFee TxRaw)
stabilizeTxFeeDo (_, 0) _ = pure Nothing
stabilizeTxFeeDo (isSecondStage, attempt) expectedFee = do
txRaw <- prepareTxRaw pendingTx utxo outputs expectedFee
let pm = configProtocolMagic genesisConfig
nm = makeNetworkMagic pm
fakeChangeAddr <- lift . lift $ getFakeChangeAddress nm $ configEpochSlots
genesisConfig
txMinFee <- txToLinearFee linearPolicy $ createFakeTxFromRawTx
pm
fakeChangeAddr
txRaw
let txRawWithFee = S.Min $ S.Arg expectedFee txRaw
let iterateDo step = stabilizeTxFeeDo step txMinFee
case expectedFee `compare` txMinFee of
LT -> iterateDo (isSecondStage, attempt - 1)
EQ -> pure (Just txRawWithFee)
GT -> do
let nextStep = (True, if isSecondStage then attempt - 1 else secondStageAttempts)
futureRes <- iterateDo nextStep
return $! Just txRawWithFee S.<> futureRes
-- | Calcucate linear fee from transaction's size
txToLinearFee
:: MonadError TxError m
=> TxSizeLinear -> TxAux -> m TxFee
txToLinearFee linearPolicy =
fixedToFee .
calculateTxSizeLinear linearPolicy .
biSize @TxAux
-- | Function is used to calculate intermediate fee amounts
-- when forming a transaction
createFakeTxFromRawTx :: ProtocolMagic -> Address -> TxRaw -> TxAux
createFakeTxFromRawTx pm fakeAddr TxRaw{..} =
let fakeOutMB
| trRemainingMoney == mkCoin 0 = Nothing
| otherwise =
Just $
TxOutAux (TxOut fakeAddr trRemainingMoney)
txOutsWithRem = maybe trOutputs (\remTx -> remTx :| toList trOutputs) fakeOutMB
-- We create fake signers instead of safe signers,
-- because safe signer requires passphrase
-- but we don't want to reveal our passphrase to compute fee.
-- Fee depends on size of tx in bytes, sign of a tx has the fixed size
-- so we can use arbitrary signer.
(_, fakeSK) = deterministicKeyGen "patakbardaqskovoroda228pva1488kk"
in either absurd identity $ makeMPubKeyTxAddrs
pm
(\_ -> Right $ fakeSigner fakeSK)
trInputs
txOutsWithRem
``` |
```xml
export default function page() {
return 'page'
}
``` |
Leon Fink (born January 9, 1948) is a Distinguished Professor in the Department of History at the University of Illinois at Chicago. A historian, his research and writing focuses on labor unions in the United States, immigration and the nature of work. He is the founding editor of Labor: Studies in Working-Class History, the premier journal of labor history in the United States.
Early life and education
Fink was born in Ann Arbor, Michigan in 1948.
He received his B.A degree from Harvard University in 1970. While at Harvard, he spent the 1968-1969 term studying at the Centre for the Study of Social History at the University of Warwick in Coventry, U.K.
He obtained his master's degree in 1971 and his doctorate in 1977, both from the University of Rochester, where he studied with Herbert Gutman.
Career
After obtaining his master's degree, from 1972 to 1974 Fink was a lecturer in the Department of History at the City College of New York.
From 1983 to 1984, Fink was a Fulbright Program scholar at the Amerika-Institut at the University of Munich in West Germany.
In 1985, Fink was appointed an associate professor of history at the University of North Carolina at Chapel Hill (UNC). He became a full professor in 1990 and Zachary Smith Professor of History in 1995.
In 2000, Fink assumed a position as a professor in the Department of History at the University of Illinois at Chicago.
Research focus
Fink is considered a top scholar in U.S. and comparative labor history. He is an expert on the history of work, and on labor unions in the Gilded Age and the Progressive Era. More recently, his work has focus on the role of immigration historically and in the modern labor movement. He writes from the perspective of the "new labor history".
In 1991, Fink and UNC professor Lloyd Kramer founded the UNC Project for Historical Education (PHE). The program sponsors workshops on teaching history for elementary and secondary public school social studies teachers. The workshops focus on recent developments in historical research, strategies for integrating research into lesson plans, how to use primary documents in teaching, and other aspects of teaching history.
Fink's 1994 book, In Search of the Working Class: Essays in American Labor History and Political Culture, drew attention for its focus on the role of the historian. The essays in the book highlight the role of the historian as an outside observer of a basic unit of culture and economics as the worker, and what constitutes the "working class." The essays also cover the development of labor history in the United States from its inception in the 1880s as history through the institutionalist period to the "new labor history" period in vogue today. It concludes with an examination of the role history, culture, art and social movements play in American labor history and why scholars must focus on these factors in addition to workers and their organizations.
Fink's third book, 1998's Progressive Intellectuals and the Dilemmas of Democratic Commitment, drew attention in the field of history for its focus on the tension which arises when educated historians study relatively uneducated workers. Using biographies of some of the top labor historians and intellectuals in the field of labor studies, Fink illustrated the problems which can arise when historians try to learn from workers at the same time that they attempt to advise them.
In 1999, Fink established the "Listening for a Change" initiative at the Southern Oral History Program. "Listening for a Change" was designed to conduct oral histories of workers in order to document the on-the-ground history of the working class. In its first year, the program conducted 20 interviews with Guatemalan agricultural workers to illuminate how the influx of Hispanic workers is changing the nature of work in North Carolina.
In 2003, Fink helped establish the journal Labor: Studies in Working-Class History of the Americas. Fink had been editor-in-chief of the journal Labor History. In June 2003, Fink and the entire staff left Labor History in a dispute with the journal's publisher, Taylor and Francis. One editorial board member said the publisher wanted to increase the number of issues a year in order to justify an increase in the subscription price, even though the editorial staff felt there were not enough quality articles to fill additional issues.
Memberships and awards
1998 was a year of many honors for Fink. He was appointed to the National Advisory Board of the Society for History Education, was named a fellow at the Charles Warren Center at Harvard University, and was named to the Organization of American Historians' (OAH) Merle Curti Prize Committee. That same year, he was elected to a three-year term as a vice president for the American Historical Association's (AHA) Teaching Division.
In 2000, Fink was named as the AHA's representative on the board of National Council for History Education.
In 2006, Fink was a lecturer in the OAH Distinguished Lectureship Program.
Fink is the editor of Labor: Studies in Working-Class History.
Published works
Solely authored books
In Search of the Working Class: Essays in American Labor History and Political Culture. Champaign, Ill.: University of Illinois Press, 1994.
The Maya of Morganton: Work and Community in the Nuevo New South. Chapel Hill, N.C.: University of North Carolina Press, 2003.
Progressive Intellectuals and the Dilemmas of Democratic Commitment. Cambridge, Mass.: Harvard University Press, 1998.
Workingmen's Democracy: The Knights of Labor and American Politics. Champaign, Ill.: University of Illinois Press, 1983.
Sweatshops at Sea: Merchant Seamen in the World's First Globalized Industry, from 1812 to the Present. Chapel Hill, N.C.: University of North Carolina Press, 2011.
Co-edited books
Fink, Leon, and Greenberg, Brian. Upheaval in the Quiet Zone: The History of Hospital Workers' Union, Local 1199. Champaign, Ill.: University of Illinois Press, 1989.
Fink, Leon; Leonard, Stephen T.; and Reid, Donald M. Intellectuals and Public Life: Between Radicalism and Reform. Ithaca, N.Y.: Cornell University Press, 1996.
Fink, Leon and Paterson, Thomas. Major Problems in the Gilded Age and Progressive Era. 2nd ed. Boston: Houghton Mifflin, 2000.
Solely-authored book chapters
"American Labor History." In New American History. Eric Foner, ed. Philadelphia: Temple University Press, 1990.
"Expert Advice: Progressive Intellectuals and the Unraveling of Labor Reform, 1912-1915." In Intellectuals and Public Life: Between Radicalism and Reform. Leon Fink, Stephen T. Leonard, and Donald M. Reid, eds. Ithaca, N.Y.: Cornell University Press, 1996.
"Looking Backwards: Reflections on Workers' Culture and the Conceptual Dilemmas of the New Labor History." In Perspectives on American Labor History: The Problem of Synthesis. Alice Kessler-Harris and J. Carroll Moody, eds. Chicago: Northern Illinois University Press, 1989.
"The Maya of Morganton: Exploring Worker Identity Within the Global Marketplace." In The Maya Diaspora: Guatemalan Roots, American Lives. James Loucky and Marilyn M. Moors meds. Philadelphia: Temple University Press, 2000.
"From Autonomy to Abundance: Changing Beliefs About the Free Labor System in Nineteenth Century America." In Terms of Labor: Slavery, Serfdom, and Free Labor. Stanley L. Engerman, ed. Stanford, Calif.: Stanford University Press, 1999.
"The Uses of Politics: Towards a Theory of the Labor Movement in the Era of the Knights of Labor." In Working-Class America: Essays on Labor, Community, and American Society. Michael Frisch and Daniel Walkowitz, eds. Champaign, Ill.: University of Illinois, 1983.
"Was the American Labor Movement Radical?" In Taking Sides: Clashing Views on Controversial Issues in American History. Volume II: Reconstruction to the Present. Larry Madaras and James M. SoRelle, eds. New York City: McGraw-Hill, 1989.
"Working-Class Radicalism in the Gilded Age." In Conflict and Consensus in American History. 7th ed. Allen F. Davis and Harold D. Woodman, eds. Boston: Houghton Mifflin, 1988.
Co-authored book chapters
Fink, Leon and Greenberg, Brian. "Organizing Montefiore: Labor Militancy Meets a Progressive Health Empire." In Health Care in America: Essays in Social History. Susan Reverby and David Rosner, eds. Philadelphia: Temple University Press, 1979.
Solely authored articles
" 'Intellectuals' vs. 'Workers': Academic Requirements and the Creation of Labor History." American Historical Review. 96 (April 1991).
"Culture's Last Stand? Gender and the Search for Synthesis in American Labor History." Labor History. 34 (Spring-Summer 1993).
"Early Labor Studies and the Dual Search for Legitimacy." Labor Law Journal. 49 (September 1998).
"John R. Commons, Herbert Gutman, and the Burden of Labor History." Labor History. 29 (Summer 1988).
"A Memoir of Selig Perlman and His Life at the University of Wisconsin: Based on an Interview of Mark Perlman." Labor History. 32 (Fall 1991).
"New Tidings for History Education, or Lessons We Should Have Learned by Now." History Teacher 34 (February 2001).
"What Is To Be Done-In Labor History?" Labor History. 43 (November 2002).
Co-authored articles
Fink, Leon and Levine, Susan. "Herbert G. Gutman." Labour/Le Travail. 16 (Fall 1985).
References
Blewett, Mary. " 'In Search of the Working Class: Essays in American Labor History and Political Culture.' Book Reviews." Labor History. February 1998.
Leon Fink, Dept. of History, University of Illinois at Chicago
Smallwood, Scott and Glenn, David. "Editor of 'Labor History' Quits, and Dozens Join Him." Chronicle of Higher Education. July 4, 2003.
Writer's Directory. 22nd ed. Farmington Hills, Mich.: Gale Group, 2007.
External links
University of Illinois at Chicago
1948 births
Living people
Writers from Ann Arbor, Michigan
University of Illinois Chicago faculty
City College of New York faculty
Writers from Chicago
Harvard University alumni
University of Rochester alumni
Labor historians
21st-century American historians
American male non-fiction writers
Historians of the United States
Historians from Illinois
Historians from Michigan
21st-century American male writers |
Christopher M. Smith (October 12, 1879 – October 4, 1949) was an American composer and popular vaudeville performer.
Biography
Smith was born in Charleston, South Carolina. He started traveling with medicine shows when he was young and joined Vaudeville, where he performed with Elmer Bowman and Jimmy Durante. He also wrote music for Bert Williams. Smith died in New York City on October 4, 1949.
Selected works
Smith composed many songs, including the following:
"Good Morning Carrie", lyrics by Cecil Mack (pseudonym of Richard Cecil McPherson), music by Smith & Euday L. Bowman; Windsor Music Co. (1901);
"Mandy, You and Me!" Smith and James H. Burris (né James Henry Burris; 1876–1923) (w&m); Attucks Publishing Company (©1905);
"Honky Tonky Monkey Rag" Words and Music by Chris Smith, 1911
"Junk Man Rag", lyrics by Smith & Ferdinand E. Mierisch, music by Charles Luckyth Roberts ("Luckey"); Jos. W. Stern & Co. (1913);
"Fifteen Cents", Words and Music by Chris Smith, 1913
"Ballin' the Jack", lyrics by Jim Burris (né James Henry Burris; 1876–1923), music by Smith; Jos. W. Stern & Co. (1913);
"Never Let the Same Bee Sting You Twice", Cecil Mack (pseudonym of Richard Cecil McPherson), music by Smith; Broadway Music Corporation (1916);
"Down in Honky Tonk Town", music & lyrics by Smith & Charles R. McCarron (1891–1919); Broadway Music Corporation (1918);
"I've Got My Habits On", lyrics by Smith & Bob Schafer, music by Jimmie Durante; Goodman & Rose, Inc. (1921); †
"At the Honky-Tonk Steppers' Ball", lyrics & music by Smith & Jimmie Durante; Goodman & Rose, Inc. (1921); †
"The Camel Walk", lyrics by Cecil Mack & Bob Schafer; music by Smith & James Tim Brymn; Broadway Music Corporation (1925);
Note
† – Goodman & Rose, Inc., was a New York music publishing firm founded by Frank Goodman and Justus Rose
References
External links
Chris Smith Biography by Tom Morgan
Chris Smith recordings at the Discography of American Historical Recordings.
Chris Smith recordings at the UCSB Cylinder Audio Archive.
1879 births
1949 deaths
20th-century American composers
20th-century American male actors
African-American composers
African-American male actors
African-American male composers
Vaudeville performers
20th-century American male musicians
20th-century African-American musicians |
```html
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<section class="tb-widget-settings" [formGroup]="switchControlWidgetSettingsForm" fxLayout="column">
<fieldset class="fields-group">
<legend class="group-title" translate>widgets.rpc.common-settings</legend>
<mat-form-field fxFlex class="mat-block">
<mat-label translate>widgets.rpc.switch-title</mat-label>
<input matInput formControlName="title">
</mat-form-field>
<mat-slide-toggle formControlName="showOnOffLabels" class="slide-block">
{{ 'widgets.rpc.show-on-off-labels' | translate }}
</mat-slide-toggle>
</fieldset>
<tb-switch-rpc-settings [aliasController]="aliasController"
[targetDevice]="targetDevice"
formControlName="switchRpcSettings">
</tb-switch-rpc-settings>
</section>
``` |
The haute-contre (plural hautes-contre) was the primary French operatic tenor voice, predominant in French Baroque and Classical opera, from the middle of the seventeenth century until the latter part of the eighteenth century.
History
This voice was predominantly used in male solo roles, typically heroic and amatory ones, but also in comic parts, even en travesti (see apropos the portrait reproduced below and representing Pierre Jélyotte made up for the female title role of Rameau's Platée). Lully wrote 8 out of 14 leading male roles for the voice; Charpentier, who was an haute-contre himself, composed extensively for the voice-part, as did Rameau and, later, Gluck.
The leading hautes-contre of the Académie Royale de Musique that created the main roles of Lully's operas, at the end of the seventeenth century, were Bernard Clédière (who started off as a taille, a lower Tenor voice type) and Louis Gaulard Dumesny. Notable hautes-contre of the eighteenth century's first half included firstly Jacques Cochereau, Louis/Claude Murayre and Denis-François Tribou, who revived Lully style and operas in the twenties and in the thirties, then the mentioned Pierre Jélyotte and his substitutes, François Poirier et , all of whom sang Rameau's operas and Lully's revivals for the Académie Royale de Musique, and finally Marc-François Bêche, who was engaged mainly in performances at court. After these came Joseph Legros, for whom Gluck wrote his main haute-contre roles, which included the title role in the 1774 version of Orphée et Eurydice, and Achilles in Iphigénie en Aulide. There is also an extensive repertoire of music for this voice in French airs de cour and in French solo cantatas of the Baroque period; hautes-contre sang in choirs as well, taking the part above the taille.
Vocal features
The nature of the haute-contre voice has been the subject of much debate. Historically, English writers have translated the term as "countertenor" which is not particularly helpful since the meaning of that latter term has also been the subject of considerable musicological controversy; both terms are ultimately derived from the Latin contratenor (see countertenor). It is now generally accepted that the hautes-contre sang in what voice scientists term "modal" (i.e. "speaking" voice), perhaps using falsetto for their highest notes. A typical solo range for this voice was C3 to D5 considering that French eighteenth-century pitch was as much as a whole tone lower than that of today. Though this high-pitched range might lead one to think of the haute-contre as a light voice, historical evidence does not bear this out: Jélyotte was much praised for the strength of his high register, the astronomer and traveller Joseph Jérôme Lefrançois de Lalande commenting that "one takes more pleasure in hearing a large voice than a small one." Lalande stated that Jélyotte's range was identical to that of the famous tenor Angelo Amorevoli. He also remarked that "all those who succeeded Legros had to shout to arrive at the tones of an haute-contre, except for , but he had the smallest sound."
The haute-contre is regarded by some authorities as similar to, or indeed identical with, the voice-type described in Italian as tenore contraltino. Although not unknown at an earlier date (for example the title-role in Mozart's Mitridate), roles for this voice were particularly numerous at the beginning of the nineteenth century: for example Lindoro in Rossini's L'italiana in Algeri or Rodrigo in Otello. Rossini also wrote roles in French for this type of voice, which may thus be regarded as a direct continuation of the earlier haute-contre tradition. These include the protagonist of Le Comte Ory, Néocles in Le siège de Corinthe and Arnold in Guillaume Tell, all of which were written for the great French tenor Adolphe Nourrit.
Modern performances
Recently, with a revival of interest in and the performance of French baroque repertoire, several high tenors have come to prominence in haute-contre repertoire. These include Mark Padmore, Anders J. Dahlin, Rogers Covey-Crump, Jean-Paul Fouchécourt, Paul Agnew and Cyril Auvity. None of these sing the French Baroque repertoire to the exclusion of all others, and all are involved, to a greater or lesser extent, in the performance of mainstream tenor repertoire.
Repertoire
See List of French haute-contre roles
References
Cyr, M: "On performing 18th-century Haute-Contre Roles", Musical Times, vol 118, 1997, pp 291–5, later reproduced in Cyr, M., Essays on the Performance of Baroque Music. Opera and Chamber Music in France and England, Ashgate Variorum, Aldeshot (UK)/Burlington, VT (USA), 2008, (essay no. IX)
[Stanley Sadie (ed), The new Grove Dictionary of Opera, Oxford University Press, 1992, vol. 4]
Philip Weller, "Tribou, Denis-François", in Sadie, Stanley (ed.), The New Grove Dictionary of Opera, Grove (Oxford University Press), New York, 1997, (IV, p. 808)
Voice types
Opera terminology |
John Corfield (1893–1953) was a British film producer. For more than a decade he oversaw production at British National Films.
Selected filmography
Turn of the Tide (1935)
Debt of Honour (1936)
Mr. Reeder in Room 13 (1938)
Meet Mr. Penny (1938)
Lassie from Lancashire (1938)
Night Journey (1938)
Secret Journey (1939)
Dead Men Tell No Tales (1939)
What Would You Do, Chums? (1939)
Old Mother Riley Joins Up (1939)
Contraband (1940)
The Second Mr. Bush (1940)
Gaslight (1940)
He Found a Star (1941)
One of Our Aircraft Is Missing (1942)
Headline (1944)
References
External links
1893 births
1953 deaths
Film people from Liverpool
British film producers |
Vagli Sotto is a comune (municipality) in the Province of Lucca in the Italian region of Tuscany, located about northwest of Florence and about northwest of Lucca.
Sotto borders the following municipalities: Camporgiano, Careggine, Massa, Minucciano, Stazzema. The Lake of Vagli, created by a dam in 1947, and the abandoned village of Fabbriche di Careggina, are located nearby.
The town contains the Romanesque church of San Regolo.
References
External links
Vagli Sotto
Vagli Sotto
Cities and towns in Tuscany |
```kotlin
package io.github.detekt.metrics.processors
import io.gitlab.arturbosch.detekt.api.Detektion
import io.gitlab.arturbosch.detekt.api.ProjectMetric
import org.jetbrains.kotlin.psi.KtFile
abstract class AbstractProjectMetricProcessor : AbstractProcessor() {
val type: String get() = key.toString()
override fun onFinish(files: List<KtFile>, result: Detektion) {
val count = files
.mapNotNull { it.getUserData(key) }
.sum()
result.add(ProjectMetric(type, count))
}
}
``` |
Kapsiya is situated 13 km away from Madhubani District in Bihar State, India. It is one of the well known village in Madhubani District. It belongs in Benipatti Block. Kapsiya is part of the Benipatti Vidhan Sabha electoral constituency. The local language is Maithili.
Geography
Nearby places include: Loha, Pokhrauni, Saurath Sabha.
References
Villages in Madhubani district |
All Gall is Divided (French: Syllogismes de l'amertume, literally "Syllogisms of Bitterness") is a French philosophical book by Emil Cioran. Originally published in 1952, it was translated into English in 1999 by Richard Howard. The book consists of aphorisms and brief remarks on subjects such as religion, suicide, and literature.
All Gall is Divided was the second book to be written in French by the Romanian-born Cioran, after 1949's A Short History of Decay, and the first to contain aphorisms. Cioran claimed he adopted the aphorism because "explaining bores me terribly".
Synopsis
The text is organized into ten chapters and bracketed into small fragments, either brief passages or aphoristic remarks, some consisting of a single sentence. This presentation contrasts with Cioran's previous work A Short History of Decay, which consisted of somewhat longer pieces: short reflections and small essays. In All Gall is Divided, Cioran sought to develop his proficiency with French, expressing himself in concise fragments.
The book's original French title was Syllogismes de l'amerture (literally, Syllogisms of Bitterness), translated by Richard Howard as All Gall is Divided. The original title refers both to the style of presentation and the negativity of the subject matter. The book's contents are not literal syllogisms but brief rhetorical flourishes, sometimes suggestive of an argument. Some items include one or two declarations, followed by a loosely related conclusion:
Howard's title translation was intended to retain the meaning of the original, while also loading other semantic meanings. According to Howard, Francis Bacon and other literary figures have noted that the aphoristic form itself implies a division, or break. Also, the English words "gall" and "bile" suggest negativity; as an anatomical fluid, the latter bile—itself associated with bitterness—is produced by the gallbladder. The literary meaning of "gall" compares with Baudelaire's sense of spleen, which refers to general disgust. Finally, the full (translated) title is a play on a quotation of Julius Caesar, which states that "All Gaul is divided into three parts". This reference to the ancient territory of France indicates Cioran's continuing use of the French language.
Unlike other of Cioran's previous works, All Gall Is Divided does not have a unifying theme, apart from its shorter aphoristic style. On the Heights of Despair had focused on negative emotions, Tears and Saints was devoted to the lives of Christian saints, and A Short History of Decay concentrated on the theme of decay, at both the individual and social level. All Gall is Divided is instead a series of brief—and frequently negative—remarks on themes which are consistent throughout Cioran's work, such as history, love, and religion.
The book contains several repetitions of ideas which Cioran had expressed in his earlier work. The above quotation about astronomers is a reworking of a similar passage found in his earlier Romanian work Tears and Saints. For Cioran, ancient astronomers who pass into obscurity are preferable to well-documented historical figures, because the latter frequently achieve their notability through warfare and atrocities. In Tears and Saints, Cioran's longer version of the passage continued, acknowledging both types of society:
Another example of repetition is found in Cioran's disdain for the world. The conceit that the world "doesn't deserve to be known" is also found in On the Heights of Despair, his first book.
The final fragment of All Gall is Divided is also an elaboration on an idea previously introduced in Tears and Saints. In the latter, Cioran introduced the idea of ancient Egyptian hermits who dig their own graves in the desert, in order to weep in them. In All Gall is Divided Cioran updated the idea, indicating that he would not react to the situation with sadness, but instead wait to die in apathy.
Reception
Publishers Weekly called All Gall is Divided Cioran's "existential equivalent" to The Devil's Dictionary, and described its writing as "aridly clever" and "laconic and intense". Patrick Madden noted that the aphorisms of All Gall is Divided "drip with cynicism and despair", and described Cioran as an "irascible rascal, mischievously spreading his seeds of discord and discontent, but he does so so beautifully that a reader welcomes the fragmentary soliloquy between the pages, learns from it, changes from it."
In a 1999 New York Times review, Albert Mobilio praised the translation of All Gall is Divided, comparing Cioran's idiosyncrasy to that of Cosmo Kramer. Mobilio stated that the "faux naif quality invests the act of dying with a slippery comedy that in true double-take fashion actually heightens the seriousness." In 2020, Mobilio published Same Faces, a collection of poems which was inspired by All Gall is Divided.
All Gall is Divided sold 2,000 copies within the first twenty years of its release, which Cioran called "a big success", and said it was his most read book in France.
Notes
References
Source text
Foreword by Thacker, Eugene.
Citations
1952 non-fiction books
Works by Emil Cioran
Works about philosophical pessimism
Arcade Publishing books |
Freiman Mall (French: Mall Freiman) is an enclosed shopping arcade between Rideau and George Streets in Ottawa, Ontario, Canada, east of Sussex Drive and west of William Street. The adjacent Hudson's Bay department store abuts the Freiman Mall on both its north and south sides, and can be accessed from the Freiman Mall interior in downtown Ottawa.
History
The current location of the Freiman Mall was once a public street called Mosgrove Street, located immediately to the east of the Freimans department store which was adjacent to the ByWard Market and the former Metropolitan department store. The street was later renamed Freiman Street after the department store and its founder, Archibald Jacob Freiman. The Freimans department store was acquired by the Hudson's Bay Company (HBC) in 1972 and rebranded as an outlet of the company's (then) "The Bay" chain.
In conjunction with the development of the Rideau Centre across the street, the City of Ottawa agreed in 1981 to close Freiman Street and to lease the land to the HBC for a term of 99 years in exchange for the construction of an enclosed, public pedestrian passageway connecting Rideau Street to George Street and the ByWard Market, to be open 24 hours per day. Under the terms of the lease, HBC was entitled to install three kiosks related to its store within the new Freiman Mall. The company and the city would share operating and security costs, with the city's share based on the proportion of public (non-retail) floor area and the amount of time the mall would be open past the store's operating hours.
The Freiman Mall was officially opened by Ottawa mayor Marion Dewar on May 12, 1983, at which time a commemorative plaque was unveiled within the mall honouring A. J. Freiman and his family.
In order to reduce the city's share of the operating and security costs, the lease was amended in 1992 to allow HBC to encroach into the Freiman Mall with its merchandise displays, as long as a minimum -wide public passageway was maintained. So as to reduce security costs, the lease amendment also allowed the company to close the Freiman Mall during a portion of the night.
References
Pedestrian malls in Canada
Shopping malls established in 1983
Buildings and structures in Ottawa
Shopping arcades in Canada
Hudson's Bay Company
1983 establishments in Ontario |
```javascript
tests([
[
'const a = 5;',
'js',
{ keyword: 'color:#569cd6;' },
'<span class="keyword" style="color:#569cd6;">const</span> a <span class="operator" style="color:#994500;">=</span> <span class="number" style="color:#0086b3;">5</span>;'
],
[
'<script>const a = 5;</script>',
'html',
{
keyword: '',
number: '',
operator: ''
},
'<span class="keyword"><script></span><span class="keyword">const</span> a <span class="operator">=</span> <span class="number">5</span>;<span class="keyword"></script></span>'
],
[
'<style></style>',
'html',
{
keyword: ''
},
'<span class="keyword"><style></span><span class="keyword"></style></span>'
]
]);
``` |
Mary Isabel Leslie (1899–1978) was an Irish nationalist and the writer of over 30 novels. She also used the pseudonym Temple Lane.
Life and work
Leslie was born in Portabello House, Dublin in April 1899, to Reverend John Leslie and Mary Richardson Smith. She had one sister, Jean Annette. Her father was later Dean of Lismore, although Leslie was raised in County Tipperary. She received her secondary education at Sherborne School for Girls in Dorset, and then attended Trinity College Dublin. Leslie remained at the university, where she was academically successful, winning a gold medal in 1922 and gaining her D. Litt in 1943 for work on Felicia Hemans.
Leslie wrote poetry and novels under two pen names, those of Jean Herbert and Temple Lane. Her novel Friday's Well was adapted for the stage by Frank Carney in 1950. She was a member of Dublin's Women Writers' Club, which had been founded by Blanaid Salkeld along with Dorothy Macardle, Elizabeth Bowen, Helen Waddell, Maura Laverty, Winifred Letts, Sybil le Brocquy, Patricia Lynch, Rosamond Jacob, Hanna Sheehy Skeffington, Nora Connolly O'Brien, Christine Longford, Ethel Davidson (President of the Club in 1937) and Teresa Deevy. As Davidson put it, their aim was sharpening "the wits, and improving the standard of criticism, as well as encouraging the writers".
Leslie's novels were popular with readers, but not highly appreciated by the writing profession. Mary Rose Callaghan termed her work "female fiction before the Liberation". She added, "There is little individuality in her novels and much simplicity and humorless earnestness."
Bibliography
Burnt Bridges (London: John Long, 1925; popular edition 1926)
No Just Cause (London: John Long, 1925; popular edition 1926)
Defiance (London: John Long, 1926)
Second Sight (London: John Long, 1926)
Watch the Wall (London: John Long, 1927)
The Band of Orion (London: Jarrolds, 1928)
The Little Wood (London: Jarrolds, 1930)
Blind Wedding (London: Jarrolds, 1931)
Sinner Anthony (London: Jarrolds, 1933)
The Trains Go South (London: Jarrolds, 1938; foreword by Lynn Doyle)
Battle of the Warrior (London: Jarrolds, 1940)
House of My Pilgrimage (Dublin: Talbot Press; London: Frederick Muller, 1941)
Friday's Well (Dublin: Talbot Press, 1943)
Come Back! (Dublin: Talbot Press, 1945)
My Bonny's Away (Dublin: Talbot Press, 1947)
Fisherman's Wake (Dublin and Cork: Talbot Press, n.d.; London: Longmans, 1940; Dublin: Curlews, 1945)
References
Irish women novelists
1899 births
1978 deaths
Writers from County Tipperary
Women science fiction and fantasy writers
Pseudonymous women writers
Alumni of Trinity College Dublin
20th-century Irish women writers
Irish women poets
Irish nationalists
20th-century pseudonymous writers |
Susan Campbell Bartoletti (born November 18, 1958) is an American writer of children's literature whose work includes Kids on Strike! and Hitler Youth: Growing Up in Hitler's Shadow.
She was born in Harrisburg, Pennsylvania, but eventually the family ended up in a small town in northeastern Pennsylvania. She graduated from the University of Scranton in 1982.
Campbell Bartoletti began her career as an eighth-grade English teacher before deciding to pursue writing in earnest. Seeing her student write and create original work, she was inspired to create her own. In connection with her students, Susan said that "I felt immense satisfaction in watching my students grow as writers. I wanted to practice what I preached, so I joined a writers group and got serious about my own writing." She sold her first short story in 1989. Three years later, in 1992, Campbell Bartoletti published her first picture book, Silver at Night. She held a rigid routine, waking early in the morning in order to write before she left to teach. In 1997, she turned to writing full-time. Since then, her works have received a number of awards, including the NCTE Orbis Pictus Award for Nonfiction, the SCBWI Golden Kite Award for Nonfiction, the Jane Addams Children's Book Award, and the Newbery Honor in 2006.
She teaches writing classes at a number of MA and MFA programs, among them Spalding University in Louisville, Kentucky, and Hollins University in Roanoke, Virginia. Additionally, she leads workshops offered through the Highlights Foundation. She resides with her family in Moscow, Pennsylvania.
Works
Non-fiction
Growing Up in Coal Country (1996)
Kids on Strike! (1999)
Black Potatoes: The Story of the Great Irish Famine, 1845 to 1850 (2001) - Robert F. Sibert Informational Book Medal winner, 2002
The Flag Maker (2004)
Hitler Youth: Growing Up in Hitler's Shadow (2005) - a Newbery Honor Book 2006
They Called Themselves The K.K.K : The Birth of an American Terrorist Group (2010)
The Boy Who Dared (2008)
Fiction
Silver at Night (1994)
Dancing with Dziadziu (1997)
No Man's Land: A Young Soldier's Story (1999)
A Coal Miner's Bride : The Diary of Anetka Kaminska (2000), Dear America Series
The Christmas Promise (2001), Blue Sky Press
The Journal of Finn Reardon : A Newsie (2003), My Name is America Series
Nobody's Nosier Than a Cat (2003)
Nobody's Diggier than a Dog (2005)
Naamah and the Ark at Night (2011)
References
External links
1958 births
Living people
American children's writers
Writing teachers
Novelists from Pennsylvania
21st-century American novelists
20th-century American women writers
21st-century American women writers
University of Scranton alumni
Spalding University faculty
Hollins University faculty
20th-century American non-fiction writers
American women children's writers
American women novelists
Kentucky women writers
Novelists from Virginia
Novelists from Kentucky
American women non-fiction writers
21st-century American non-fiction writers
American women academics
Newbery Honor winners |
```c
/*
*
*/
#include <stdint.h>
#include <stdlib.h>
#include <sys/param.h>
#include <esp_types.h>
#include "sdkconfig.h"
#include "esp_err.h"
#include "esp_attr.h"
#include "soc/soc.h"
#include "soc/rtc.h"
#include "soc/pmu_struct.h"
#include "hal/lp_aon_hal.h"
#include "esp_private/esp_pmu.h"
#include "pmu_param.h"
#include "hal/efuse_ll.h"
#include "hal/efuse_hal.h"
#include "esp_hw_log.h"
static __attribute__((unused)) const char *TAG = "pmu_sleep";
#define HP(state) (PMU_MODE_HP_ ## state)
#define LP(state) (PMU_MODE_LP_ ## state)
static bool s_pmu_sleep_regdma_backup_enabled;
uint32_t get_lslp_dbg(void)
{
uint32_t pmu_dbg_atten_lightsleep = PMU_DBG_ATTEN_LIGHTSLEEP_DEFAULT;
uint32_t blk_version = efuse_hal_blk_version();
if (blk_version >= 3) {
pmu_dbg_atten_lightsleep = efuse_ll_get_lslp_dbg();
} else {
ESP_HW_LOGD(TAG, "blk_version is less than 3, lslp dbg not burnt in efuse\n");
}
return pmu_dbg_atten_lightsleep;
}
uint32_t get_lslp_hp_dbias(void)
{
uint32_t pmu_hp_dbias_lightsleep_0v6 = PMU_HP_DBIAS_LIGHTSLEEP_0V6_DEFAULT;
uint32_t blk_version = efuse_hal_blk_version();
if (blk_version >= 3) {
pmu_hp_dbias_lightsleep_0v6 = efuse_ll_get_lslp_hp_dbias();
} else {
ESP_HW_LOGD(TAG, "blk_version is less than 3, lslp hp dbias not burnt in efuse\n");
}
return pmu_hp_dbias_lightsleep_0v6;
}
uint32_t get_dslp_dbg(void)
{
uint32_t pmu_dbg_atten_deepsleep = PMU_DBG_ATTEN_DEEPSLEEP_DEFAULT;
uint32_t blk_version = efuse_hal_blk_version();
if (blk_version >= 3) {
pmu_dbg_atten_deepsleep = efuse_ll_get_dslp_dbg() + EFUSE_BURN_OFFSET_DSLP_DBG;
} else {
ESP_HW_LOGD(TAG, "blk_version is less than 3, dslp dbg not burnt in efuse\n");
}
return pmu_dbg_atten_deepsleep;
}
uint32_t get_dslp_lp_dbias(void)
{
uint32_t pmu_lp_dbias_deepsleep_0v7 = PMU_LP_DBIAS_DEEPSLEEP_0V7_DEFAULT;
uint32_t blk_version = efuse_hal_blk_version();
if (blk_version >= 3) {
pmu_lp_dbias_deepsleep_0v7 = efuse_ll_get_dslp_lp_dbias() + EFUSE_BURN_OFFSET_DSLP_LP_DBIAS;
} else {
ESP_HW_LOGD(TAG, "blk_version is less than 3, dslp lp dbias not burnt in efuse\n");
}
return pmu_lp_dbias_deepsleep_0v7;
}
void pmu_sleep_enable_regdma_backup(void)
{
if(!s_pmu_sleep_regdma_backup_enabled){
assert(PMU_instance()->hal);
/* entry 0, 1, 2 is used by pmu HP_SLEEP and HP_ACTIVE, HP_SLEEP
* and HP_MODEM or HP_MODEM and HP_ACTIVE states switching,
* respectively. entry 3 is reserved, not used yet! */
pmu_hal_hp_set_sleep_active_backup_enable(PMU_instance()->hal);
pmu_hal_hp_set_sleep_modem_backup_enable(PMU_instance()->hal);
pmu_hal_hp_set_modem_active_backup_enable(PMU_instance()->hal);
s_pmu_sleep_regdma_backup_enabled = true;
}
}
void pmu_sleep_disable_regdma_backup(void)
{
if(s_pmu_sleep_regdma_backup_enabled){
assert(PMU_instance()->hal);
pmu_hal_hp_set_sleep_active_backup_disable(PMU_instance()->hal);
pmu_hal_hp_set_sleep_modem_backup_disable(PMU_instance()->hal);
pmu_hal_hp_set_modem_active_backup_disable(PMU_instance()->hal);
s_pmu_sleep_regdma_backup_enabled = false;
}
}
uint32_t pmu_sleep_calculate_hw_wait_time(uint32_t pd_flags, uint32_t slowclk_period, uint32_t fastclk_period)
{
const pmu_sleep_machine_constant_t *mc = (pmu_sleep_machine_constant_t *)PMU_instance()->mc;
/* LP core hardware wait time, microsecond */
const int lp_wakeup_wait_time_us = rtc_time_slowclk_to_us(mc->lp.wakeup_wait_cycle, slowclk_period);
const int lp_clk_switch_time_us = rtc_time_slowclk_to_us(mc->lp.clk_switch_cycle, slowclk_period);
const int lp_clk_power_on_wait_time_us = (pd_flags & PMU_SLEEP_PD_XTAL) ? mc->lp.xtal_wait_stable_time_us \
: rtc_time_slowclk_to_us(mc->lp.clk_power_on_wait_cycle, slowclk_period);
const int lp_hw_wait_time_us = mc->lp.min_slp_time_us + mc->lp.analog_wait_time_us + lp_clk_power_on_wait_time_us \
+ lp_wakeup_wait_time_us + lp_clk_switch_time_us + mc->lp.power_supply_wait_time_us \
+ mc->lp.power_up_wait_time_us;
/* HP core hardware wait time, microsecond */
const int hp_digital_power_up_wait_time_us = mc->hp.power_supply_wait_time_us + mc->hp.power_up_wait_time_us;
const int hp_regdma_wait_time_us = MAX(mc->hp.regdma_s2m_work_time_us + mc->hp.regdma_m2a_work_time_us, mc->hp.regdma_s2a_work_time_us);
const int hp_clock_wait_time_us = mc->hp.xtal_wait_stable_time_us + mc->hp.pll_wait_stable_time_us;
const int hp_hw_wait_time_us = mc->hp.analog_wait_time_us + MAX(hp_digital_power_up_wait_time_us + hp_regdma_wait_time_us, hp_clock_wait_time_us);
/* When the SOC wakeup (lp timer or GPIO wakeup) and Modem wakeup (Beacon wakeup) complete, the soc
* wakeup will be delayed until the RF is turned on in Modem state.
*
* modem wakeup TBTT, RF on by HW
* | |
* \|/ \|/
* PMU_HP_ACTIVE /------
* PMU_HP_MODEM /------------//////////////////
* PMU_HP_SLEEP ----------------------//////////////////
* /|\ /|\ /|\ /|\ /|\ /|\
* |<- some hw wait ->| | | |<- M2A switch ->|
* | slow cycles & | soc wakeup | |
* | FOSC cycles |<- S2M switch ->| |
* | |
* |<-- PMU guard time, also the maximum time for the SOC -->|
* | wake-up delay |
*/
#if SOC_PM_SUPPORT_PMU_MODEM_STATE && CONFIG_ESP_WIFI_ENHANCED_LIGHT_SLEEP
const int rf_on_protect_time_us = mc->hp.regdma_rf_on_work_time_us;
const int total_hw_wait_time_us = lp_hw_wait_time_us + hp_hw_wait_time_us + mc->hp.clock_domain_sync_time_us;
#else
const int rf_on_protect_time_us = 0;
const int total_hw_wait_time_us = lp_hw_wait_time_us + hp_hw_wait_time_us;
#endif
return total_hw_wait_time_us + rf_on_protect_time_us;
}
#define rtc_time_us_to_fastclk(time_us, period) rtc_time_us_to_slowclk((time_us), (period))
static inline pmu_sleep_param_config_t * pmu_sleep_param_config_default(
pmu_sleep_param_config_t *param,
pmu_sleep_power_config_t *power, /* We'll use the runtime power parameter to determine some hardware parameters */
const uint32_t pd_flags,
const uint32_t adjustment,
const uint32_t slowclk_period,
const uint32_t fastclk_period
)
{
const pmu_sleep_machine_constant_t *mc = (pmu_sleep_machine_constant_t *)PMU_instance()->mc;
param->hp_sys.min_slp_slow_clk_cycle = rtc_time_us_to_slowclk(mc->hp.min_slp_time_us, slowclk_period);
param->hp_sys.analog_wait_target_cycle = rtc_time_us_to_fastclk(mc->hp.analog_wait_time_us, fastclk_period);
param->hp_sys.digital_power_supply_wait_cycle = rtc_time_us_to_fastclk(mc->hp.power_supply_wait_time_us, fastclk_period);
param->hp_sys.digital_power_up_wait_cycle = rtc_time_us_to_fastclk(mc->hp.power_up_wait_time_us, fastclk_period);
param->hp_sys.pll_stable_wait_cycle = rtc_time_us_to_fastclk(mc->hp.pll_wait_stable_time_us, fastclk_period);
const int hw_wait_time_us = pmu_sleep_calculate_hw_wait_time(pd_flags, slowclk_period, fastclk_period);
const int modem_state_skip_time_us = mc->hp.regdma_m2a_work_time_us + mc->hp.system_dfs_up_work_time_us + mc->lp.min_slp_time_us;
const int modem_wakeup_wait_time_us = adjustment - hw_wait_time_us + modem_state_skip_time_us + mc->hp.regdma_rf_on_work_time_us;
param->hp_sys.modem_wakeup_wait_cycle = rtc_time_us_to_fastclk(modem_wakeup_wait_time_us, fastclk_period);
param->lp_sys.min_slp_slow_clk_cycle = rtc_time_us_to_slowclk(mc->lp.min_slp_time_us, slowclk_period);
param->lp_sys.analog_wait_target_cycle = rtc_time_us_to_slowclk(mc->lp.analog_wait_time_us, slowclk_period);
param->lp_sys.digital_power_supply_wait_cycle = rtc_time_us_to_fastclk(mc->lp.power_supply_wait_time_us, fastclk_period);
param->lp_sys.digital_power_up_wait_cycle = rtc_time_us_to_fastclk(mc->lp.power_up_wait_time_us, fastclk_period);
if (power->hp_sys.xtal.xpd_xtal) {
param->hp_lp.xtal_stable_wait_slow_clk_cycle = rtc_time_us_to_slowclk(mc->lp.xtal_wait_stable_time_us, slowclk_period);
} else {
param->hp_lp.xtal_stable_wait_cycle = rtc_time_us_to_fastclk(mc->hp.xtal_wait_stable_time_us, fastclk_period);
}
return param;
}
const pmu_sleep_config_t* pmu_sleep_config_default(
pmu_sleep_config_t *config,
uint32_t pd_flags,
uint32_t adjustment,
uint32_t slowclk_period,
uint32_t fastclk_period,
bool dslp
)
{
pmu_sleep_power_config_t power_default = PMU_SLEEP_POWER_CONFIG_DEFAULT(pd_flags);
uint32_t iram_pd_flags = 0;
iram_pd_flags |= (pd_flags & PMU_SLEEP_PD_MEM_G0) ? BIT(0) : 0;
iram_pd_flags |= (pd_flags & PMU_SLEEP_PD_MEM_G1) ? BIT(1) : 0;
iram_pd_flags |= (pd_flags & PMU_SLEEP_PD_MEM_G2) ? BIT(2) : 0;
iram_pd_flags |= (pd_flags & PMU_SLEEP_PD_MEM_G3) ? BIT(3) : 0;
config->power = power_default;
pmu_sleep_param_config_t param_default = PMU_SLEEP_PARAM_CONFIG_DEFAULT(pd_flags);
config->param = *pmu_sleep_param_config_default(¶m_default, &power_default, pd_flags, adjustment, slowclk_period, fastclk_period);
if (dslp) {
config->param.lp_sys.analog_wait_target_cycle = rtc_time_us_to_slowclk(PMU_LP_ANALOG_WAIT_TARGET_TIME_DSLP_US, slowclk_period);
pmu_sleep_analog_config_t analog_default = PMU_SLEEP_ANALOG_DSLP_CONFIG_DEFAULT(pd_flags);
analog_default.lp_sys[LP(SLEEP)].analog.dbg_atten = get_dslp_dbg();
analog_default.lp_sys[LP(SLEEP)].analog.dbias = get_dslp_lp_dbias();
config->analog = analog_default;
} else {
pmu_sleep_digital_config_t digital_default = PMU_SLEEP_DIGITAL_LSLP_CONFIG_DEFAULT(pd_flags);
config->digital = digital_default;
pmu_sleep_analog_config_t analog_default = PMU_SLEEP_ANALOG_LSLP_CONFIG_DEFAULT(pd_flags);
analog_default.hp_sys.analog.dbg_atten = get_lslp_dbg();
analog_default.hp_sys.analog.dbias = get_lslp_hp_dbias();
analog_default.lp_sys[LP(SLEEP)].analog.dbias = PMU_LP_DBIAS_LIGHTSLEEP_0V7_DEFAULT;
if (!(pd_flags & PMU_SLEEP_PD_XTAL)){
analog_default.hp_sys.analog.pd_cur = PMU_PD_CUR_SLEEP_ON;
analog_default.hp_sys.analog.bias_sleep = PMU_BIASSLP_SLEEP_ON;
analog_default.hp_sys.analog.dbg_atten = PMU_DBG_ATTEN_ACTIVE_DEFAULT;
analog_default.hp_sys.analog.dbias = get_act_hp_dbias();
analog_default.lp_sys[LP(SLEEP)].analog.pd_cur = PMU_PD_CUR_SLEEP_ON;
analog_default.lp_sys[LP(SLEEP)].analog.bias_sleep = PMU_BIASSLP_SLEEP_ON;
analog_default.lp_sys[LP(SLEEP)].analog.dbg_atten = PMU_DBG_ATTEN_ACTIVE_DEFAULT;
analog_default.lp_sys[LP(SLEEP)].analog.dbias = get_act_lp_dbias();
} else if (!(pd_flags & PMU_SLEEP_PD_RC_FAST)) {
analog_default.hp_sys.analog.dbias = get_act_hp_dbias();
analog_default.lp_sys[LP(SLEEP)].analog.dbg_atten = PMU_DBG_ATTEN_LIGHTSLEEP_NODROP;
analog_default.lp_sys[LP(SLEEP)].analog.dbias = get_act_lp_dbias();
}
config->analog = analog_default;
}
return config;
}
static void pmu_sleep_power_init(pmu_context_t *ctx, const pmu_sleep_power_config_t *power, bool dslp)
{
pmu_ll_hp_set_dig_power(ctx->hal->dev, HP(SLEEP), power->hp_sys.dig_power.val);
pmu_ll_hp_set_clk_power(ctx->hal->dev, HP(SLEEP), power->hp_sys.clk_power.val);
pmu_ll_hp_set_xtal_xpd (ctx->hal->dev, HP(SLEEP), power->hp_sys.xtal.xpd_xtal);
pmu_ll_lp_set_dig_power(ctx->hal->dev, LP(ACTIVE), power->lp_sys[LP(ACTIVE)].dig_power.val);
pmu_ll_lp_set_clk_power(ctx->hal->dev, LP(ACTIVE), power->lp_sys[LP(ACTIVE)].clk_power.val);
pmu_ll_lp_set_dig_power(ctx->hal->dev, LP(SLEEP), power->lp_sys[LP(SLEEP)].dig_power.val);
pmu_ll_lp_set_clk_power(ctx->hal->dev, LP(SLEEP), power->lp_sys[LP(SLEEP)].clk_power.val);
pmu_ll_lp_set_xtal_xpd (ctx->hal->dev, LP(SLEEP), power->lp_sys[LP(SLEEP)].xtal.xpd_xtal);
}
static void pmu_sleep_digital_init(pmu_context_t *ctx, const pmu_sleep_digital_config_t *dig)
{
pmu_ll_hp_set_dig_pad_slp_sel (ctx->hal->dev, HP(SLEEP), dig->syscntl.dig_pad_slp_sel);
}
static void pmu_sleep_analog_init(pmu_context_t *ctx, const pmu_sleep_analog_config_t *analog, bool dslp)
{
assert(ctx->hal);
pmu_ll_hp_set_dbg_atten (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.dbg_atten);
pmu_ll_hp_set_current_power_off (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.pd_cur);
pmu_ll_hp_set_bias_sleep_enable (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.bias_sleep);
pmu_ll_hp_set_regulator_xpd (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.xpd);
pmu_ll_hp_set_regulator_dbias (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.dbias);
pmu_ll_hp_set_regulator_driver_bar (ctx->hal->dev, HP(SLEEP), analog->hp_sys.analog.drv_b);
pmu_ll_lp_set_dbg_atten (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.dbg_atten);
pmu_ll_lp_set_current_power_off (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.pd_cur);
pmu_ll_lp_set_bias_sleep_enable (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.bias_sleep);
pmu_ll_lp_set_regulator_slp_xpd (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.slp_xpd);
pmu_ll_lp_set_regulator_xpd (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.xpd);
pmu_ll_lp_set_regulator_sleep_dbias(ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.slp_dbias);
pmu_ll_lp_set_regulator_dbias (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.dbias);
pmu_ll_lp_set_regulator_driver_bar (ctx->hal->dev, LP(SLEEP), analog->lp_sys[LP(SLEEP)].analog.drv_b);
}
static void pmu_sleep_param_init(pmu_context_t *ctx, const pmu_sleep_param_config_t *param, bool dslp)
{
assert(ctx->hal);
pmu_ll_hp_set_min_sleep_cycle(ctx->hal->dev, param->hp_sys.min_slp_slow_clk_cycle);
pmu_ll_lp_set_min_sleep_cycle(ctx->hal->dev, param->lp_sys.min_slp_slow_clk_cycle);
pmu_ll_hp_set_analog_wait_target_cycle(ctx->hal->dev, param->hp_sys.analog_wait_target_cycle);
pmu_ll_lp_set_analog_wait_target_cycle(ctx->hal->dev, param->lp_sys.analog_wait_target_cycle);
pmu_hal_hp_set_digital_power_up_wait_cycle(ctx->hal, param->hp_sys.digital_power_supply_wait_cycle, param->hp_sys.digital_power_up_wait_cycle);
pmu_hal_lp_set_digital_power_up_wait_cycle(ctx->hal, param->lp_sys.digital_power_supply_wait_cycle, param->lp_sys.digital_power_up_wait_cycle);
pmu_ll_set_modem_wait_target_cycle(ctx->hal->dev, param->hp_sys.modem_wakeup_wait_cycle);
pmu_ll_set_xtal_stable_wait_cycle(ctx->hal->dev, param->hp_lp.xtal_stable_wait_slow_clk_cycle);
pmu_ll_set_pll_stable_wait_cycle(ctx->hal->dev, param->hp_sys.pll_stable_wait_cycle);
}
bool pmu_sleep_pll_already_enabled(void)
{
return (pmu_ll_get_sysclk_sleep_select_state(PMU_instance()->hal->dev) != 0);
}
void pmu_sleep_init(const pmu_sleep_config_t *config, bool dslp)
{
assert(PMU_instance());
pmu_sleep_power_init(PMU_instance(), &config->power, dslp);
if(!dslp){
pmu_sleep_digital_init(PMU_instance(), &config->digital);
}
pmu_sleep_analog_init(PMU_instance(), &config->analog, dslp);
pmu_sleep_param_init(PMU_instance(), &config->param, dslp);
}
uint32_t pmu_sleep_start(uint32_t wakeup_opt, uint32_t reject_opt, uint32_t lslp_mem_inf_fpu, bool dslp)
{
assert(PMU_instance()->hal);
lp_aon_hal_inform_wakeup_type(dslp);
pmu_ll_hp_set_wakeup_enable(PMU_instance()->hal->dev, wakeup_opt);
pmu_ll_hp_set_reject_enable(PMU_instance()->hal->dev, reject_opt);
pmu_ll_hp_clear_wakeup_intr_status(PMU_instance()->hal->dev);
pmu_ll_hp_clear_reject_intr_status(PMU_instance()->hal->dev);
pmu_ll_hp_clear_reject_cause(PMU_instance()->hal->dev);
/* Start entry into sleep mode */
pmu_ll_hp_set_sleep_enable(PMU_instance()->hal->dev);
/* In pd_cpu lightsleep and deepsleep mode, we never get here */
while (!pmu_ll_hp_is_sleep_wakeup(PMU_instance()->hal->dev) &&
!pmu_ll_hp_is_sleep_reject(PMU_instance()->hal->dev)) {
;
}
return pmu_sleep_finish(dslp);
}
bool pmu_sleep_finish(bool dslp)
{
(void)dslp;
// Wait eFuse memory update done.
while(efuse_ll_get_controller_state() != EFUSE_CONTROLLER_STATE_IDLE);
return pmu_ll_hp_is_sleep_reject(PMU_instance()->hal->dev);
}
void pmu_sleep_enable_hp_sleep_sysclk(bool enable)
{
pmu_ll_hp_set_icg_sysclk_enable(PMU_instance()->hal->dev, HP(SLEEP), enable);
}
uint32_t pmu_sleep_get_wakup_retention_cost(void)
{
const pmu_sleep_machine_constant_t *mc = (pmu_sleep_machine_constant_t *)PMU_instance()->mc;
return mc->hp.regdma_s2a_work_time_us;
}
``` |
```java
/**
* <p>
*
* path_to_url
*
* </p>
**/
package com.vip.saturn.job.console.mybatis.repository;
import com.vip.saturn.job.console.mybatis.entity.UserRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author hebelala
*/
@Repository
public interface UserRoleRepository {
int insert(UserRole userRole);
List<UserRole> selectAll();
List<UserRole> selectByUserName(@Param("userName") String userName);
List<UserRole> selectByRoleKey(@Param("roleKey") String roleKey);
/**
* nullwhere
*/
List<UserRole> select(UserRole userRole);
UserRole selectWithNotFilterDeleted(UserRole userRole);
int delete(UserRole userRole);
int update(@Param("pre") UserRole pre, @Param("cur") UserRole cur);
}
``` |
The 1984–85 Iona Gaels men's basketball team represented Iona College during the 1984–85 NCAA Division I men's basketball season. The Gaels, led fifth-year by head coach Pat Kennedy, played their home games at the Hynes Athletic Center and were members of the Metro Atlantic Athletic Conference. The Gaals finished atop the MAAC regular season standings, and would go on to win the MAAC Basketball tournament to receive an automatic bid to the 1984 NCAA tournament. As the No. 13 seed in the East region, the Gaels lost to No. 4 seed Loyola–Chicago in the opening round.
Roster
Schedule and results
|-
!colspan=9 style=| Regular season
|-
!colspan=9 style=| MAAC tournament
|-
!colspan=9 style=| NCAA tournament
References
Iona Gaels men's basketball seasons
Iona
Iona
Iona Gaels men's basketball
Iona Gaels men's basketball |
Daniel Laing Jr. (1824 - 1869) was a doctor in the United States and Liberia. He was one of the first African-American physicians in the United States.
Biography
Laing was born a free black in Boston. He tried to make a living as an independent printer before deciding to emigrate to Liberia. The American Colonization Society, which advocated settling America's free blacks in Liberia, convinced Laing that he should study medicine because Liberia needed doctors more than printers. Laing and another free black, Isaac H. Snowden, then studied under Horace Clarke, a surgeon at Massachusetts General Hospital. They both applied for admission to Harvard Medical School in 1850, on the sponsorship of the Society and under the promise that they would emigrate to Liberia after earning their degrees. A third free black, Martin Delany, also applied separately.
The Harvard faculty voted to admit all three, and Laing, Snowden and Delany attended during the 1850-51 winter semester. A majority of the school's students protested their admission and petitioned for their removal, with many students threatening to transfer. The faculty eventually bowed to the students' pressure, so Laing and the other blacks were expelled.
Laing subsequently left the U.S. to study for two years under the French surgeon Alfred-Armand-Louis-Marie Velpeau in Paris. He returned to finish his education at Dartmouth Medical School, receiving his medical degree in 1854. Laing became a specialist on remittant fever and moved with his wife, Anna Bicknell Parker, to Liberia, where he spent the next decade working as a physician for the American Colonization Society. His son Joseph was born in Monrovia, Liberia in 1860; Laing also had a daughter, Mary. Laing contracted a fever in the mid-1860s, and moved his family to Charleston, South Carolina, where he died in 1869. His family would later claim that he was poisoned at a banquet held in his honor, by whites who opposed his plan to open a medical clinic for blacks. After her husband's death, Anna moved her children to Providence, Rhode Island. Mary died there in 1880.
His son Joseph married and had four children. His daughter, Ada, eloped in 1914 with Fritz Pollard, to whom Joseph had rented a room the year before. Pollard later became one of the first African-American players in the NFL, and the first African-American head coach.
Notes
References
.
.
.
Further reading
.
.
19th-century American physicians
19th-century African-American physicians
Harvard Medical School alumni
Geisel School of Medicine alumni
Physicians from Boston
American expatriates in Liberia
Year of birth unknown
1869 deaths
People from Monrovia |
Nicole Arrold (born 7 November 1981) is an Australian field hockey player who competed in the 2004 Summer Olympics and in the 2008 Summer Olympics. She also participated at the Commonwealth Games where she won gold medals in 2006 and 2010 respectively.
Inaugural inductee to University of Canberra Sport Walk of Fame in 2022.
References
External links
1981 births
Living people
Australian female field hockey players
Olympic field hockey players for Australia
Field hockey players at the 2004 Summer Olympics
Field hockey players at the 2008 Summer Olympics
Sportspeople from Canberra
Commonwealth Games medallists in field hockey
Commonwealth Games gold medallists for Australia
ACT Academy of Sport alumni
Field hockey players at the 2006 Commonwealth Games
Field hockey players at the 2010 Commonwealth Games
University of Canberra alumni
21st-century Australian women
Medallists at the 2006 Commonwealth Games
Medallists at the 2010 Commonwealth Games
Sportswomen from the Australian Capital Territory |
The Autovía A-3 (also called Autovía del Este) () is a Spanish autovía which starts in Madrid and ends in Valencia. It is the shortest of the six radial autovías stemming from Madrid, at 355 km (220.5 miles), and the entirety of the route forms the entirety of the European route E901, a B class road in the International E-road network.
Sections
Major cities crossed
Madrid
Arganda del Rey
Tarancón
Honrubia
Motilla del Palancar
Minglanilla
Utiel
Requena
Buñol
Cheste
Valencia
Route
/ : Madrid () – Atalaya del Cañavate ()– Valencia ()
External links
UN Economic Commission for Europe: Overall Map of E-road Network (2007)
Autovía A-3 in Google Maps
International E-road network
A-3
A-3
A-3
A-3
International E-road network |
Richmond Valley Council (RVC) is a local government area on the Northern Rivers region of north-eastern New South Wales, Australia. RVC services an area of and draws its name from the Richmond River, which flows through most of the council area. The area under management is located adjacent to the Bruxner Highway, Pacific Highway, and the North Coast railway line.
It is a rural area for the most part, with most industries involving cattle and crop growing, such as sugar cane, wheat, and pecan plantation.
The mayor of the Richmond Valley Council is Cr. Robert Mustow, an independent politician.
History
Following a petition of 76 ratepayers, elections were held 22 March 1880 for the Casino Council. Tomki Shire Council merged with in 1976 to become the Richmond River Shire Council, which amalgamated with the Municipality of Casino into the Richmond Valley Council in February 2000.
Heritage listings
The Richmond Valley Council has a number of heritage-listed sites, including:
High Conservation Value Old Growth forest
Towns and localities
Demographics
At the 2016 census, there were people in the Richmond Valley local government area, of these 49.5 per cent were male and 50.5 per cent were female. Aboriginal and Torres Strait Islander people made up 6.6 per cent of the population, which was significantly higher than the national and state averages of 2.5 per cent. The median age of people in the Richmond Valley area was 42 years, which was marginally higher than the national median of 37 years. Children aged 0 – 14 years made up 20.8 per cent of the population and people aged 65 years and over made up 19.6 per cent of the population. Of people in the area aged 15 years and over, 47.6 per cent were married and 13.7 per cent were either divorced or separated.
Population growth in the Richmond Valley area between the and the was 4.9 per cent; and in the subsequent five years to the 2011 census, the population growth was 3.4 per cent. When compared with total population growth of Australia for the same periods, being 5.78 per cent and 8.32 per cent respectively, population growth in the Richmond Valley local government area was significantly lower than the national average. The median weekly income for residents within the Richmond Valley area was marginally lower than the national average.
At the 2011 census, the proportion of residents in the Richmond Valley local government area who stated their ancestry as Australian or Anglo-Celtic exceeded 86 per cent of all residents (national average was 65.2 per cent). In excess of 16 per cent of all residents in the Richmond Valley at the 2011 census nominated no religious affiliation, compared to the national average of 22.3 per cent. Meanwhile, affiliation with Christianity exceeded 66 per cent, which was significantly higher than the national average of 50.2 per cent. As at the census date, compared to the national average, households in the Richmond Valley local government area had a significantly lower than average proportion (3.3 per cent) where two or more languages are spoken (national average was 20.4 per cent); and a significantly higher proportion (93.8 per cent) where English only was spoken at home (national average was 76.8 per cent).
Council
Current composition and election method
Richmond Valley Council is composed of seven councillors, including the mayor, for a fixed four-year term of office. The mayor is directly elected while the six other councillors are elected proportionally as one entire ward. The most recent election was held on 4 December 2021, and the makeup of the council, including the mayor, is as follows:
The current Council, elected in 2021, is:
See also
Local government areas of New South Wales
References
Local government areas of New South Wales
Northern Rivers
2000 establishments in Australia |
```objective-c
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. path_to_url
#ifndef XFA_FXFA_PARSER_CXFA_ENCRYPTIONMETHOD_H_
#define XFA_FXFA_PARSER_CXFA_ENCRYPTIONMETHOD_H_
#include "xfa/fxfa/parser/cxfa_node.h"
class CXFA_EncryptionMethod final : public CXFA_Node {
public:
CXFA_EncryptionMethod(CXFA_Document* doc, XFA_PacketType packet);
~CXFA_EncryptionMethod() override;
};
#endif // XFA_FXFA_PARSER_CXFA_ENCRYPTIONMETHOD_H_
``` |
Heliozela isochroa is a moth of the Heliozelidae family. It was described by Edward Meyrick in 1897. It is found in New South Wales.
References
Moths described in 1897
Heliozelidae |
```yaml
# coding:utf-8
time_out: 200 # timeout for crawling and storing user info
min_crawl_interal: 10 # min interal of http request
max_crawl_interal: 20 # max interal of http request
excp_interal: 5*60 # time for sleeping when crawling raises exceptions
# TODO set a default value for max_value of crawling
max_search_page: 50 # max search page for crawling
max_home_page: 50 # max user home page for crawling
max_comment_page: 2000 # max comment page for crawling
max_repost_page: 2000 # max repost page for crawling
max_dialogue_page: 2000 # max dialogue page for crawling
max_retries: 5 # retry times for crawling
# You should set the args below if you login from uncommon place
# It's for verification code indentified
yundama_username: xxxxxx # account for yundama
yundama_passwd: xxxxxx # password for yundama
# only crawl weibo(bowen) after
# only affect to home crawler
time_after: '1970-01-01 08:00:00'
# whether account follows the uid below
# if yes rows in wbuser will have 1 at isFan column
samefollow_uid: ''
# The value of running_mode can be normal or quick.
# In normal mode, it will be more stable, while in quick mode, the crawling speed will
# be much faster, and the weibo account almostly will be banned
running_mode: normal
# The value of crawling mode can be accurate or normal
# In normal mode, the spider won't crawl the weibo content of "" when execute home crawl tasks or search crawl
# tasks, so the speed will be much quicker.
# In accurate mode,the spider will crawl the info of "",which will be slower, but more details will be given.
crawling_mode: normal
# the max number of each cookie can be shared
# if you choose quick mode, your cookie will be used util it's banned
share_host_count: 5
# the expire time(hours) of each weibo cookies
cookie_expire_time: 23
# 1 for allow download images, otherwise set it to 0
images_allow: 1
# the default image path is '${user.home}/weibospider/images'
# if you want to change another directory for download image, just set the path below
images_path: ''
# the value can be large or thumbnail
# in large type, you will download the large image
# in thumbnail type, you will download the thumbnail image
image_type: large
db:
host: 127.0.0.1
port: 3306
user: root
password: 123456
db_name: weibo
db_type: mysql
redis:
host: 127.0.0.1
port: 6379
password: ''
cookies: 1 # store and fetch cookies
# store fetched urls and results,so you can decide whether retry to crawl the urls or not
urls: 2
broker: 5 # broker for celery
backend: 6 # backed for celery
id_name: 8 # user id and namesfor repost info analysis. Could be safely deleted after repost tasks
# expire_time (hours) for redis db2, if they are useless to you, you can set the value smaller
expire_time: 48
# redis sentinel for ha. if you neet it, just add sentinel host and port below the sentinel args,like this:
###############################
#sentinel: #
# - host: 2.2.2.2 #
# port: 26379 #
# - host: 3.3.3.3 #
# port: 26379 #
# #
###############################
sentinel: ''
master: '' # redis sentinel master name, if you don't need it, just set master: ''
socket_timeout: 5 # socket timeout for redis sentinel, if you don't need it, just set master: ''
# warning by email
email:
# your email must open smtp & pop3 service
server: smtp.sina.com
port: 587
from: xxxxx@sina.com #sendingemailaccount
password: xxxx #youremailpasswd
to: xxxxxxxx@139.com #bind 139 email,so your phone will receive the warning message
subject: Warning Of Weibo Spider
warning_info: Please find out the reason why the spider stops working
``` |
Hellé (Helle) is an opera by the French composer Étienne-Joseph Floquet, first performed at the Académie Royale de Musique (the Paris Opéra) on 5 January 1779. It takes the form of a tragédie lyrique in three acts. The libretto, by Pierre Lemonnier, is based on the Greek myth of Helle. At this time, there was little demand for operas by native French composers (Parisian audiences preferred works by the German Christoph Willibald Gluck or the Italian Niccolò Piccinni) and Floquet struggled to have Hellé staged. When it eventually appeared in 1779, it was booed, despite Floquet's attempt to imitate the style of Piccinni, and ran for only three performances.
Roles
Synopsis
Hellé is a princess of Colchis. Her father Athamas has died and left her to the care of his sister Ino, Queen of Thebes. The god Neptune is in love with Hellé and has been wooing her disguised as a mortal called Arsame. However, Ino is also in love with Arsame and resorts to a magician, Elphingor, to stop the wedding of Hellé and Arsame. Elphingor conjures a vision which persuades Hellé that her beloved has been unfaithful to her and she flees from the court. Elphingor also helps Ino by producing a storm which wrecks the ship in which Hellé is travelling. Neptune is angry that a storm has been raised without his permission. He seeks the culprit, finds it is Ino and when he reveals his true identity to her, she kills herself in despair. Neptune brings Hellé to his underwater palace and makes her ruler of the sea in which her ship sank, giving it the region the name Hellespont after her.
References
Sources
Félix Clément and Pierre Larousse Dictionnaire des Opéras, p. 339.
Louis Petit de Bachaumont, Mémoires secrets pour servir à l'histoire de la république des lettres en France, 1780.
, "Foreigners at the Académie Royale de Musique" in Antonio Sacchini, Renaud, Madrid, Ediciones Singulares, 2013 (book accompanying the complete recording conducted by Christophe Rousset).
Spire Pitou, The Paris Opéra. An Encyclopedia of Operas, Ballets, Composers, and Performers – Rococo and Romantic, 1715–1815, Westport/London, Greenwood Press, 1985.
Julian Rushton, article "Floquet, Étienne-Joseph" in The New Grove Dictionary of Music and Musicians
Operas
French-language operas
Tragédies en musique
1779 operas
Operas based on classical mythology |
```smalltalk
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.BotBuilderSamples.SSOSkillBot.Bots;
using Microsoft.BotBuilderSamples.SSOSkillBot.Dialogs;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Microsoft.BotBuilderSamples.SSOSkillBot
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers().AddNewtonsoftJson(options =>
{
options.SerializerSettings.MaxDepth = HttpHelper.BotMessageSerializerSettings.MaxDepth;
});
// Register AuthConfiguration to enable custom claim validation.
services.AddSingleton(sp =>
{
var allowedCallers = new List<string>(sp.GetService<IConfiguration>().GetSection("AllowedCallers").Get<string[]>());
var claimsValidator = new AllowedCallersClaimsValidator(allowedCallers);
// If TenantId is specified in config, add the tenant as a valid JWT token issuer for Bot to Skill conversation.
// The token issuer for MSI and single tenant scenarios will be the tenant where the bot is registered.
var validTokenIssuers = new List<string>();
var tenantId = sp.GetService<IConfiguration>().GetSection(MicrosoftAppCredentials.MicrosoftAppTenantIdKey)?.Value;
if (!string.IsNullOrWhiteSpace(tenantId))
{
// For SingleTenant/MSI auth, the JWT tokens will be issued from the bot's home tenant.
// Therefore, these issuers need to be added to the list of valid token issuers for authenticating activity requests.
validTokenIssuers.Add(string.Format(CultureInfo.InvariantCulture, AuthenticationConstants.ValidTokenIssuerUrlTemplateV1, tenantId));
validTokenIssuers.Add(string.Format(CultureInfo.InvariantCulture, AuthenticationConstants.ValidTokenIssuerUrlTemplateV2, tenantId));
validTokenIssuers.Add(string.Format(CultureInfo.InvariantCulture, AuthenticationConstants.ValidGovernmentTokenIssuerUrlTemplateV1, tenantId));
validTokenIssuers.Add(string.Format(CultureInfo.InvariantCulture, AuthenticationConstants.ValidGovernmentTokenIssuerUrlTemplateV2, tenantId));
}
return new AuthenticationConfiguration
{
ClaimsValidator = claimsValidator,
ValidTokenIssuers = validTokenIssuers
};
});
// Create the Bot Framework Authentication to be used with the Bot Adapter.
services.AddSingleton<BotFrameworkAuthentication, ConfigurationBotFrameworkAuthentication>();
// Create the Bot Framework Adapter with error handling enabled.
services.AddSingleton<IBotFrameworkHttpAdapter, SsoSkillAdapterWithErrorHandler>();
// Create the storage we'll be using for User and Conversation state. (Memory is great for testing purposes.)
services.AddSingleton<IStorage, MemoryStorage>();
// Create the Conversation state. (Used by the Dialog system itself.)
services.AddSingleton<ConversationState>();
// The Dialog that will be run by the bot.
services.AddSingleton<ActivityRouterDialog>();
// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, SkillBot<ActivityRouterDialog>>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseDefaultFiles()
.UseStaticFiles()
.UseWebSockets()
.UseRouting()
.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
// Uncomment this to support HTTPS.
// app.UseHttpsRedirection();
}
}
}
``` |
```objective-c
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google LLC nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
/* minidump_format.h: A cross-platform reimplementation of minidump-related
* portions of DbgHelp.h from the Windows Platform SDK.
*
* (This is C99 source, please don't corrupt it with C++.)
*
* Structures that are defined by Microsoft to contain a zero-length array
* are instead defined here to contain an array with one element, as
* zero-length arrays are forbidden by standard C and C++. In these cases,
* *_minsize constants are provided to be used in place of sizeof. For a
* cleaner interface to these sizes when using C++, see minidump_size.h.
*
* These structures are also sufficient to populate minidump files.
*
* These definitions may be extended to support handling minidump files
* for other CPUs and other operating systems.
*
* Because precise data type sizes are crucial for this implementation to
* function properly and portably in terms of interoperability with minidumps
* produced by DbgHelp on Windows, a set of primitive types with known sizes
* are used as the basis of each structure defined by this file. DbgHelp
* on Windows is assumed to be the reference implementation; this file
* seeks to provide a cross-platform compatible implementation. To avoid
* collisions with the types and values defined and used by DbgHelp in the
* event that this implementation is used on Windows, each type and value
* defined here is given a new name, beginning with "MD". Names of the
* equivalent types and values in the Windows Platform SDK are given in
* comments.
*
* Author: Mark Mentovai */
#ifndef GOOGLE_BREAKPAD_COMMON_MINIDUMP_FORMAT_H__
#define GOOGLE_BREAKPAD_COMMON_MINIDUMP_FORMAT_H__
#include <stddef.h>
#include "google_breakpad/common/breakpad_types.h"
#if defined(_MSC_VER)
/* Disable "zero-sized array in struct/union" warnings when compiling in
* MSVC. DbgHelp.h does this too. */
#pragma warning(push)
#pragma warning(disable:4200)
#endif /* _MSC_VER */
/*
* guiddef.h
*/
typedef struct {
uint32_t data1;
uint16_t data2;
uint16_t data3;
uint8_t data4[8];
} MDGUID; /* GUID */
/*
* WinNT.h
*/
/* Non-x86 CPU identifiers found in the high 24 bits of
* (MDRawContext*).context_flags. These aren't used by Breakpad, but are
* defined here for reference, to avoid assigning values that conflict
* (although some values already conflict). */
#define MD_CONTEXT_IA64 0x00080000 /* CONTEXT_IA64 */
/* Additional values from winnt.h in the Windows CE 5.0 SDK: */
#define MD_CONTEXT_SHX 0x000000c0 /* CONTEXT_SH4 (Super-H, includes SH3) */
#define MD_CONTEXT_ALPHA 0x00020000 /* CONTEXT_ALPHA */
/* As of Windows 7 SP1, the number of flag bits has increased to
* include 0x40 (CONTEXT_XSTATE):
* path_to_url */
#define MD_CONTEXT_CPU_MASK 0xffffff00
/* This is a base type for MDRawContextX86 and MDRawContextPPC. This
* structure should never be allocated directly. The actual structure type
* can be determined by examining the context_flags field. */
typedef struct {
uint32_t context_flags;
} MDRawContextBase;
#include "minidump_cpu_amd64.h"
#include "minidump_cpu_arm.h"
#include "minidump_cpu_arm64.h"
#include "minidump_cpu_mips.h"
#include "minidump_cpu_ppc.h"
#include "minidump_cpu_ppc64.h"
#include "minidump_cpu_riscv.h"
#include "minidump_cpu_sparc.h"
#include "minidump_cpu_x86.h"
/*
* WinVer.h
*/
typedef struct {
uint32_t signature;
uint32_t struct_version;
uint32_t file_version_hi;
uint32_t file_version_lo;
uint32_t product_version_hi;
uint32_t product_version_lo;
uint32_t file_flags_mask; /* Identifies valid bits in fileFlags */
uint32_t file_flags;
uint32_t file_os;
uint32_t file_type;
uint32_t file_subtype;
uint32_t file_date_hi;
uint32_t file_date_lo;
} MDVSFixedFileInfo; /* VS_FIXEDFILEINFO */
/* For (MDVSFixedFileInfo).signature */
#define MD_VSFIXEDFILEINFO_SIGNATURE 0xfeef04bd
/* VS_FFI_SIGNATURE */
/* For (MDVSFixedFileInfo).version */
#define MD_VSFIXEDFILEINFO_VERSION 0x00010000
/* VS_FFI_STRUCVERSION */
/* For (MDVSFixedFileInfo).file_flags_mask and
* (MDVSFixedFileInfo).file_flags */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_DEBUG 0x00000001
/* VS_FF_DEBUG */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_PRERELEASE 0x00000002
/* VS_FF_PRERELEASE */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_PATCHED 0x00000004
/* VS_FF_PATCHED */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_PRIVATEBUILD 0x00000008
/* VS_FF_PRIVATEBUILD */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_INFOINFERRED 0x00000010
/* VS_FF_INFOINFERRED */
#define MD_VSFIXEDFILEINFO_FILE_FLAGS_SPECIALBUILD 0x00000020
/* VS_FF_SPECIALBUILD */
/* For (MDVSFixedFileInfo).file_os: high 16 bits */
#define MD_VSFIXEDFILEINFO_FILE_OS_UNKNOWN 0 /* VOS_UNKNOWN */
#define MD_VSFIXEDFILEINFO_FILE_OS_DOS (1 << 16) /* VOS_DOS */
#define MD_VSFIXEDFILEINFO_FILE_OS_OS216 (2 << 16) /* VOS_OS216 */
#define MD_VSFIXEDFILEINFO_FILE_OS_OS232 (3 << 16) /* VOS_OS232 */
#define MD_VSFIXEDFILEINFO_FILE_OS_NT (4 << 16) /* VOS_NT */
#define MD_VSFIXEDFILEINFO_FILE_OS_WINCE (5 << 16) /* VOS_WINCE */
/* Low 16 bits */
#define MD_VSFIXEDFILEINFO_FILE_OS__BASE 0 /* VOS__BASE */
#define MD_VSFIXEDFILEINFO_FILE_OS__WINDOWS16 1 /* VOS__WINDOWS16 */
#define MD_VSFIXEDFILEINFO_FILE_OS__PM16 2 /* VOS__PM16 */
#define MD_VSFIXEDFILEINFO_FILE_OS__PM32 3 /* VOS__PM32 */
#define MD_VSFIXEDFILEINFO_FILE_OS__WINDOWS32 4 /* VOS__WINDOWS32 */
/* For (MDVSFixedFileInfo).file_type */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_UNKNOWN 0 /* VFT_UNKNOWN */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_APP 1 /* VFT_APP */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_DLL 2 /* VFT_DLL */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_DRV 3 /* VFT_DLL */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_FONT 4 /* VFT_FONT */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_VXD 5 /* VFT_VXD */
#define MD_VSFIXEDFILEINFO_FILE_TYPE_STATIC_LIB 7 /* VFT_STATIC_LIB */
/* For (MDVSFixedFileInfo).file_subtype */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_UNKNOWN 0
/* VFT2_UNKNOWN */
/* with file_type = MD_VSFIXEDFILEINFO_FILETYPE_DRV */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_PRINTER 1
/* VFT2_DRV_PRINTER */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_KEYBOARD 2
/* VFT2_DRV_KEYBOARD */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_LANGUAGE 3
/* VFT2_DRV_LANGUAGE */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_DISPLAY 4
/* VFT2_DRV_DISPLAY */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_MOUSE 5
/* VFT2_DRV_MOUSE */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_NETWORK 6
/* VFT2_DRV_NETWORK */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_SYSTEM 7
/* VFT2_DRV_SYSTEM */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_INSTALLABLE 8
/* VFT2_DRV_INSTALLABLE */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_SOUND 9
/* VFT2_DRV_SOUND */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_COMM 10
/* VFT2_DRV_COMM */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_INPUTMETHOD 11
/* VFT2_DRV_INPUTMETHOD */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_DRV_VERSIONED_PRINTER 12
/* VFT2_DRV_VERSIONED_PRINTER */
/* with file_type = MD_VSFIXEDFILEINFO_FILETYPE_FONT */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_FONT_RASTER 1
/* VFT2_FONT_RASTER */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_FONT_VECTOR 2
/* VFT2_FONT_VECTOR */
#define MD_VSFIXEDFILEINFO_FILE_SUBTYPE_FONT_TRUETYPE 3
/* VFT2_FONT_TRUETYPE */
/*
* DbgHelp.h
*/
/* An MDRVA is an offset into the minidump file. The beginning of the
* MDRawHeader is at offset 0. */
typedef uint32_t MDRVA; /* RVA */
typedef struct {
uint32_t data_size;
MDRVA rva;
} MDLocationDescriptor; /* MINIDUMP_LOCATION_DESCRIPTOR */
/* An MDRVA64 is an 64-bit offset into the minidump file. The beginning of the
* MDRawHeader is at offset 0. */
typedef uint64_t MDRVA64; /* RVA64 */
typedef struct {
uint64_t data_size;
MDRVA64 rva;
} MDLocationDescriptor64; /* MINIDUMP_LOCATION_DESCRIPTOR64 */
typedef struct {
/* The base address of the memory range on the host that produced the
* minidump. */
uint64_t start_of_memory_range;
MDLocationDescriptor memory;
} MDMemoryDescriptor; /* MINIDUMP_MEMORY_DESCRIPTOR */
typedef struct {
uint32_t signature;
uint32_t version;
uint32_t stream_count;
MDRVA stream_directory_rva; /* A |stream_count|-sized array of
* MDRawDirectory structures. */
uint32_t checksum; /* Can be 0. In fact, that's all that's
* been found in minidump files. */
uint32_t time_date_stamp; /* time_t */
uint64_t flags;
} MDRawHeader; /* MINIDUMP_HEADER */
/* For (MDRawHeader).signature and (MDRawHeader).version. Note that only the
* low 16 bits of (MDRawHeader).version are MD_HEADER_VERSION. Per the
* documentation, the high 16 bits are implementation-specific. */
#define MD_HEADER_SIGNATURE 0x504d444d /* 'PMDM' */
/* MINIDUMP_SIGNATURE */
#define MD_HEADER_VERSION 0x0000a793 /* 42899 */
/* MINIDUMP_VERSION */
/* For (MDRawHeader).flags: */
typedef enum {
/* MD_NORMAL is the standard type of minidump. It includes full
* streams for the thread list, module list, exception, system info,
* and miscellaneous info. A memory list stream is also present,
* pointing to the same stack memory contained in the thread list,
* as well as a 256-byte region around the instruction address that
* was executing when the exception occurred. Stack memory is from
* 4 bytes below a thread's stack pointer up to the top of the
* memory region encompassing the stack. */
MD_NORMAL = 0x00000000,
MD_WITH_DATA_SEGS = 0x00000001,
MD_WITH_FULL_MEMORY = 0x00000002,
MD_WITH_HANDLE_DATA = 0x00000004,
MD_FILTER_MEMORY = 0x00000008,
MD_SCAN_MEMORY = 0x00000010,
MD_WITH_UNLOADED_MODULES = 0x00000020,
MD_WITH_INDIRECTLY_REFERENCED_MEMORY = 0x00000040,
MD_FILTER_MODULE_PATHS = 0x00000080,
MD_WITH_PROCESS_THREAD_DATA = 0x00000100,
MD_WITH_PRIVATE_READ_WRITE_MEMORY = 0x00000200,
MD_WITHOUT_OPTIONAL_DATA = 0x00000400,
MD_WITH_FULL_MEMORY_INFO = 0x00000800,
MD_WITH_THREAD_INFO = 0x00001000,
MD_WITH_CODE_SEGS = 0x00002000,
MD_WITHOUT_AUXILLIARY_SEGS = 0x00004000,
MD_WITH_FULL_AUXILLIARY_STATE = 0x00008000,
MD_WITH_PRIVATE_WRITE_COPY_MEMORY = 0x00010000,
MD_IGNORE_INACCESSIBLE_MEMORY = 0x00020000,
MD_WITH_TOKEN_INFORMATION = 0x00040000
} MDType; /* MINIDUMP_TYPE */
typedef struct {
uint32_t stream_type;
MDLocationDescriptor location;
} MDRawDirectory; /* MINIDUMP_DIRECTORY */
/* For (MDRawDirectory).stream_type */
typedef enum {
MD_UNUSED_STREAM = 0,
MD_RESERVED_STREAM_0 = 1,
MD_RESERVED_STREAM_1 = 2,
MD_THREAD_LIST_STREAM = 3, /* MDRawThreadList */
MD_MODULE_LIST_STREAM = 4, /* MDRawModuleList */
MD_MEMORY_LIST_STREAM = 5, /* MDRawMemoryList */
MD_EXCEPTION_STREAM = 6, /* MDRawExceptionStream */
MD_SYSTEM_INFO_STREAM = 7, /* MDRawSystemInfo */
MD_THREAD_EX_LIST_STREAM = 8,
MD_MEMORY_64_LIST_STREAM = 9,
MD_COMMENT_STREAM_A = 10,
MD_COMMENT_STREAM_W = 11,
MD_HANDLE_DATA_STREAM = 12,
MD_FUNCTION_TABLE_STREAM = 13,
MD_UNLOADED_MODULE_LIST_STREAM = 14,
MD_MISC_INFO_STREAM = 15, /* MDRawMiscInfo */
MD_MEMORY_INFO_LIST_STREAM = 16, /* MDRawMemoryInfoList */
MD_THREAD_INFO_LIST_STREAM = 17,
MD_HANDLE_OPERATION_LIST_STREAM = 18,
MD_TOKEN_STREAM = 19,
MD_JAVASCRIPT_DATA_STREAM = 20,
MD_SYSTEM_MEMORY_INFO_STREAM = 21,
MD_PROCESS_VM_COUNTERS_STREAM = 22,
MD_THREAD_NAME_LIST_STREAM = 24, /* MDRawThreadNameList */
MD_LAST_RESERVED_STREAM = 0x0000ffff,
/* Breakpad extension types. 0x4767 = "Gg" */
MD_BREAKPAD_INFO_STREAM = 0x47670001, /* MDRawBreakpadInfo */
MD_ASSERTION_INFO_STREAM = 0x47670002, /* MDRawAssertionInfo */
/* These are additional minidump stream values which are specific to
* the linux breakpad implementation. */
MD_LINUX_CPU_INFO = 0x47670003, /* /proc/cpuinfo */
MD_LINUX_PROC_STATUS = 0x47670004, /* /proc/$x/status */
MD_LINUX_LSB_RELEASE = 0x47670005, /* /etc/lsb-release */
MD_LINUX_CMD_LINE = 0x47670006, /* /proc/$x/cmdline */
MD_LINUX_ENVIRON = 0x47670007, /* /proc/$x/environ */
MD_LINUX_AUXV = 0x47670008, /* /proc/$x/auxv */
MD_LINUX_MAPS = 0x47670009, /* /proc/$x/maps */
MD_LINUX_DSO_DEBUG = 0x4767000A, /* MDRawDebug{32,64} */
/* Crashpad extension types. 0x4350 = "CP"
* See Crashpad's minidump/minidump_extensions.h. */
MD_CRASHPAD_INFO_STREAM = 0x43500001, /* MDRawCrashpadInfo */
} MDStreamType; /* MINIDUMP_STREAM_TYPE */
typedef struct {
uint32_t length; /* Length of buffer in bytes (not characters),
* excluding 0-terminator */
uint16_t buffer[1]; /* UTF-16-encoded, 0-terminated */
} MDString; /* MINIDUMP_STRING */
static const size_t MDString_minsize = offsetof(MDString, buffer[0]);
typedef struct {
uint32_t thread_id;
uint32_t suspend_count;
uint32_t priority_class;
uint32_t priority;
uint64_t teb; /* Thread environment block */
MDMemoryDescriptor stack;
MDLocationDescriptor thread_context; /* MDRawContext[CPU] */
} MDRawThread; /* MINIDUMP_THREAD */
typedef struct {
uint32_t number_of_threads;
MDRawThread threads[1];
} MDRawThreadList; /* MINIDUMP_THREAD_LIST */
static const size_t MDRawThreadList_minsize = offsetof(MDRawThreadList,
threads[0]);
#pragma pack(push, 4)
typedef struct {
uint32_t thread_id;
MDRVA64 thread_name_rva; /* MDString */
} MDRawThreadName; /* MINIDUMP_THREAD_NAME */
typedef struct {
uint32_t number_of_thread_names;
MDRawThreadName thread_names[1];
} MDRawThreadNameList; /* MINIDUMP_THREAD_NAME_LIST */
#pragma pack(pop)
static const size_t MDRawThreadNameList_minsize =
offsetof(MDRawThreadNameList, thread_names[0]);
typedef struct {
uint64_t base_of_image;
uint32_t size_of_image;
uint32_t checksum; /* 0 if unknown */
uint32_t time_date_stamp; /* time_t */
MDRVA module_name_rva; /* MDString, pathname or filename */
MDVSFixedFileInfo version_info;
/* The next field stores a CodeView record and is populated when a module's
* debug information resides in a PDB file. It identifies the PDB file. */
MDLocationDescriptor cv_record;
/* The next field is populated when a module's debug information resides
* in a DBG file. It identifies the DBG file. This field is effectively
* obsolete with modules built by recent toolchains. */
MDLocationDescriptor misc_record;
/* Alignment problem: reserved0 and reserved1 are defined by the platform
* SDK as 64-bit quantities. However, that results in a structure whose
* alignment is unpredictable on different CPUs and ABIs. If the ABI
* specifies full alignment of 64-bit quantities in structures (as ppc
* does), there will be padding between miscRecord and reserved0. If
* 64-bit quantities can be aligned on 32-bit boundaries (as on x86),
* this padding will not exist. (Note that the structure up to this point
* contains 1 64-bit member followed by 21 32-bit members.)
* As a workaround, reserved0 and reserved1 are instead defined here as
* four 32-bit quantities. This should be harmless, as there are
* currently no known uses for these fields. */
uint32_t reserved0[2];
uint32_t reserved1[2];
} MDRawModule; /* MINIDUMP_MODULE */
/* The inclusion of a 64-bit type in MINIDUMP_MODULE forces the struct to
* be tail-padded out to a multiple of 64 bits under some ABIs (such as PPC).
* This doesn't occur on systems that don't tail-pad in this manner. Define
* this macro to be the usable size of the MDRawModule struct, and use it in
* place of sizeof(MDRawModule). */
#define MD_MODULE_SIZE 108
/* (MDRawModule).cv_record can reference MDCVInfoPDB20 or MDCVInfoPDB70.
* Ref.: path_to_url
* MDCVInfoPDB70 is the expected structure type with recent toolchains. */
typedef struct {
uint32_t signature;
uint32_t offset; /* Offset to debug data (expect 0 in minidump) */
} MDCVHeader;
typedef struct {
MDCVHeader cv_header;
uint32_t signature; /* time_t debug information created */
uint32_t age; /* revision of PDB file */
uint8_t pdb_file_name[1]; /* Pathname or filename of PDB file */
} MDCVInfoPDB20;
static const size_t MDCVInfoPDB20_minsize = offsetof(MDCVInfoPDB20,
pdb_file_name[0]);
#define MD_CVINFOPDB20_SIGNATURE 0x3031424e /* cvHeader.signature = '01BN' */
typedef struct {
uint32_t cv_signature;
MDGUID signature; /* GUID, identifies PDB file */
uint32_t age; /* Identifies incremental changes to PDB file */
uint8_t pdb_file_name[1]; /* Pathname or filename of PDB file,
* 0-terminated 8-bit character data (UTF-8?) */
} MDCVInfoPDB70;
static const size_t MDCVInfoPDB70_minsize = offsetof(MDCVInfoPDB70,
pdb_file_name[0]);
#define MD_CVINFOPDB70_SIGNATURE 0x53445352 /* cvSignature = 'SDSR' */
/*
* Modern ELF toolchains insert a "build id" into the ELF headers that
* usually contains a hash of some ELF headers + sections to uniquely
* identify a binary.
*
* path_to_url
* path_to_url#index-g_t_002d_002dbuild_002did-292
*/
typedef struct {
uint32_t cv_signature;
uint8_t build_id[1]; /* Bytes of build id from GNU_BUILD_ID ELF note.
* This is variable-length, but usually 20 bytes
* as the binutils ld default is a SHA-1 hash. */
} MDCVInfoELF;
static const size_t MDCVInfoELF_minsize = offsetof(MDCVInfoELF,
build_id[0]);
#define MD_CVINFOELF_SIGNATURE 0x4270454c /* cvSignature = 'BpEL' */
/* In addition to the two CodeView record formats above, used for linking
* to external pdb files, it is possible for debugging data to be carried
* directly in the CodeView record itself. These signature values will
* be found in the first 4 bytes of the CodeView record. Additional values
* not commonly experienced in the wild are given by "Microsoft Symbol and
* Type Information", path_to_url section
* 7.2. An in-depth description of the CodeView 4.1 format is given by
* "Undocumented Windows 2000 Secrets", Windows 2000 Debugging Support/
* Microsoft Symbol File Internals/CodeView Subsections,
* path_to_url
*/
#define MD_CVINFOCV41_SIGNATURE 0x3930424e /* '90BN', CodeView 4.10. */
#define MD_CVINFOCV50_SIGNATURE 0x3131424e /* '11BN', CodeView 5.0,
* MS C7-format (/Z7). */
#define MD_CVINFOUNKNOWN_SIGNATURE 0xffffffff /* An unlikely value. */
/* (MDRawModule).miscRecord can reference MDImageDebugMisc. The Windows
* structure is actually defined in WinNT.h. This structure is effectively
* obsolete with modules built by recent toolchains. */
typedef struct {
uint32_t data_type; /* IMAGE_DEBUG_TYPE_*, not defined here because
* this debug record type is mostly obsolete. */
uint32_t length; /* Length of entire MDImageDebugMisc structure */
uint8_t unicode; /* True if data is multibyte */
uint8_t reserved[3];
uint8_t data[1];
} MDImageDebugMisc; /* IMAGE_DEBUG_MISC */
static const size_t MDImageDebugMisc_minsize = offsetof(MDImageDebugMisc,
data[0]);
typedef struct {
uint32_t number_of_modules;
MDRawModule modules[1];
} MDRawModuleList; /* MINIDUMP_MODULE_LIST */
static const size_t MDRawModuleList_minsize = offsetof(MDRawModuleList,
modules[0]);
typedef struct {
uint32_t number_of_memory_ranges;
MDMemoryDescriptor memory_ranges[1];
} MDRawMemoryList; /* MINIDUMP_MEMORY_LIST */
static const size_t MDRawMemoryList_minsize = offsetof(MDRawMemoryList,
memory_ranges[0]);
#define MD_EXCEPTION_MAXIMUM_PARAMETERS 15u
typedef struct {
uint32_t exception_code; /* Windows: MDExceptionCodeWin,
* Mac OS X: MDExceptionMac,
* Linux: MDExceptionCodeLinux. */
uint32_t exception_flags; /* Windows: 1 if noncontinuable,
Mac OS X: MDExceptionCodeMac. */
uint64_t exception_record; /* Address (in the minidump-producing host's
* memory) of another MDException, for
* nested exceptions. */
uint64_t exception_address; /* The address that caused the exception.
* Mac OS X: exception subcode (which is
* typically the address). */
uint32_t number_parameters; /* Number of valid elements in
* exception_information. */
uint32_t __align;
uint64_t exception_information[MD_EXCEPTION_MAXIMUM_PARAMETERS];
} MDException; /* MINIDUMP_EXCEPTION */
#include "minidump_exception_fuchsia.h"
#include "minidump_exception_linux.h"
#include "minidump_exception_mac.h"
#include "minidump_exception_ps3.h"
#include "minidump_exception_solaris.h"
#include "minidump_exception_win32.h"
typedef struct {
uint32_t thread_id; /* Thread in which the exception
* occurred. Corresponds to
* (MDRawThread).thread_id. */
uint32_t __align;
MDException exception_record;
MDLocationDescriptor thread_context; /* MDRawContext[CPU] */
} MDRawExceptionStream; /* MINIDUMP_EXCEPTION_STREAM */
typedef union {
struct {
uint32_t vendor_id[3]; /* cpuid 0: ebx, edx, ecx */
uint32_t version_information; /* cpuid 1: eax */
uint32_t feature_information; /* cpuid 1: edx */
uint32_t amd_extended_cpu_features; /* cpuid 0x80000001, ebx */
} x86_cpu_info;
struct {
uint32_t cpuid;
uint32_t elf_hwcaps; /* linux specific, 0 otherwise */
} arm_cpu_info;
struct {
uint64_t processor_features[2];
} other_cpu_info;
} MDCPUInformation; /* CPU_INFORMATION */
/* For (MDCPUInformation).arm_cpu_info.elf_hwcaps.
* This matches the Linux kernel definitions from <asm/hwcaps.h> */
typedef enum {
MD_CPU_ARM_ELF_HWCAP_SWP = (1 << 0),
MD_CPU_ARM_ELF_HWCAP_HALF = (1 << 1),
MD_CPU_ARM_ELF_HWCAP_THUMB = (1 << 2),
MD_CPU_ARM_ELF_HWCAP_26BIT = (1 << 3),
MD_CPU_ARM_ELF_HWCAP_FAST_MULT = (1 << 4),
MD_CPU_ARM_ELF_HWCAP_FPA = (1 << 5),
MD_CPU_ARM_ELF_HWCAP_VFP = (1 << 6),
MD_CPU_ARM_ELF_HWCAP_EDSP = (1 << 7),
MD_CPU_ARM_ELF_HWCAP_JAVA = (1 << 8),
MD_CPU_ARM_ELF_HWCAP_IWMMXT = (1 << 9),
MD_CPU_ARM_ELF_HWCAP_CRUNCH = (1 << 10),
MD_CPU_ARM_ELF_HWCAP_THUMBEE = (1 << 11),
MD_CPU_ARM_ELF_HWCAP_NEON = (1 << 12),
MD_CPU_ARM_ELF_HWCAP_VFPv3 = (1 << 13),
MD_CPU_ARM_ELF_HWCAP_VFPv3D16 = (1 << 14),
MD_CPU_ARM_ELF_HWCAP_TLS = (1 << 15),
MD_CPU_ARM_ELF_HWCAP_VFPv4 = (1 << 16),
MD_CPU_ARM_ELF_HWCAP_IDIVA = (1 << 17),
MD_CPU_ARM_ELF_HWCAP_IDIVT = (1 << 18),
} MDCPUInformationARMElfHwCaps;
typedef struct {
/* The next 3 fields and numberOfProcessors are from the SYSTEM_INFO
* structure as returned by GetSystemInfo */
uint16_t processor_architecture;
uint16_t processor_level; /* x86: 5 = 586, 6 = 686, ... */
/* ARM: 6 = ARMv6, 7 = ARMv7 ... */
uint16_t processor_revision; /* x86: 0xMMSS, where MM=model,
* SS=stepping */
/* ARM: 0 */
uint8_t number_of_processors;
uint8_t product_type; /* Windows: VER_NT_* from WinNT.h */
/* The next 5 fields are from the OSVERSIONINFO structure as returned
* by GetVersionEx */
uint32_t major_version;
uint32_t minor_version;
uint32_t build_number;
uint32_t platform_id;
MDRVA csd_version_rva; /* MDString further identifying the
* host OS.
* Windows: name of the installed OS
* service pack.
* Mac OS X: the Apple OS build number
* (sw_vers -buildVersion).
* Linux: uname -srvmo */
uint16_t suite_mask; /* Windows: VER_SUITE_* from WinNT.h */
uint16_t reserved2;
MDCPUInformation cpu;
} MDRawSystemInfo; /* MINIDUMP_SYSTEM_INFO */
/* For (MDRawSystemInfo).processor_architecture: */
typedef enum {
MD_CPU_ARCHITECTURE_X86 = 0, /* PROCESSOR_ARCHITECTURE_INTEL */
MD_CPU_ARCHITECTURE_MIPS = 1, /* PROCESSOR_ARCHITECTURE_MIPS */
MD_CPU_ARCHITECTURE_ALPHA = 2, /* PROCESSOR_ARCHITECTURE_ALPHA */
MD_CPU_ARCHITECTURE_PPC = 3, /* PROCESSOR_ARCHITECTURE_PPC */
MD_CPU_ARCHITECTURE_SHX = 4, /* PROCESSOR_ARCHITECTURE_SHX
* (Super-H) */
MD_CPU_ARCHITECTURE_ARM = 5, /* PROCESSOR_ARCHITECTURE_ARM */
MD_CPU_ARCHITECTURE_IA64 = 6, /* PROCESSOR_ARCHITECTURE_IA64 */
MD_CPU_ARCHITECTURE_ALPHA64 = 7, /* PROCESSOR_ARCHITECTURE_ALPHA64 */
MD_CPU_ARCHITECTURE_MSIL = 8, /* PROCESSOR_ARCHITECTURE_MSIL
* (Microsoft Intermediate Language) */
MD_CPU_ARCHITECTURE_AMD64 = 9, /* PROCESSOR_ARCHITECTURE_AMD64 */
MD_CPU_ARCHITECTURE_X86_WIN64 = 10,
/* PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 (WoW64) */
MD_CPU_ARCHITECTURE_ARM64 = 12, /* PROCESSOR_ARCHITECTURE_ARM64 */
MD_CPU_ARCHITECTURE_SPARC = 0x8001, /* Breakpad-defined value for SPARC */
MD_CPU_ARCHITECTURE_PPC64 = 0x8002, /* Breakpad-defined value for PPC64 */
MD_CPU_ARCHITECTURE_ARM64_OLD = 0x8003, /* Breakpad-defined value for ARM64 */
MD_CPU_ARCHITECTURE_MIPS64 = 0x8004, /* Breakpad-defined value for MIPS64 */
MD_CPU_ARCHITECTURE_RISCV = 0x8005, /* Breakpad-defined value for RISCV */
MD_CPU_ARCHITECTURE_RISCV64 = 0x8006, /* Breakpad-defined value for RISCV64 */
MD_CPU_ARCHITECTURE_UNKNOWN = 0xffff /* PROCESSOR_ARCHITECTURE_UNKNOWN */
} MDCPUArchitecture;
/* For (MDRawSystemInfo).platform_id: */
typedef enum {
MD_OS_WIN32S = 0, /* VER_PLATFORM_WIN32s (Windows 3.1) */
MD_OS_WIN32_WINDOWS = 1, /* VER_PLATFORM_WIN32_WINDOWS (Windows 95-98-Me) */
MD_OS_WIN32_NT = 2, /* VER_PLATFORM_WIN32_NT (Windows NT, 2000+) */
MD_OS_WIN32_CE = 3, /* VER_PLATFORM_WIN32_CE, VER_PLATFORM_WIN32_HH
* (Windows CE, Windows Mobile, "Handheld") */
/* The following values are Breakpad-defined. */
MD_OS_UNIX = 0x8000, /* Generic Unix-ish */
MD_OS_MAC_OS_X = 0x8101, /* Mac OS X/Darwin */
MD_OS_IOS = 0x8102, /* iOS */
MD_OS_LINUX = 0x8201, /* Linux */
MD_OS_SOLARIS = 0x8202, /* Solaris */
MD_OS_ANDROID = 0x8203, /* Android */
MD_OS_PS3 = 0x8204, /* PS3 */
MD_OS_NACL = 0x8205, /* Native Client (NaCl) */
MD_OS_FUCHSIA = 0x8206 /* Fuchsia */
} MDOSPlatform;
typedef struct {
uint64_t base_of_image;
uint32_t size_of_image;
uint32_t checksum;
uint32_t time_date_stamp;
MDRVA module_name_rva;
} MDRawUnloadedModule;
typedef struct {
uint32_t size_of_header;
uint32_t size_of_entry;
uint32_t number_of_entries;
} MDRawUnloadedModuleList; /* MINIDUMP_UNLOADED_MODULE_LIST */
typedef struct {
uint16_t year;
uint16_t month;
uint16_t day_of_week;
uint16_t day;
uint16_t hour;
uint16_t minute;
uint16_t second;
uint16_t milliseconds;
} MDSystemTime; /* SYSTEMTIME */
typedef struct {
/* Required field. The bias is the difference, in minutes, between
* Coordinated Universal Time (UTC) and local time.
* Formula: UTC = local time + bias */
int32_t bias;
/* A description for standard time. For example, "EST" could indicate Eastern
* Standard Time. In practice this contains the full time zone names. This
* string can be empty. */
uint16_t standard_name[32]; /* UTF-16-encoded, 0-terminated */
/* A MDSystemTime structure that contains a date and local time when the
* transition from daylight saving time to standard time occurs on this
* operating system. If the time zone does not support daylight saving time,
* the month member in the MDSystemTime structure is zero. */
MDSystemTime standard_date;
/* The bias value to be used during local time translations that occur during
* standard time. */
int32_t standard_bias;
/* A description for daylight saving time. For example, "PDT" could indicate
* Pacific Daylight Time. In practice this contains the full time zone names.
* This string can be empty. */
uint16_t daylight_name[32]; /* UTF-16-encoded, 0-terminated */
/* A MDSystemTime structure that contains a date and local time when the
* transition from standard time to daylight saving time occurs on this
* operating system. If the time zone does not support daylight saving time,
* the month member in the MDSystemTime structure is zero.*/
MDSystemTime daylight_date;
/* The bias value to be used during local time translations that occur during
* daylight saving time. */
int32_t daylight_bias;
} MDTimeZoneInformation; /* TIME_ZONE_INFORMATION */
/* MAX_PATH from windef.h */
#define MD_MAX_PATH 260
/* For MDXStateConfigFeatureMscInfo.features */
typedef struct {
uint32_t offset;
uint32_t size;
} MDXStateFeature;
/* For MDXStateConfigFeatureMscInfo.enabled_features from winnt.h */
typedef enum {
MD_XSTATE_LEGACY_FLOATING_POINT = 0, /* XSTATE_LEGACY_FLOATING_POINT */
MD_XSTATE_LEGACY_SSE = 1, /* XSTATE_LEGACY_SSE */
MD_XSTATE_GSSE = 2, /* XSTATE_GSSE */
MD_XSTATE_AVX = MD_XSTATE_GSSE, /* XSTATE_AVX */
MD_XSTATE_MPX_BNDREGS = 3, /* XSTATE_MPX_BNDREGS */
MD_XSTATE_MPX_BNDCSR = 4, /* XSTATE_MPX_BNDCSR */
MD_XSTATE_AVX512_KMASK = 5, /* XSTATE_AVX512_KMASK */
MD_XSTATE_AVX512_ZMM_H = 6, /* XSTATE_AVX512_ZMM_H */
MD_XSTATE_AVX512_ZMM = 7, /* XSTATE_AVX512_ZMM */
MD_XSTATE_IPT = 8, /* XSTATE_IPT */
MD_XSTATE_LWP = 62 /* XSTATE_LWP */
} MDXStateFeatureFlag;
/* MAXIMUM_XSTATE_FEATURES from winnt.h */
#define MD_MAXIMUM_XSTATE_FEATURES 64
/* For MDRawMiscInfo.xstate_data */
typedef struct {
uint32_t size_of_info;
uint32_t context_size;
/* An entry in the features array is valid only if the corresponding bit in
* the enabled_features flag is set. */
uint64_t enabled_features;
MDXStateFeature features[MD_MAXIMUM_XSTATE_FEATURES];
} MDXStateConfigFeatureMscInfo;
/* The miscellaneous information stream contains a variety
* of small pieces of information. A member is valid if
* it's within the available size and its corresponding
* bit is set. */
typedef struct {
uint32_t size_of_info; /* Length of entire MDRawMiscInfo structure. */
uint32_t flags1;
/* The next field is only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROCESS_ID. */
uint32_t process_id;
/* The next 3 fields are only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROCESS_TIMES. */
uint32_t process_create_time; /* time_t process started */
uint32_t process_user_time; /* seconds of user CPU time */
uint32_t process_kernel_time; /* seconds of kernel CPU time */
/* The following fields are not present in MINIDUMP_MISC_INFO but are
* in MINIDUMP_MISC_INFO_2. When this struct is populated, these values
* may not be set. Use flags1 and size_of_info to determine whether these
* values are present. These are only valid when flags1 contains
* MD_MISCINFO_FLAGS1_PROCESSOR_POWER_INFO. */
uint32_t processor_max_mhz;
uint32_t processor_current_mhz;
uint32_t processor_mhz_limit;
uint32_t processor_max_idle_state;
uint32_t processor_current_idle_state;
/* The following fields are not present in MINIDUMP_MISC_INFO_2 but are
* in MINIDUMP_MISC_INFO_3. When this struct is populated, these values
* may not be set. Use flags1 and size_of_info to determine whether these
* values are present. */
/* The following field is only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROCESS_INTEGRITY. */
uint32_t process_integrity_level;
/* The following field is only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROCESS_EXECUTE_FLAGS. */
uint32_t process_execute_flags;
/* The following field is only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROTECTED_PROCESS. */
uint32_t protected_process;
/* The following 2 fields are only valid if flags1 contains
* MD_MISCINFO_FLAGS1_TIMEZONE. */
uint32_t time_zone_id;
MDTimeZoneInformation time_zone;
/* The following fields are not present in MINIDUMP_MISC_INFO_3 but are
* in MINIDUMP_MISC_INFO_4. When this struct is populated, these values
* may not be set. Use flags1 and size_of_info to determine whether these
* values are present. */
/* The following 2 fields are only valid if flags1 contains
* MD_MISCINFO_FLAGS1_BUILDSTRING. */
uint16_t build_string[MD_MAX_PATH]; /* UTF-16-encoded, 0-terminated */
uint16_t dbg_bld_str[40]; /* UTF-16-encoded, 0-terminated */
/* The following fields are not present in MINIDUMP_MISC_INFO_4 but are
* in MINIDUMP_MISC_INFO_5. When this struct is populated, these values
* may not be set. Use flags1 and size_of_info to determine whether these
* values are present. */
/* The following field has its own flags for establishing the validity of
* the structure's contents.*/
MDXStateConfigFeatureMscInfo xstate_data;
/* The following field is only valid if flags1 contains
* MD_MISCINFO_FLAGS1_PROCESS_COOKIE. */
uint32_t process_cookie;
} MDRawMiscInfo; /* MINIDUMP_MISC_INFO, MINIDUMP_MISC_INFO_2,
* MINIDUMP_MISC_INFO_3, MINIDUMP_MISC_INFO_4,
* MINIDUMP_MISC_INFO_5, MINIDUMP_MISC_INFO_N */
static const size_t MD_MISCINFO_SIZE =
offsetof(MDRawMiscInfo, processor_max_mhz);
static const size_t MD_MISCINFO2_SIZE =
offsetof(MDRawMiscInfo, process_integrity_level);
static const size_t MD_MISCINFO3_SIZE =
offsetof(MDRawMiscInfo, build_string[0]);
static const size_t MD_MISCINFO4_SIZE =
offsetof(MDRawMiscInfo, xstate_data);
/* Version 5 of the MDRawMiscInfo structure is not a multiple of 8 in size and
* yet it contains some 8-bytes sized fields. This causes many compilers to
* round the structure size up to a multiple of 8 by adding padding at the end.
* The following hack is thus required for matching the proper on-disk size. */
static const size_t MD_MISCINFO5_SIZE =
offsetof(MDRawMiscInfo, process_cookie) + sizeof(uint32_t);
/* For (MDRawMiscInfo).flags1. These values indicate which fields in the
* MDRawMiscInfoStructure are valid. */
typedef enum {
MD_MISCINFO_FLAGS1_PROCESS_ID = 0x00000001,
/* MINIDUMP_MISC1_PROCESS_ID */
MD_MISCINFO_FLAGS1_PROCESS_TIMES = 0x00000002,
/* MINIDUMP_MISC1_PROCESS_TIMES */
MD_MISCINFO_FLAGS1_PROCESSOR_POWER_INFO = 0x00000004,
/* MINIDUMP_MISC1_PROCESSOR_POWER_INFO */
MD_MISCINFO_FLAGS1_PROCESS_INTEGRITY = 0x00000010,
/* MINIDUMP_MISC3_PROCESS_INTEGRITY */
MD_MISCINFO_FLAGS1_PROCESS_EXECUTE_FLAGS = 0x00000020,
/* MINIDUMP_MISC3_PROCESS_EXECUTE_FLAGS */
MD_MISCINFO_FLAGS1_TIMEZONE = 0x00000040,
/* MINIDUMP_MISC3_TIMEZONE */
MD_MISCINFO_FLAGS1_PROTECTED_PROCESS = 0x00000080,
/* MINIDUMP_MISC3_PROTECTED_PROCESS */
MD_MISCINFO_FLAGS1_BUILDSTRING = 0x00000100,
/* MINIDUMP_MISC4_BUILDSTRING */
MD_MISCINFO_FLAGS1_PROCESS_COOKIE = 0x00000200,
/* MINIDUMP_MISC5_PROCESS_COOKIE */
} MDMiscInfoFlags1;
/*
* Around DbgHelp version 6.0, the style of new LIST structures changed
* from including an array of length 1 at the end of the struct to
* represent the variable-length data to including explicit
* "size of header", "size of entry" and "number of entries" fields
* in the header, presumably to allow backwards-compatibly-extending
* the structures in the future. The actual list entries follow the
* header data directly in this case.
*/
typedef struct {
uint32_t size_of_header; /* sizeof(MDRawMemoryInfoList) */
uint32_t size_of_entry; /* sizeof(MDRawMemoryInfo) */
uint64_t number_of_entries;
} MDRawMemoryInfoList; /* MINIDUMP_MEMORY_INFO_LIST */
typedef struct {
uint64_t base_address; /* Base address of a region of pages */
uint64_t allocation_base; /* Base address of a range of pages
* within this region. */
uint32_t allocation_protection; /* Memory protection when this region
* was originally allocated:
* MDMemoryProtection */
uint32_t __alignment1;
uint64_t region_size;
uint32_t state; /* MDMemoryState */
uint32_t protection; /* MDMemoryProtection */
uint32_t type; /* MDMemoryType */
uint32_t __alignment2;
} MDRawMemoryInfo; /* MINIDUMP_MEMORY_INFO */
/* For (MDRawMemoryInfo).state */
typedef enum {
MD_MEMORY_STATE_COMMIT = 0x1000, /* physical storage has been allocated */
MD_MEMORY_STATE_RESERVE = 0x2000, /* reserved, but no physical storage */
MD_MEMORY_STATE_FREE = 0x10000 /* available to be allocated */
} MDMemoryState;
/* For (MDRawMemoryInfo).allocation_protection and .protection */
typedef enum {
MD_MEMORY_PROTECT_NOACCESS = 0x01, /* PAGE_NOACCESS */
MD_MEMORY_PROTECT_READONLY = 0x02, /* PAGE_READONLY */
MD_MEMORY_PROTECT_READWRITE = 0x04, /* PAGE_READWRITE */
MD_MEMORY_PROTECT_WRITECOPY = 0x08, /* PAGE_WRITECOPY */
MD_MEMORY_PROTECT_EXECUTE = 0x10, /* PAGE_EXECUTE */
MD_MEMORY_PROTECT_EXECUTE_READ = 0x20, /* PAGE_EXECUTE_READ */
MD_MEMORY_PROTECT_EXECUTE_READWRITE = 0x40, /* PAGE_EXECUTE_READWRITE */
MD_MEMORY_PROTECT_EXECUTE_WRITECOPY = 0x80, /* PAGE_EXECUTE_WRITECOPY */
/* These options can be combined with the previous flags. */
MD_MEMORY_PROTECT_GUARD = 0x100, /* PAGE_GUARD */
MD_MEMORY_PROTECT_NOCACHE = 0x200, /* PAGE_NOCACHE */
MD_MEMORY_PROTECT_WRITECOMBINE = 0x400, /* PAGE_WRITECOMBINE */
} MDMemoryProtection;
/* Used to mask the mutually exclusive options from the combinable flags. */
const uint32_t MD_MEMORY_PROTECTION_ACCESS_MASK = 0xFF;
/* For (MDRawMemoryInfo).type */
typedef enum {
MD_MEMORY_TYPE_PRIVATE = 0x20000, /* not shared by other processes */
MD_MEMORY_TYPE_MAPPED = 0x40000, /* mapped into the view of a section */
MD_MEMORY_TYPE_IMAGE = 0x1000000 /* mapped into the view of an image */
} MDMemoryType;
/*
* Breakpad extension types
*/
typedef struct {
/* validity is a bitmask with values from MDBreakpadInfoValidity, indicating
* which of the other fields in the structure are valid. */
uint32_t validity;
/* Thread ID of the handler thread. dump_thread_id should correspond to
* the thread_id of an MDRawThread in the minidump's MDRawThreadList if
* a dedicated thread in that list was used to produce the minidump. If
* the MDRawThreadList does not contain a dedicated thread used to produce
* the minidump, this field should be set to 0 and the validity field
* must not contain MD_BREAKPAD_INFO_VALID_DUMP_THREAD_ID. */
uint32_t dump_thread_id;
/* Thread ID of the thread that requested the minidump be produced. As
* with dump_thread_id, requesting_thread_id should correspond to the
* thread_id of an MDRawThread in the minidump's MDRawThreadList. For
* minidumps produced as a result of an exception, requesting_thread_id
* will be the same as the MDRawExceptionStream's thread_id field. For
* minidumps produced "manually" at the program's request,
* requesting_thread_id will indicate which thread caused the dump to be
* written. If the minidump was produced at the request of something
* other than a thread in the MDRawThreadList, this field should be set
* to 0 and the validity field must not contain
* MD_BREAKPAD_INFO_VALID_REQUESTING_THREAD_ID. */
uint32_t requesting_thread_id;
} MDRawBreakpadInfo;
/* For (MDRawBreakpadInfo).validity: */
typedef enum {
/* When set, the dump_thread_id field is valid. */
MD_BREAKPAD_INFO_VALID_DUMP_THREAD_ID = 1 << 0,
/* When set, the requesting_thread_id field is valid. */
MD_BREAKPAD_INFO_VALID_REQUESTING_THREAD_ID = 1 << 1
} MDBreakpadInfoValidity;
typedef struct {
/* expression, function, and file are 0-terminated UTF-16 strings. They
* may be truncated if necessary, but should always be 0-terminated when
* written to a file.
* Fixed-length strings are used because MiniDumpWriteDump doesn't offer
* a way for user streams to point to arbitrary RVAs for strings. */
uint16_t expression[128]; /* Assertion that failed... */
uint16_t function[128]; /* ...within this function... */
uint16_t file[128]; /* ...in this file... */
uint32_t line; /* ...at this line. */
uint32_t type;
} MDRawAssertionInfo;
/* For (MDRawAssertionInfo).type: */
typedef enum {
MD_ASSERTION_INFO_TYPE_UNKNOWN = 0,
/* Used for assertions that would be raised by the MSVC CRT but are
* directed to an invalid parameter handler instead. */
MD_ASSERTION_INFO_TYPE_INVALID_PARAMETER,
/* Used for assertions that would be raised by the MSVC CRT but are
* directed to a pure virtual call handler instead. */
MD_ASSERTION_INFO_TYPE_PURE_VIRTUAL_CALL
} MDAssertionInfoData;
/* These structs are used to store the DSO debug data in Linux minidumps,
* which is necessary for converting minidumps to usable coredumps.
* Because of a historical accident, several fields are variably encoded
* according to client word size, so tools potentially need to support both. */
typedef struct {
uint32_t addr;
MDRVA name;
uint32_t ld;
} MDRawLinkMap32;
typedef struct {
uint32_t version;
MDRVA map; /* array of MDRawLinkMap32 */
uint32_t dso_count;
uint32_t brk;
uint32_t ldbase;
uint32_t dynamic;
} MDRawDebug32;
typedef struct {
uint64_t addr;
MDRVA name;
uint64_t ld;
} MDRawLinkMap64;
typedef struct {
uint32_t version;
MDRVA map; /* array of MDRawLinkMap64 */
uint32_t dso_count;
uint64_t brk;
uint64_t ldbase;
uint64_t dynamic;
} MDRawDebug64;
/* Crashpad extension types. See Crashpad's minidump/minidump_extensions.h. */
typedef struct {
MDRVA key;
MDRVA value;
} MDRawSimpleStringDictionaryEntry;
typedef struct {
uint32_t count;
MDRawSimpleStringDictionaryEntry entries[0];
} MDRawSimpleStringDictionary;
typedef struct {
MDRVA name;
uint16_t type;
uint16_t reserved;
MDRVA value;
} MDRawCrashpadAnnotation;
typedef struct {
uint32_t count;
MDRawCrashpadAnnotation objects[0];
} MDRawCrashpadAnnotationList;
typedef struct {
uint32_t version;
MDLocationDescriptor list_annotations;
MDLocationDescriptor simple_annotations; /* MDRawSimpleStringDictionary */
MDLocationDescriptor annotation_objects; /* MDRawCrashpadAnnotationList */
} MDRawModuleCrashpadInfo;
typedef struct {
uint32_t minidump_module_list_index;
MDLocationDescriptor location; /* MDRawModuleCrashpadInfo */
} MDRawModuleCrashpadInfoLink;
typedef struct {
uint32_t count;
MDRawModuleCrashpadInfoLink modules[0];
} MDRawModuleCrashpadInfoList;
typedef struct {
uint32_t version;
MDGUID report_id;
MDGUID client_id;
MDLocationDescriptor simple_annotations; /* MDRawSimpleStringDictionary */
MDLocationDescriptor module_list; /* MDRawModuleCrashpadInfoList */
uint32_t reserved;
uint64_t address_mask;
} MDRawCrashpadInfo;
#if defined(_MSC_VER)
#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* GOOGLE_BREAKPAD_COMMON_MINIDUMP_FORMAT_H__ */
``` |
```ruby
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe "IO.pipe" do
after :each do
@r.close if @r && !@r.closed?
@w.close if @w && !@w.closed?
end
it "creates a two-ended pipe" do
@r, @w = IO.pipe
@w.puts "test_create_pipe\\n"
@w.close
@r.read(16).should == "test_create_pipe"
end
it "returns two IO objects" do
@r, @w = IO.pipe
@r.should be_kind_of(IO)
@w.should be_kind_of(IO)
end
it "returns instances of a subclass when called on a subclass" do
@r, @w = IOSpecs::SubIO.pipe
@r.should be_an_instance_of(IOSpecs::SubIO)
@w.should be_an_instance_of(IOSpecs::SubIO)
end
it "does not use IO.new method to create pipes and allows its overriding" do
ScratchPad.record []
# so redefined .new is not called, but original #initialize is
@r, @w = IOSpecs::SubIOWithRedefinedNew.pipe
ScratchPad.recorded.should == [:call_original_initialize, :call_original_initialize] # called 2 times - for each pipe (r and w)
@r.should be_an_instance_of(IOSpecs::SubIOWithRedefinedNew)
@w.should be_an_instance_of(IOSpecs::SubIOWithRedefinedNew)
end
end
describe "IO.pipe" do
describe "passed a block" do
it "yields two IO objects" do
IO.pipe do |r, w|
r.should be_kind_of(IO)
w.should be_kind_of(IO)
end
end
it "returns the result of the block" do
IO.pipe { |r, w| :result }.should == :result
end
it "closes both IO objects" do
r, w = IO.pipe do |_r, _w|
[_r, _w]
end
r.should.closed?
w.should.closed?
end
it "closes both IO objects when the block raises" do
r = w = nil
-> do
IO.pipe do |_r, _w|
r = _r
w = _w
raise RuntimeError
end
end.should raise_error(RuntimeError)
r.should.closed?
w.should.closed?
end
it "allows IO objects to be closed within the block" do
r, w = IO.pipe do |_r, _w|
_r.close
_w.close
[_r, _w]
end
r.should.closed?
w.should.closed?
end
end
end
describe "IO.pipe" do
before :each do
@default_external = Encoding.default_external
@default_internal = Encoding.default_internal
end
after :each do
Encoding.default_external = @default_external
Encoding.default_internal = @default_internal
end
it "sets the external encoding of the read end to the default when passed no arguments" do
Encoding.default_external = Encoding::ISO_8859_1
IO.pipe do |r, w|
r.external_encoding.should == Encoding::ISO_8859_1
r.internal_encoding.should be_nil
end
end
it "sets the internal encoding of the read end to the default when passed no arguments" do
Encoding.default_external = Encoding::ISO_8859_1
Encoding.default_internal = Encoding::UTF_8
IO.pipe do |r, w|
r.external_encoding.should == Encoding::ISO_8859_1
r.internal_encoding.should == Encoding::UTF_8
end
end
it "sets the internal encoding to nil if the same as the external" do
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
IO.pipe do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should be_nil
end
end
it "sets the external encoding of the read end when passed an Encoding argument" do
IO.pipe(Encoding::UTF_8) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should be_nil
end
end
it "sets the external and internal encodings of the read end when passed two Encoding arguments" do
IO.pipe(Encoding::UTF_8, Encoding::UTF_16BE) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::UTF_16BE
end
end
it "sets the external encoding of the read end when passed the name of an Encoding" do
IO.pipe("UTF-8") do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should be_nil
end
end
it "accepts 'bom|' prefix for external encoding" do
IO.pipe("BOM|UTF-8") do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should be_nil
end
end
it "sets the external and internal encodings specified as a String and separated with a colon" do
IO.pipe("UTF-8:ISO-8859-1") do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::ISO_8859_1
end
end
it "accepts 'bom|' prefix for external encoding when specifying 'external:internal'" do
IO.pipe("BOM|UTF-8:ISO-8859-1") do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::ISO_8859_1
end
end
it "sets the external and internal encoding when passed two String arguments" do
IO.pipe("UTF-8", "UTF-16BE") do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::UTF_16BE
end
end
it "accepts an options Hash with one String encoding argument" do
IO.pipe("BOM|UTF-8:ISO-8859-1", invalid: :replace) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::ISO_8859_1
end
end
it "accepts an options Hash with two String encoding arguments" do
IO.pipe("UTF-8", "ISO-8859-1", invalid: :replace) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::ISO_8859_1
end
end
it "calls #to_hash to convert an options argument" do
options = mock("io pipe encoding options")
options.should_receive(:to_hash).and_return({ invalid: :replace })
IO.pipe("UTF-8", "ISO-8859-1", **options) { |r, w| }
end
it "calls #to_str to convert the first argument to a String" do
obj = mock("io_pipe_encoding")
obj.should_receive(:to_str).and_return("UTF-8:UTF-16BE")
IO.pipe(obj) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::UTF_16BE
end
end
it "calls #to_str to convert the second argument to a String" do
obj = mock("io_pipe_encoding")
obj.should_receive(:to_str).at_least(1).times.and_return("UTF-16BE")
IO.pipe(Encoding::UTF_8, obj) do |r, w|
r.external_encoding.should == Encoding::UTF_8
r.internal_encoding.should == Encoding::UTF_16BE
end
end
it "sets no external encoding for the write end" do
IO.pipe(Encoding::UTF_8) do |r, w|
w.external_encoding.should be_nil
end
end
it "sets no internal encoding for the write end" do
IO.pipe(Encoding::UTF_8) do |r, w|
w.external_encoding.should be_nil
end
end
end
``` |
Greensboro Arboretum (17 acres) is an arboretum located in Lindley Park at 401 Ashland Drive, Greensboro, North Carolina. It is open to the public daily without charge.
The arboretum features landscaped grounds with labeled plant collections, annual and perennial flowers, an arbor, gazebo and a lighted fountain, including the following displays and collections:
Butterfly Garden
Conifer Collection
Dwarf Conifer Collection (more than 80 species of small conifers)
Groundcover Collection
Holly Garden
Hosta Collection (approximately 200 hostas)
Hydrophytic Collection
Rhododendron Garden (over 70 varieties)
Rose Garden
Shade Shrub Collection
Small Tree Collection
Sun Shrub Collection
Vine Collection & Perennial Border
Wildflower Trail
Winter Garden Collection
Woodland Trail
See also
List of botanical gardens in the United States
External links
Greensboro Arboretum
Arboreta in North Carolina
Botanical gardens in North Carolina
Protected areas of Guilford County, North Carolina
Geography of Greensboro, North Carolina
Tourist attractions in Greensboro, North Carolina |
Polyurea is a type of elastomer that is derived from the reaction product of an isocyanate component and an amine component. The isocyanate can be aromatic or aliphatic in nature. It can be monomer, polymer, or any variant reaction of isocyanates, quasi-prepolymer or a prepolymer. The prepolymer, or quasi-prepolymer, can be made of an amine-terminated polymer resin, or a hydroxyl-terminated polymer resin.
The resin blend may be made up of amine-terminated polymer resins, and/or amine-terminated chain extenders. The amine-terminated polymer resins do not have any intentional hydroxyl moieties. Any hydroxyls are the result of incomplete conversion to the amine-terminated polymer resins. The resin blend may also contain additives or non-primary components. These additives may contain hydroxyls, such as pre-dispersed pigments in a polyol carrier. Normally, the resin blend does not contain a catalyst(s).
Polymer structure
The word polyurea is derived from the Greek words πολυ- - poly- meaning "many"; and ουρίας - oûron meaning "to urinate" (referring to the substance urea, found in urine). Urea or carbamide is an organic compound with the chemical formula (NH2)2CO. The molecule has two amine groups (–NH2) joined by a carbonyl functional group (C=O). In a polyurea, alternating monomer units of isocyanates and amines react with each other to form urea linkages. Ureas can also be formed from the reaction of isocyanates and water which forms a carbamic acid intermediate. This acid quickly decomposes by splitting off carbon dioxide and leaving behind an amine. This amine then reacts with another isocyanate group to form the polyurea linkage. This two step reaction is used to make what is commonly but improperly called polyurethane foam. The carbon dioxide that is liberated in this reaction is the primary blowing (foaming) agent especially in many polyurethane foams which more precisely should be called polyurethane/urea foams.
Uses
Polyurea and polyurethane are copolymers used in the manufacture of spandex, which was invented in 1959.
Polyurea was originally developed in automotive applications in the 1980s but other applications such as protecting tabletop edges followed. Its fast reactivity and relative moisture insensitivity made it useful for coatings on large surface area projects, such as secondary containment, manhole and tunnel coatings, tank liners, and truck bed liners. Excellent adhesion to concrete and steel is obtained with the proper primer and surface treatment. They can also be used for spray molding and armor. Some polyureas reach strengths of 40 MPa (6000 psi) tensile and over 500% elongation making it a tough coating. The quick cure time allows many coats to be built up quickly.
In 2014, a polyurea elastomer-based material was shown to be self-healing, melding together after being cut in half. The material also includes inexpensive commercially available compounds. The elastomer molecules were tweaked, making the bonds between them longer. The resulting molecules are easier to pull apart from one another and better able to rebond at room temperature with almost the same strength. The rebonding can be repeated. Elastic, self-healing paints and other coatings recently took a step closer to common use, thanks to research being conducted at the University of Illinois. Scientists there have used "off-the-shelf" components to create a polymer that melds back together after being cut in half, without the addition of other chemicals.
Polyurea has become a preferred long term solution for narrowboats. The traditional coating with bitumen, known as "blacking" is being replaced with the practice of polyurea coatings. The clearest advantage is that it is not necessary to reapply a coat every 3–4 years. It is thought that polyurea coatings last 25–30 years.
Commercial trademarks for Polyurea include Line-X, GLS 100R, and Pentens SPU-1000, to name a few. There are multiple possible polyurea formulations. The Polyurea Development Association is a trade association that represents the interests of polyurea coating manufacturers.
References
Polyamides
Synthetic resins
Plastics
Polyurethanes
See also
Polyaspartic |
```html
<!--Three line list with avatar -->
<ul class="list-group pmd-z-depth pmd-list pmd-card-list">
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
</li>
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
</li>
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
</li>
</ul>
<!--Three line list with avatar and icon -->
<ul class="list-group pmd-z-depth pmd-list pmd-card-list">
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
<i class="material-icons media-right">check_box</i>
</li>
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
<i class="material-icons media-right">check_box_outline_blank</i>
</li>
<li class="list-group-item">
<div class="media-left">
<a href="javascript:void(0);" class="avatar-list-img">
<img alt="40x40" data-src="holder.js/40x40" class="img-responsive" src="path_to_url" data-holder-rendered="true">
</a>
</div>
<div class="media-body">
<h3 class="list-group-item-heading">Two-line item</h3>
<span class="list-group-item-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </span>
</div>
<i class="material-icons media-right">check_box_outline_blank</i>
</li>
</ul>
``` |
```php
<?php
return ['domain'=>NULL,'plural-forms'=>NULL,'language'=>'da_DK','project-id-version'=>'Advanced Custom Fields','pot-creation-date'=>'2024-07-18T08:47:14+00:00','po-revision-date'=>'2024-05-22T11:47:45+00:00','x-generator'=>'gettext','messages'=>['[ACF shortcode value disabled for preview]'=>'[Vrdien af ACF shortcode vises ikke i preview]','Close Modal'=>'Luk modal','Field moved to other group'=>'Felt er flyttet til en anden gruppe','Close modal'=>'Luk modal','Start a new group of tabs at this tab.'=>'Start en ny gruppe af tabs med denne tab.','New Tab Group'=>'Ny tab gruppe','Use a stylized checkbox using select2'=>'Brug en stylet checkbox med select2','Save Other Choice'=>'Gem andre valg','Allow Other Choice'=>'Tillad Andet valg','Add Toggle All'=>'Tilfj "Vlg alle"','Save Custom Values'=>'Gem brugerdefineret vrdier','Allow Custom Values'=>'Tillad brugerdefinerede vrdier','Updates'=>'Opdateringer','Advanced Custom Fields logo'=>'Advanced Custom Fields logo','Save Changes'=>'Gem ndringer','Field Group Title'=>'Feltgruppe titel','Add title'=>'Tilfj titel','New to ACF? Take a look at our <a href="%s" target="_blank">getting started guide</a>.'=>'Ny til ACF? Tag et kig p vores <a href="%s" target="_blank">kom godt i gang guide</a>.','<strong>Error</strong>: %s'=>'<strong>FEJL</strong>: %s','Widget'=>'Widget','User Role'=>'Brugerrolle','Comment'=>'Kommentar','Post Format'=>'Indlgsformat','Menu Item'=>'Menu element','Post Status'=>'Indlgs status','Menus'=>'Menuer','Menu Locations'=>'Menu omrder','Menu'=>'Menu','Post Taxonomy'=>'Indlgstaksonomi','Posts Page'=>'Indlgsside','Front Page'=>'Forside','Page Type'=>'Sidetype','Viewing back end'=>'Viser backend','Viewing front end'=>'Viser frontend','Logged in'=>'Logget ind','Current User'=>'Nuvrende bruger','Page Template'=>'Sideskabelon','Register'=>'Registrer','Add / Edit'=>'Tilfj / rediger','User Form'=>'Brugerformular','Page Parent'=>'Sideforlder','Super Admin'=>'Superadministrator','Current User Role'=>'Nuvrende brugerrolle','Default Template'=>'Standard skabelon','Post Template'=>'Indlgsskabelon','Post Category'=>'Indlgskategori','All %s formats'=>'Alle %s formater','Attachment'=>'Vedhftning','%s value is required'=>'%s vrdi er pkrvet','Show this field if'=>'Vis dette felt hvis','Conditional Logic'=>'Betinget logik','and'=>'og','Local JSON'=>'Lokal JSON','Clone Field'=>'Klon felt','Please also check all premium add-ons (%s) are updated to the latest version.'=>'Tjek ogs at alle premium add-ons (%s) er opdateret til den seneste version.','This version contains improvements to your database and requires an upgrade.'=>'Denne version indeholder en opdatering af din database og krver en opgradering.','Thank you for updating to %1$s v%2$s!'=>'Tak fordi du opdaterede til %1$s v%2$s!','Database Upgrade Required'=>'Databaseopgradering pkrvet','Options Page'=>'Indstillinger side','Gallery'=>'Galleri','Flexible Content'=>'Fleksibelt indhold','Repeater'=>'Gentagelser','Back to all tools'=>'Tilbage til alle vrktjer','<b>Select</b> items to <b>hide</b> them from the edit screen.'=>'<b>Vlg</b> elementer for at <b>skjule</b> dem i p redigeringssiden.','Hide on screen'=>'Skjul p skrm','Send Trackbacks'=>'Send trackbacks','Tags'=>'Tags','Categories'=>'Kategorier','Page Attributes'=>'Sideegenskaber','Format'=>'Format','Author'=>'Forfatter','Slug'=>'Korttitel','Revisions'=>'ndringer','Comments'=>'Kommentarer','Discussion'=>'Diskussion','Excerpt'=>'Uddrag','Content Editor'=>'Indholdseditor','Permalink'=>'Permalink','Shown in field group list'=>'Vist i feltgruppe liste','Field groups with a lower order will appear first'=>'Feltgrupper med et lavere rkkeflge nr. vises frst.','Order No.'=>'Rkkeflge nr.','Below fields'=>'Under felter','Below labels'=>'Under labels','Instruction Placement'=>'Instruktions placering','Label Placement'=>'Label placering','Side'=>'Side','Normal (after content)'=>'Normal (efter indhold)','High (after title)'=>'Hj (efter titel)','Position'=>'Placering','Seamless (no metabox)'=>'Integreret (ingen metaboks)','Standard (WP metabox)'=>'Standard (WP Metaboks)','Style'=>'Stil','Type'=>'Type','Key'=>'Ngle','Order'=>'Sortering','Close Field'=>'Luk felt','id'=>'id','class'=>'class','width'=>'bredde','Required'=>'Pkrvet','Instructions for authors. Shown when submitting data'=>'Instruktioner til forfattere. Bliver vist nr data indsendes','Instructions'=>'Instruktioner','Field Type'=>'Felttype','Single word, no spaces. Underscores and dashes allowed'=>'Enkelt ord, ingen mellemrum. Understregning og bindestreger er tilladt.','Field Name'=>'Feltnavn','This is the name which will appear on the EDIT page'=>'Dette er navnet der vil blive vist p REDIGER siden','Field Label'=>'Felt label','Delete'=>'Slet','Delete field'=>'Slet felt','Move'=>'Flyt','Move field to another group'=>'Flyt felt til anden gruppe','Duplicate field'=>'Duplikr felt','Edit field'=>'Rediger felt','Drag to reorder'=>'Trk for at ndre rkkeflgen','Show this field group if'=>'Vis denne feltgruppe hvis','No updates available.'=>'Ingen tilgngelige opdateringer','Database upgrade complete. <a href="%s">See what\'s new</a>'=>'Database opgradering udfrt. <a href="%s">Se hvad der er ndret</a>','Reading upgrade tasks...'=>'Indlser opgraderings opgaver...','Upgrade failed.'=>'Opdatering fejlede.','Upgrade complete.'=>'Opdatering gennemfrt','Upgrading data to version %s'=>'Opdaterer data til version %s','It is strongly recommended that you backup your database before proceeding. Are you sure you wish to run the updater now?'=>'Det er yderst anbefalet at du tager en backup af din database inden du fortstter. Er du sikker p at du vil kre opdateringen nu?','Please select at least one site to upgrade.'=>'Vlg venligst mindst et websted at opgradere.','Database Upgrade complete. <a href="%s">Return to network dashboard</a>'=>'Databaseopgradering udfrt. <a href="%s">Tilbage til netvrk kontrolpanel</a>','Site is up to date'=>'Webstedet er opdateret','Site requires database upgrade from %1$s to %2$s'=>'Webstedet krver en databaseopgradering %1$s til %2$s','Site'=>'Websted','Upgrade Sites'=>'Opgrader websteder','The following sites require a DB upgrade. Check the ones you want to update and then click %s.'=>'De flgende websteder krver en databaseopgradering. Vlg dem du nsker at opgradere og klik p %s.','Add rule group'=>'Tilfj regelgruppe','Rules'=>'Regler','Copied'=>'Kopieret','Copy to clipboard'=>'Kopier til udklipsholder','Select Field Groups'=>'Vlg feltgrupper','No field groups selected'=>'Ingen feltgrupper valgt','Generate PHP'=>'Generr PHP','Export Field Groups'=>'Eksporter feltgrupper','Import file empty'=>'Importeret fil er tom','Incorrect file type'=>'Forkert filtype','Error uploading file. Please try again'=>'Fejl ved upload af fil. Prv venligst igen','Select the Advanced Custom Fields JSON file you would like to import. When you click the import button below, ACF will import the items in that file.'=>'Vlg ACF JSON filen du gerne vil importere. Nr du klikker import herunder, vil ACF importere feltgrupperne.','Import Field Groups'=>'Importer feltgrupper','Sync'=>'Synkroniser','Select %s'=>'Vlg %s','Duplicate'=>'Duplikr','Duplicate this item'=>'Dupliker dette element','Supports'=>'Understtter','Documentation'=>'Dokumentation','Description'=>'Beskrivelse','Sync available'=>'Synkronisering tilgngelig','Field group synchronized.'=>'Feltgruppe synkroniseret.' . "\0" . '%s feltgrupper synkroniseret.','Field group duplicated.'=>'Feltgruppe duplikeret.' . "\0" . '%s feltgrupper duplikeret.','Active <span class="count">(%s)</span>'=>'Aktive <span class="count">(%s)</span>' . "\0" . 'Aktive <span class="count">(%s)</span>','Review sites & upgrade'=>'Gennemg websteder og opdater','Upgrade Database'=>'Opgradr database','Custom Fields'=>'Tilpasset felter','Move Field'=>'Flyt felt','Please select the destination for this field'=>'Vlg venligst destinationen for dette felt','The %1$s field can now be found in the %2$s field group'=>'Feltet %1$s kan nu findes i %2$s feltgruppen','Move Complete.'=>'Flytning udfrt.','Active'=>'Aktiv','Field Keys'=>'Feltngler','Settings'=>'Indstillinger','Location'=>'Placering','Null'=>'Null','copy'=>'Kopier','(this field)'=>'(dette felt)','Checked'=>'Valgt','Move Custom Field'=>'Flyt tilpasset Felt','Field group title is required'=>'Feltgruppe titel er pkrvet','This field cannot be moved until its changes have been saved'=>'Dette felt kan ikke flyttes fr ndringerne er blevet gemt','The string "field_" may not be used at the start of a field name'=>'Strengen "field_" m ikke bruges i starten af et felts navn','Field group draft updated.'=>'Feltgruppe kladde opdateret.','Field group scheduled for.'=>'Feltgruppe planlagt til.','Field group submitted.'=>'Feltgruppe indsendt.','Field group saved.'=>'Feltgruppe gemt.','Field group published.'=>'Feltgruppe udgivet.','Field group deleted.'=>'Feltgruppe slettet.','Field group updated.'=>'Feltgruppe opdateret.','Tools'=>'Vrktjer','is not equal to'=>'er ikke lig med','is equal to'=>'er lig med','Forms'=>'Formularer','Page'=>'Side','Post'=>'Indlg','Choice'=>'Valg','Basic'=>'Grundlggende','Unknown'=>'Ukendt','Field type does not exist'=>'Felttype eksisterer ikke','Spam Detected'=>'Spam opdaget','Post updated'=>'Indlg opdateret','Update'=>'Opdater','Validate Email'=>'Validr e-mail','Content'=>'Indhold','Title'=>'Titel','Edit field group'=>'Rediger feltgruppe','Selection is less than'=>'Det valgte er mindre end','Selection is greater than'=>'Det valgte er strre end','Value is less than'=>'Vrdien er mindre end','Value is greater than'=>'Vrdien er hjere end','Value contains'=>'Vrdi indeholder','Value is not equal to'=>'Vrdien er ikke lige med','Value is equal to'=>'Vrdien er lige med','Has no value'=>'Har ingen vrdi','Has any value'=>'Har enhver vrdi','Cancel'=>'Annuller','Are you sure?'=>'Er du sikker?','%d fields require attention'=>'%d felter krver opmrksomhed','1 field requires attention'=>'1 felt krver opmrksomhed','Validation failed'=>'Validering fejlede','Validation successful'=>'Validering lykkedes','Restricted'=>'Begrnset','Collapse Details'=>'Skjul detaljer','Expand Details'=>'Udvid detailer','Uploaded to this post'=>'Uploadet til dette indlg','verbUpdate'=>'Opdater','verbEdit'=>'Rediger','The changes you made will be lost if you navigate away from this page'=>'Dine ndringer vil g tabt, hvis du gr vk fra denne side','File type must be %s.'=>'Filtypen skal vre %s.','or'=>'eller','File size must not exceed %s.'=>'Filstrrelsen m ikke overskride %s. ','File size must be at least %s.'=>'Filens strrelse skal vre mindst %s.','Image height must not exceed %dpx.'=>'Billedets hjde m ikke overskride %dpx.','Image height must be at least %dpx.'=>'Billedets hjde skal vre mindst %dpx.','Image width must not exceed %dpx.'=>'Billedets bredde m ikke overskride %dpx.','Image width must be at least %dpx.'=>'Billedets bredde skal vre mindst %dpx.','(no title)'=>'(ingen titel)','Full Size'=>'Fuld strrelse','Large'=>'Stor','Medium'=>'Medium','Thumbnail'=>'Thumbnail','(no label)'=>'(intet mrkat)','Sets the textarea height'=>'Stter tekstomrdets hjde','Rows'=>'Rkker','Text Area'=>'Tekstomrde','Add new choice'=>'Tilfj nyt valg','Toggle All'=>'Vlg alle','Allow Archives URLs'=>'Tillad Arkiv URLer','Archives'=>'Arkiver','Page Link'=>'Side link','Add'=>'Tilfj','Name'=>'Navn','%s added'=>'%s tilfjet','%s already exists'=>'%s findes allerede','User unable to add new %s'=>'Brugeren kan ikke tilfje ny %s','Term ID'=>'Term ID','Term Object'=>'Term Objekt','Load value from posts terms'=>'Indls vrdi fra indlggets termer','Load Terms'=>'Indls termer','Connect selected terms to the post'=>'Forbind valgte termer til indlget','Save Terms'=>'Gem termer','Create Terms'=>'Opret termer','Radio Buttons'=>'Radioknapper','Single Value'=>'Enkelt vrdi','Multiple Values'=>'Flere vrdier','Select the appearance of this field'=>'Vlg udseendet for dette felt','Appearance'=>'Udseende','Select the taxonomy to be displayed'=>'Vlg klassificeringen der vises','No TermsNo %s'=>'Ingen %s','Value must be equal to or lower than %d'=>'Vrdien skal vre mindre end eller lig med %d','Value must be equal to or higher than %d'=>'Vrdien skal vre lig med eller hjere end %d','Value must be a number'=>'Vrdien skal vre et tal','Number'=>'Nummer','Save \'other\' values to the field\'s choices'=>'Gem \'andre\' vrdier i feltet valgmuligheder','Add \'other\' choice to allow for custom values'=>'Tilfj \'andet\' muligheden for at tillade tilpasset vrdier','Other'=>'Andre','Radio Button'=>'Radio-knap','Open'=>'ben','Accordion'=>'Akkordion','Restrict which files can be uploaded'=>'Begrns hvilke filer der kan uploades','File ID'=>'Fil ID','File URL'=>'Fil URL','File Array'=>'Fil array','Add File'=>'Tilfj fil','No file selected'=>'Ingen fil valgt','File name'=>'Filnavn','Update File'=>'Opdater fil','Edit File'=>'Rediger fil','Select File'=>'Vlg fil','File'=>'Fil','Password'=>'Adgangskode','Enter each default value on a new line'=>'Indtast hver standardvrdi p en ny linie','verbSelect'=>'Vlg','Select2 JS load_failLoading failed'=>'Indlsning fejlede','Select2 JS searchingSearching…'=>'Sger…','Select2 JS load_moreLoading more results…'=>'Indlser flere resultater…','Select2 JS selection_too_long_nYou can only select %d items'=>'Du kan kun vlge %d elementer','Select2 JS selection_too_long_1You can only select 1 item'=>'Du kan kun vlge 1 element','Select2 JS input_too_long_nPlease delete %d characters'=>'Fjern venligst %d karakterer','Select2 JS input_too_long_1Please delete 1 character'=>'Fjern venligst 1 karakter','Select2 JS input_too_short_nPlease enter %d or more characters'=>'Tilfj venligst %d eller flere karakterer','Select2 JS input_too_short_1Please enter 1 or more characters'=>'Tilfj venligst 1 eller flere karakterer','Select2 JS matches_0No matches found'=>'Ingen match fundet','Select2 JS matches_n%d results are available, use up and down arrow keys to navigate.'=>'%d resultater fundet, brug piletasterne op og ned for at navigere.','Select2 JS matches_1One result is available, press enter to select it.'=>'Et resultat er tilgngeligt, tryk enter for at vlge det.','nounSelect'=>'Vlg','User ID'=>'Bruger ID','User Object'=>'Bruger objekt','User Array'=>'Bruger array','All user roles'=>'Alle brugerroller','Filter by Role'=>'Filtrer efter rolle','User'=>'Bruger','Separator'=>'Separator','Select Color'=>'Vlg farve','Default'=>'Standard','Clear'=>'Ryd','Color Picker'=>'Farvevlger','Date Time Picker JS pmTextShortP'=>'P','Date Time Picker JS pmTextPM'=>'PM','Date Time Picker JS amTextShortA'=>'A','Date Time Picker JS amTextAM'=>'AM','Date Time Picker JS selectTextSelect'=>'Vlg','Date Time Picker JS closeTextDone'=>'Udfrt','Date Time Picker JS currentTextNow'=>'Nu','Date Time Picker JS timezoneTextTime Zone'=>'Tidszone','Date Time Picker JS microsecTextMicrosecond'=>'Mikrosekund','Date Time Picker JS millisecTextMillisecond'=>'Millisekund','Date Time Picker JS secondTextSecond'=>'Sekund','Date Time Picker JS minuteTextMinute'=>'Minut','Date Time Picker JS hourTextHour'=>'Time','Date Time Picker JS timeTextTime'=>'Tid','Date Time Picker JS timeOnlyTitleChoose Time'=>'Vlg tidpunkt','Date Time Picker'=>'Datovlger','Endpoint'=>'Endpoint','Left aligned'=>'Venstrejusteret','Placement'=>'Placering','Tab'=>'Tab','Value must be a valid URL'=>'Vrdien skal vre en valid URL','Link URL'=>'Link URL','Link Array'=>'Link array','Opens in a new window/tab'=>'bner i et nyt vindue/faneblad','Select Link'=>'Vlg link','Link'=>'Link','Email'=>'E-mail','Maximum Value'=>'Maksimum vrdi','Minimum Value'=>'Minimum vrdi','Both (Array)'=>'Begge (Array)','Label'=>'Etiket','Value'=>'Vrdi','Vertical'=>'Vertikal','Horizontal'=>'Horisontal','red : Red'=>'rd : Rd','For more control, you may specify both a value and label like this:'=>'For mere kontrol, kan du specificere bde vrdi og label, sdan:','Choices'=>'Valg','Button Group'=>'Knappe gruppe','Allow Null'=>'Tillad null','Parent'=>'Forlder','Toolbar'=>'Vrktjslinje','Text Only'=>'Kun tekst','Visual Only'=>'Kun visuelt','Visual & Text'=>'Visuelt & tekst','Tabs'=>'Tabs','Name for the Text editor tab (formerly HTML)Text'=>'Tekst','Visual'=>'Visuel','Value must not exceed %d characters'=>'Vrdi m ikke overskride %d karakterer','Character Limit'=>'Karakterbegrnsning','Appears after the input'=>'Vises efter feltet','Append'=>'Tilfj fr','Appears before the input'=>'Vises fr feltet','Prepend'=>'Tilfj efter','Appears within the input'=>'Vises i feltet','Appears when creating a new post'=>'Vises nr et nyt indlg oprettes','Text'=>'Tekst','%1$s requires at least %2$s selection'=>'%1$s krver mindst %2$s valg' . "\0" . '%1$s krver mindst %2$s valg','Post ID'=>'Indlgs ID','Post Object'=>'Indlgs objekt','Maximum Posts'=>'Maksimum antal indlg','Minimum Posts'=>'Minimum antal indlg','Featured Image'=>'Fremhvet billede','Selected elements will be displayed in each result'=>'Valgte elementer vil blive vist i hvert resultat','Elements'=>'Elementer','Taxonomy'=>'Klassificering','Post Type'=>'Indholdstype','Filters'=>'Filtre','All taxonomies'=>'Alle klassificeringer','Filter by Taxonomy'=>'Filtrer efter klassificeringer','All post types'=>'Alle indholdstyper','Filter by Post Type'=>'Filtrer efter indholdstype','Search...'=>'Sg...','Select taxonomy'=>'Vlg klassificering','Select post type'=>'Vlg indholdstype','No matches found'=>'Ingen match fundet','Loading'=>'Indlser','Maximum values reached ( {max} values )'=>'Maksimalt antal vrdier net ( {max} vrdier )','Relationship'=>'Relation','Comma separated list. Leave blank for all types'=>'Kommasepareret liste. Efterlad blank hvis alle typer tillades','Allowed File Types'=>'Tilladte filtyper','Maximum'=>'Maksimum','File size'=>'Filstrrelse','Minimum'=>'Minimum','Uploaded to post'=>'Uploadet til indlg','All'=>'Alle','Library'=>'Bibliotek','Preview Size'=>'Strrelse p forhndsvisning','Image ID'=>'Billede ID','Image URL'=>'Billede URL','Image Array'=>'Billede array','Specify the returned value on front end'=>'Specificerer vrdien der returneres til frontenden','Return Value'=>'Returneret vrdi','Add Image'=>'Tilfj billede','No image selected'=>'Intet billede valgt','Remove'=>'Fjern','Edit'=>'Rediger','All images'=>'Alle billeder','Update Image'=>'Opdater billede','Edit Image'=>'Rediger billede','Select Image'=>'Vlg billede','Image'=>'Billede','Allow HTML markup to display as visible text instead of rendering'=>'Tillad at HTML kode bliver vist som tekst i stedet for at blive renderet','Escape HTML'=>'Escape HTML','No Formatting'=>'Ingen formatering','Automatically add <br>'=>'Tilfj automatisk <br>','Automatically add paragraphs'=>'Tilfj automatisk afsnit','Controls how new lines are rendered'=>'Kontroller hvordan linjeskift vises','New Lines'=>'Linjeskift','Week Starts On'=>'Ugen starter','Save Format'=>'Gem format','Date Picker JS weekHeaderWk'=>'Uge','Date Picker JS prevTextPrev'=>'Forrige','Date Picker JS nextTextNext'=>'Nste','Date Picker JS closeTextDone'=>'Udfrt','Date Picker'=>'Datovlger','Width'=>'Bredde','Enter URL'=>'Indtast URL','oEmbed'=>'oEmbed','Default Value'=>'Standardvrdi','Message'=>'Besked','No'=>'Nej','Yes'=>'Ja','True / False'=>'Sand / Falsk','Row'=>'Rkke','Table'=>'Tabel','Block'=>'Blok','Layout'=>'Layout','Sub Fields'=>'Underfelter','Group'=>'Gruppe','Customize the map height'=>'Tilpas kortets hjde','Height'=>'Hjde','Set the initial zoom level'=>'St standard zoom niveau','Zoom'=>'Zoom','Center the initial map'=>'Kortets centrum fra start','Center'=>'Centrum','Search for address...'=>'Sg efter adresse...','Find current location'=>'Find nuvrende lokation','Clear location'=>'Ryd lokation','Search'=>'Sg','Sorry, this browser does not support geolocation'=>'Beklager, denne browser understtter ikke geolokation','Google Map'=>'Google Map','Custom:'=>'Tilpasset:','Inactive <span class="count">(%s)</span>'=>'Inaktivt <span class="count">(%s)</span>' . "\0" . 'Inaktive <span class="count">(%s)</span>','No Fields found in Trash'=>'Ingen felter fundet i papirkurven.','No Fields found'=>'Ingen felter fundet','Search Fields'=>'Sge felter','View Field'=>'Vis felt','New Field'=>'Nyt felt','Edit Field'=>'Rediger felt','Add New Field'=>'Tilfj nyt felt','Field'=>'Felt','Fields'=>'Felter','No Field Groups found in Trash'=>'Ingen gruppefelter fundet i papirkurven','No Field Groups found'=>'Ingen gruppefelter fundet','Search Field Groups'=>'Sg feltgrupper','View Field Group'=>'Vis feltgruppe','New Field Group'=>'Ny feltgruppe','Edit Field Group'=>'Rediger feltgruppe','Add New Field Group'=>'Tilfj ny feltgruppe','Add New'=>'Tilfj ny','Field Group'=>'Feltgruppe','Field Groups'=>'Feltgrupper','Customize WordPress with powerful, professional and intuitive fields.'=>'Tilpas WordPress med effektfulde, professionelle og intuitive felter.','path_to_url
``` |
```shell
How to unstage a staged file
Using tags for version control
What is stored in a commit?
How to set your username and email
Intent to add
``` |
Salangen Airport, Elvenes (; ) is a general aviation airport located at Elvenes in Salangen Municipality in Troms og Finnmark county, Norway. It features a grass runway measuring . It also has a water airport located on Øvrevann. The municipal airport is solely used for air sports.
The first use of the area as an airstrip was by the Norwegian Army Air Service in 1915. A permanent structure was established in 1919 and remained the sole land airport of the Air Service in Northern Norway until it was supplemented by Bardufoss Air Station in 1938. Elvenes was mostly used for aerial support of Norwegian Army exercises. The airfield was upgraded in May 1940 as part of the Norwegian Campaign under the auspice of the Royal Air Force. It was surrendered to Luftwaffe, who used it sparingly as a reserve for Bardufoss. The Royal Norwegian Air Force (RNoAF) took possession in 1945 and used it mostly for Army exercise support. Since 2001 there has been regular civilian use and the municipality bought the facility in 2006.
History
Army Air Service
Elvenes was first used during a 6,000-man exercise in August 1915. The newly established Army Air Service wanted to test out its Blériot XI, a task given to Tryggve Gran. His first job was to find a suitable landing field near Setermoen, the center of the exercise. This took place at Elvevold. Their task during the exercise was to fly reconnaissance, mark the enemy by dropping smoke bombs and taking aerial photography.
During the period Gran was stationed, he identified Elvenes, about away from Elvevold, as a suitable site for a permanent airfield. A year later, with the increased threat of Norway being brought into the First World War, the Ministry of Defence proposed establishing an army base at Elvenes. A lot was bought for the purpose. In addition to the airfield, the base was to consist of an arsenal and a commissariat.
The Army Air Service inspected the site on 26 August 1918 and found it to be suitable for both land and sea planes. Although they did not at the time operate any seaplanes, they wanted to ensure that facilities were built in such a manner that this option would remain possible. A field was found suitable to be used for a runway and the only initial permanent structure was a hangar, measuring and tall. The structure was completed on 10 December.
Elvenes had been proposed as a site for a Northern Norwegian squadron of aircraft and was initially thought to host two flights each of five aircraft. However, the airfield would only serve as a base for one aircraft. A Royal Aircraft Factory B.E.2 was flown to Elvenes in March 1919 and remained there until 1924. It was used during army exercises at Elvenes. Work on the rest of the base continued until 1923, by which time fourteen building with a combined had been built.
The first use of the B.E.2 took place during an exercise from 25 March to 5 April, during which it operated with skis. The next use was during the summer and fall of 1920, when wheels were equipped. The staff consisted of two lieutenants, three sergeants and four privates. The aircraft continued to be used the following years for exercises. A Hansa-Brandenburg W.29 seaplane was used during the exercises in 1924. This used the lake of Øvrevann as a runway. This proved marginally too short and the aircraft could only operate with limited payload. The W.29 was flown back for the winter, but the following summer a new W.29 was flown to Elvenes, and it remained there for the winter. The B.E.2 was retired after the 1924 season.
From 1 January 1928 the Royal Norwegian Navy Air Service took over its army counterpart's operations in Northern Norway. Plans for a further expansion of Salangen Airport was therefore terminated and the aerodrome was mothballed. Interest resumed in the early 1930s, when Elvenes was identified as a potential site for mobilization airfield. Five Fokker C.V-Ds were flown to Elvenes on 22 March 1935. They stayed a few days before continuing northwards, and then stayed on the return flight. However, Bardufoss Air Station was chosen as the land air station for Northern Norway, with construction commencing on 8 April.
Second World War
Interest for Elvenes resumed in 1938, after the first parts of Bardufoss Air Station were completed. Elvenes was on 8 April approved as a reserve airfield, with forest clearing starting imminently. Work on the runway commenced in 1939. The runway was upgraded and expanded to measure . This was carried out as relief work. By the German invasion of Norway on 9 April 1940, the base remained fully operational and was fully stocked.
With the continued Norwegian Campaign and Troms remaining under Norwegian control, an air command was established at Elvenes on 19 May 1940. Work commenced immediately on upgrading the airfield. This was under the auspice of the Royal Air Force. The developed both Bardufoss and Elvenes to allow them to land Gloster Gladiators and Hawker Hurricanes. Luftwaffe aircraft attacked the airport daily with machine gun fire. By early June the airfield was in sufficient shape to be used. However, possession passed to Luftwaffe on 10 June with the Norwegian surrender.
Shortly afterwards Luftwaffe resumed the construction work. The runway was extended further, reaching a length of . It was also widened to . Unlike most Luftwaffe airport in Norway, Elvenes was given a grass surface rather than concrete. Runway lights were installed and rudimentary facilities were erected to allow Øvrevann to be used as a water airport. The German forces were, like their Allied counterparts, only interested in keeping Elvenes as a reserve for Bardufoss.
A Junkers Ju 52 seaplane landed on Øvrevann in early 1941. During December a flight of Junkers Ju 87 dive bombers stayed a few days at Elvenes. Similarly, a flight of fifteen Messerschmitt Bf 109 fighters from the 4th Staffel of Jagdgeschwader 5 trained at the airport for a few days during the summer of 1942.
There was no air defense at Elvenes until 1943. A shift in the war caused the German military to become more concerned with an Allied air attack on Troms and two anti-aircraft artilleries were installed. Work on hardened aircraft shelters were also started. At the end of the war armored troops were deployed to defend the airport from a land attack.
Post-war
Possession of the airport passed to the Royal Norwegian Air Force a the end of the war on 8 May 1945. By then the interest for developing Elvenes had dwindled. Newer aircraft would require longer runways, and there was no feasible way for Elvenes to attain such extensions. This was in contrast to Bardufoss, which was therefore selected as the primary military airport in the area. Part of the German construction had taken place on land which had not been owned by the state and without compensation, and was therefore transferred to their owners.
The RNoAF retained minimal use of the airport. The remaining part of the runway was used for reconnaissance flights in conjunction with Norwegian Army exercises, as well as for helicopters. The airfield was also used by the Home Guard for their exercises.
Civilian use started taking place in 1972, when sailplanes started using it as a landing site for flights based at Bardufoss. This activity lasted until 1974. Civilian interest resumed in 2001, when a local group started using ultralight aircraft. They renovated the runway in 2002, making it . Thus was widened to the following year and in 2007. The centerpiece of the activity has been an annual event hosted by Troms Air Sport District and Bardufoss Aviation Club. Salangen Municipality bought Elvenes Base and the airport from the Norwegian Defence Estates Agency in 2006. Ownership was transferred to a municipal limited company, Arena Elvenes.
Facilities
Salangen Airport, Elvenes is situated at Elvenes in Salangen, Norway. The airport has a grass runway measuring and aligned 09/27. It has a reference elevation of 8 meters (27 ft). The airport also has facilities for seaplanes to land on Øvrevann. The airport is owned by Elvenes Municipality through Arena Elvenes. The operating certificate is held by Troms Air Sport District, which also maintains the facility.
The main activity at the airport is an annual air sports event, which includes motor aircraft, ultralight aircraft, sailplanes, parachute, hanggliding and paragliding. The area has good thermals, making it a favored location for sailplane flights. Hanggliding and paragliding are based on the nearby mountain of Flåget.
During its greatest extent during the Second World War, the air base consisted of a grass runway measuring , stretching from Bekken to Øvrevann. The runway had landing lights. There were twenty single-aircraft hangars, of which eight were hardened aircraft shelters. There were two air defense positions, one at Elvevoll and one at Heggelund. The armored unit was located at Brattørveita, just northeast of the airport. There were trenches located around the airfield to defend against a land-based attack.
Accidents and incidents
On 6 July 1942 a Bf 109 taking off had its wing impact the wing of a waiting aircraft during a scramble exercise. The aircraft had sufficient velocity to become airborne, but had insufficient maneuverability and crashed into a barn next to the airport. The pilot was severely hurt and died at the hospital the next day.
References
Bibliography
Airports in Troms og Finnmark
Water aerodromes in Norway
Norwegian Army Air Service stations
Luftwaffe airports in Norway
Royal Norwegian Air Force airfields
Military installations in Troms og Finnmark
1918 establishments in Norway
Airports established in 1918
Salangen |
Fulidhoo Kandu is the channel to the south of South Male' Atoll and to the north of Vaavu Atoll of the Maldives.
References
Divehiraajjege Jōgrafīge Vanavaru. Muhammadu Ibrahim Lutfee. G.Sōsanī.
Channels of the Maldives
Channels of the Indian Ocean |
Parmulina is a genus of fungi in the family Parmulariaceae.
Species
Parmulina asterophora
Parmulina callista
Parmulina dimorphospora
Parmulina exsculpta
Parmulina japonica
Parmulina rehmii
Parmulina stenochlaenae
Parmulina stigmatopteridis
Parmulina uleana
References
External links
Parmulina at Index Fungorum
Parmulariaceae
Taxa named by Ferdinand Theissen
Taxa named by Hans Sydow
Dothideomycetes genera |
```html
<div class="alain-default__content-title">
<h1>
Cache ,
<a href="path_to_url" target="_blank">Document</a>
</h1>
</div>
<nz-card nzTitle="Service">
<button nz-button (click)="set()"></button>
<button nz-button (click)="get()" class="ml-sm"></button>
</nz-card>
``` |
Lexie Contursi (born September 18, 1989) is an American film and television actress. She starred in Laguna Beach: The Real Orange County while attending Laguna Beach High School in Laguna Beach, California. Contursi appeared in Katy Perry: Part of Me and VH1 Divas 2012.
Early life and education
Contursi graduated from Laguna Beach High School in Laguna Beach, California; during her time attending this institution she starred on the third season of the television series Laguna Beach: The Real Orange County.
Career
Contursi was a contestant on So You Think You Can Dance in 2010. She focused on contemporary dance style.
In 2014 Contursi was credited in an appearance she had filmed for the television series The Big Bang Theory. She was one of two guest stars credited in the episode directed by Mark Cendrowski. Her filmed scene was subsequently cut from broadcast in the final aired version of the episode. Show creator Chuck Lorre commented upon this in the vanity card at the end of the episode. He noted the inherent irony in that the episode itself dealt with character Penny's response when she learns her scene was cut from the television show NCIS.
Contursi was spotted in Hollywood on April 7, 2018 with Bachelor Alum Nick Vial.
Filmography
Film
Television
Dance
See also
California Dreams Tour
Chuck Lorre#Vanity cards
List of American film actresses
List of American television actresses
List of Laguna Beach: The Real Orange County cast members
List of Laguna Beach: The Real Orange County episodes
Television in the United States
Footnotes
References
Further reading
External links
Lexie Contursi, official YouTube channel
Living people
1989 births
American film actresses
American television actresses
Actresses from California
21st-century American women |
St Anne's Limehouse is a Hawksmoor Anglican Church in Limehouse, in the London Borough of Tower Hamlets. It was consecrated in 1730, one of the twelve churches built through the 1711 Act of Parliament.
History
St Anne's Limehouse was formed from part of the parish of St Dunstan's, Stepney, prior to the 18th century a large (but then thinly populated) East London parish that extended all the way down to the Thames River. As the population of London increased, growing parishes were subdivided. In 1709 a new parish in Limehouse was formed from part of the parish of St. Dunstan. The church may have been named after Queen Anne as she raised money for it by taxing coal passing along the River Thames.
The building was designed by Nicholas Hawksmoor, as one of twelve churches built to serve the needs of the rapidly expanding population of London in the 18th century. The scheme never approached its ambitious target of 50 churches, but those built were also known as the Queen Anne Churches. The building was completed in 1727 and consecrated in 1730. The church was built by Edward Strong the Younger a friend of Christopher Wren the Younger.
Queen Anne decreed that as the new church was close to the river it would be a convenient place of registry for sea captains to register vital events taking place at sea. Therefore, she gave St. Anne's Church the right to display the second most senior ensign of the Royal Navy, the White Ensign. The prominent tower with its golden ball on the flagpole became a Trinity House "sea mark" on navigational charts, and the Queen's Regulations still permit St. Anne's Limehouse to display the White Ensign 24 hours a day, 365 days a year.
The church was gutted by fire on Good Friday 1850, and restored between 1851 and 1854 by Philip Hardwick. It was further restored by Julian Harrap between 1983 and 1993, when tubular steel trusses were added to support the roof. The church was Grade I listed in 1950. St Anne's underwent extensive restoration during 2007–2009, including complete restoration of the organ and work on the altar and floor.
The original 1741 pipe organ, destroyed in the 1850 fire, was by Richard Bridge, modified by William Russell in 1799.
The replacement organ, by Gray and Davison, won first prize in the Great Exhibition of 1851 at Crystal Palace, and is much prized by musicians. In 2009, the church became the main rehearsal venue for the recently formed Docklands Sinfonia, and occasionally hosts classical concerts. Today, the church remains the parish church of Limehouse, and is within the Diocese of London.
After the churchyard closed to burials, it was converted to public gardens with the assistance of the Metropolitan Public Gardens Association. The garden was laid out by the Association's landscape gardener Fanny Wilkinson. She retained the notable stone pyramid by Hawksmoor, dating from 1730 and bearing the inscription "The wisdom of Solomon". Also located within the churchyard is a 1918 white stone war memorial with bronze figure of Christ. They are separately Grade II listed.
Present day
St Anne's is within the Conservative Evangelical tradition of the Church of England, and it is under the extended episcopal oversight of the Bishop of Maidstone. It describes itself as, "A genuinely mixed East End Church with a passion for straightforward Bible teaching."
Location
The church is next door to Limehouse Town Hall and close to Limehouse Library, both Grade II listed buildings, the former now used as a community centre. Across the road is the former Sailors' Mission, where Situationist International held its conference in 1960.
The address is: St Anne's Church, Three Colt Street, London E14 7HP
The nearest Docklands Light Railway station is Westferry.
St Peter's Barge
With the redevelopment of the East London Docklands in the late 20th century, over 100,000 people work in the Canary Wharf area, and a large part of this centre of business and finance lies within the parish of St Anne's Church. As a result, St Anne's began to run lunchtime meetings in pubs and wine bars to reach out to those working in the Wharf. This effort developed with the support of St Helen's Bishopsgate, but further growth was hampered for lack of a permanent venue on the site, which has high property values.
The idea to build a floating church was realised with the formation of the St Peter's Canary Wharf Trust and the purchase of a Dutch freight barge in 2003. The barge was refitted in the Netherlands and brought across the North Sea under its own power in the summer of that year – a journey which was chronicled in a BBC documentary shown in the autumn. The barge now has a permanent mooring at the heart of Canary Wharf in West India Quay.
A permanent full-time Church of England minister was appointed by the Trust in July 2004 and licensed by the area bishop to head the clergy. In September 2004 St Peter's launched a new Sunday evening congregation with its own programme of meetings and groups to serve the many thousands who now live in the area.
See also
List of churches and cathedrals of London
References
External links
St Anne's Limehouse Homepage
Care for St Anne's
St Peter's Barge Homepage
Diocese of London
BBC Childhood Memory: St Anne's Church, Limehouse, during WW2
Exploring East London
Restoration of Gray & Davison's pipe organ case and carvings at St Anne's Limehouse Church in London; Laurent Robert, Woodcarver and cabinetmaker
Churches completed in 1730
Limehouse
18th-century Church of England church buildings
Nicholas Hawksmoor buildings
English Baroque church buildings
Grade I listed churches in London
Grade I listed buildings in the London Borough of Tower Hamlets
Diocese of London
Limehouse
1730 establishments in England
Limehouse
Limehouse |
Mordellistena caliginosa is a beetle in the genus Mordellistena of the family Mordellidae. It was described in 1945 by Liljeblad.
References
caliginosa
Beetles described in 1945 |
```scala
package com.wavesplatform.it.api
import com.wavesplatform.it.Node
import com.wavesplatform.network.client.NetworkSender
import scala.concurrent.Future
object AsyncNetworkApi {
implicit class NodeAsyncNetworkApi(node: Node) {
import scala.concurrent.ExecutionContext.Implicits.global
def nonce: Long = System.currentTimeMillis()
def sendByNetwork(messages: Any*): Future[Unit] = {
val sender = new NetworkSender(
node.settings.networkSettings.trafficLogger,
node.settings.blockchainSettings.addressSchemeCharacter,
s"it-client-to-${node.name}",
nonce
)
sender.connect(node.networkAddress).flatMap { ch =>
if (ch.isActive) sender.send(ch, messages*).map(_ => sender.close()) else {
sender.close()
Future.failed(new Exception("Channel is inactive"))
}
}
}
}
}
``` |
The AD43C is a type of mainline 6 axle Co'Co' diesel locomotive designed by Alstom and used by the Islamic Republic of Iran Railways (RAI). It was in production from 2000. Delivery started in 2002.
Alstom designated the vehicle with product code Prima DE 43 C AC.
Background
In 1998 GEC Alstom won an order valued at $125 million (later valued at €192 million) for the supply of 100 mixed use locomotives for Islamic Republic of Iran Railways. The first 20 units were to be manufactured at Alstom's factory in Belfort, France, the remainder at Wagon Pars in Iran. After production of an initial batch by Ruston the remaining engines were to be built by DESA in Iran under a technology transfer agreement.
Design
The locomotives are a 6-axle Co'Co' twin cab design, incorporating a RK 215 engine with a power at rail of . After premature failures both in engine and turbocharger RAI has de-rated the engine power gradually up to 2400 Kw.
Three variants were produced, a passenger version with a top speed and a axle load, and two freight versions with a top speed and either a axle load.,
Only two prototypes of ballasted locomotives had been introduced;as, the ballasts limited the engine room space and higher center of gravity raised concerns, the ballasts were later removed completely. The passenger locomotives were later assigned for freight service because of low reliability and introduction of more reliable ER24PC locomotives.
Current conditions
As of the early of 2016 only a third of AD43C locomotives are in revenue service. These locomotives have undergone substantial modifications since RAI put them into service. Most of the out of service locomotives have been cannibalized for salvaging components to make operation of the in-service locomotives possible. As maintaining of the locomotives in service out-costs their revenue, Iranian railways has decided to retrofit these locomotives with other engines.
See also
Iranian locomotives
IranRunner
Notes and references
Notes
References
External links
Images
RAI locomotives railfaneurope.net
Alstom Prima diesel locomotives
Diesel-electric locomotives of Iran |
List of shipwrecks in November 1841 includes ships sunk, foundered, wrecked, grounded, or otherwise lost during November 1841.
1 November
2 November
3 November
4 November
5 November
6 November
7 November
8 November
9 November
10 November
11 November
12 November
13 November
14 November
15 November
16 November
17 November
18 November
19 November
20 November
21 November
22 November
23 November
24 November
25 November
26 November
27 November
28 November
29 November
30 November
Unknown date
References
1841-11
November 1841 events |
Shur (, sometimes rendered in translations as Sur) is a location mentioned several times in the Hebrew Bible.
James K. Hoffmeier believes that the 'way of Shur' was located along the Wadi Tumilat — an arable strip of land to the east of the Nile Delta, serving as the ancient transit route between Ancient Egypt and Canaan across the Sinai Peninsula.
When Hagar ran away from Sarai (Abram's wife, her owner), "the Angel of the Lord found her ... by the well in the way to Shur" (Book of Genesis, , KJV).
Shur is also mentioned in 1 Samuel 15:7 — "Then Saul slaughtered the Amalekites from Havilah all the way to Shur, east of Egypt." According to the Book of Exodus (), Marah is located in the "wilderness of Shur".
Easton's Bible Dictionary (1893) says that Shur is "a part, probably, of the Arabian desert, on the north-eastern border of Egypt, giving its name to a wilderness extending from Egypt toward Philistia (Gen. 16:7; 20:1; 25:18; Ex. 15:22). The name was probably given to it from the wall which the Egyptians built to defend their frontier on the north-east from the desert tribes. This wall or line of fortifications extended from Pelusium to Heliopolis."
References
Book of Exodus
Book of Genesis
Books of Samuel
Torah places
Wadi Tumilat
Hagar |
Maureen Flanagan (born 1941), best known by her stage name, Flanagan, was an early tabloid model.
She was encouraged to take up a career in modelling by photographer Don McCullin, who took her first modelling shots. She had an acting career in the late 1960s and early 1970s, mainly in bit parts on The Benny Hill Show, Monty Python's Flying Circus, and several British sex comedies. She also played the lead role in the Danish film The Loves of Cynthia (a.k.a. Cynthia’s Sister) in 1971.
After her acting career ended, Flanagan remained in the public eye, owing to her association with the Kray Twins and her efforts to secure their release. Her involvement with the Kray family went back to her time as hairdresser for the twins' mother Violet. She also wrote the book Intimate Secrets of an Escort Girl (Everest books, 1974). The book was serialized in the magazine Tit-Bits, accompanied by a blurb which said “Britain’s most photographed model lays bare the facts of her working life in the sauciest story of the year.” Her memoir, One of the Family, was published in 2015.
In 1997, Flanagan made a one-off return to nude modeling as a mature woman, posing fully nude in the magazine Men's World. In the accompanying interview she said her second husband had recently died after a heart transplant operation, and that she was busy raising a 16-year-old son.
Acting roles
Monty Python's Flying Circus (TV, 1969, 1970)
Groupie Girl (1970)
The Love Pill (1971)
The Loves of Cynthia (1971)
The Love Box (1972)
Dracula AD 1972 (1972)
The Benny Hill Show (TV, 1972)
Zodiac (TV, 1974)
On the Game (1974)
Magazine covers
King (1972) Issue 2
Rex (1971) Vol.1 Issue. 29 “Sex and the Single Actress”
Titbits (October 1974) Issue. 4625 "Flanagan's Secrets of an Escort Girl"
References
1941 births
Living people
Page 3 girls |
New Jersey Meadowlands, also known as the Hackensack Meadowlands after the primary river flowing through it, is a general name for a large ecosystem of wetlands in northeastern New Jersey in the United States, a few miles to the west of New York City. During the 20th century, much of the Meadowlands area was urbanized, and it became known for being the site of large landfills and decades of environmental abuse. A variety of projects are underway to restore and conserve the remaining ecological resources in the Meadowlands.
Geography
The Meadowlands stretch mainly along the terminus of the Hackensack and Passaic Rivers as they flow into Newark Bay; tributaries of the Hackensack include Mill Creek, Berrys Creek, and Overpeck Creek. The present Meadowlands consist of roughly 8,400 acres (34 km2) of open, undeveloped space in addition to developed areas that had been part of the natural wetlands which were heavily developed by H. Bert Mack and M. Bolero in the 1960s. The area includes portions of Kearny, Jersey City, North Arlington, Secaucus, Lyndhurst, Rutherford, East Rutherford, Carlstadt, North Bergen, Moonachie, Ridgefield, South Hackensack, Teaneck, and Little Ferry.
History
The area was forested with Atlantic white cedars before the early Dutch settlers cleared the forests and used dikes to drain the land. The Dutch farmers used the drained tidal lands to create "meadows" of salt hay; hence, the area was referred to by locals as the Meadows. In more recent times, the Meadowlands became known for being the site of large landfills and decades of environmental abuse.
Human effect
Before European settlement, the area consisted of several diverse ecosystems based on freshwater, brackish water, and saltwater environments. Large areas were covered by forests. Considered by residents of the area through the centuries as wastelands, the Meadowlands were systematically subject to various kinds of human intervention. The four major categories are:
Extraction of natural resources (including fish and game, as well as cedar logs). Farmers also harvested salt hay for feed. Over time, the forest resources were totally depleted, dike systems broke down, farming ceased, and contamination by pollution increased.
Alteration of water flow. Drainage canals and especially the deepening of the Hackensack River for navigation have allowed salt water to enter the original fresh water and brackish water areas, altering the ecology and destroying the estuarine environment.
Reclamation, land making, and development. In addition to landfill from garbage, landmass generated from dredging was also used to create new land. Some material came from building the World Trade Center in nearby New York City, during the late 1960s.
Pollution by sewage, refuse, and hazardous waste. Various types of waste have been dumped legally and illegally in the Meadowlands. During World War II, military refuse was dumped in the Meadowlands, including rubble from London created by the Blitz and used as ballast in returning ships. After the war, the Meadowlands continued to be used for civilian waste disposal, as the marshes were considered simply as wastelands that were not good for anything else. Berrys Creek was extensively polluted with mercury, PCBs and other chemical wastes, and three adjacent industrial properties have been designated as Superfund sites. The opening of the New Jersey Turnpike in January 1952 only amplified the continuing environmental degradation of the Meadowlands, as both spurs of the Turnpike travel through the region from the Passaic River to just past North Bergen.
The Meadowlands Sports Complex, the site of multiple stadia and a racetrack, was built in the Meadowlands beginning in the 1960s. The race track was the first venue in the complex to open, on September 1, 1976.
New Jersey Meadowlands Commission
The location of the New Jersey Meadowlands near the center of the New York metropolitan area and its outgrowth into New Jersey makes conservation of the vast wetland a difficult proposition. In spite of this, the New Jersey Legislature, promoted by Richard W. DeKorte, created the Hackensack Meadowlands Development Commission (since renamed New Jersey Meadowlands Commission and now known as the New Jersey Sports & Exposition Authority after being merged with that agency) in 1969 to attempt to address both economic and environmental issues concerning the wetland region. The commission was authorized to review and approve land development projects, manage landfill operations, and oversee environmental restoration and preservation projects.
The commission merged with the New Jersey Sports and Exposition Authority in 2015.
Conservation efforts
Even after experiencing grave environmental damage, the Meadowlands contain many species of fish, crustaceans, and mollusks and are considered to be an important bird habitat. Congress has provided funds through the U.S. Environmental Protection Agency to protect and preserve the Meadowlands and establish organizations to research the unique animals and their interaction with the ecosystem. The ecosystem is a fragile environment that waterfowl and other species of animals need. Richard W. DeKorte Park in the Meadowlands is known for bird watching, particularly for migratory waterfowl.
See also
Marine life of New York-New Jersey Harbor Estuary
Meadowlands Museum
References
External links
Meadowlands Museum
Hackensack Riverkeeper
New Jersey Meadowlands Commission Master Plan
Meadowlands Regional Chamber of Commerce
Meadowlands Liberty Convention & Visitors Bureau
Meadowlands Environment Center
New Jersey Sports and Exposition Authority website
Wild New Jersey - "The Fishes Swim Through it? Once Again"
New Jersey Meadowlands at National Geographic
Photos of Mill Creek Marsh, Meadowlands Preserve
Photo Gallery
I Sing the Meadowlands
Beyond Passaic: Contamination, security threats, hobo encampments. A Meadowlands photo essay
Regions of New Jersey
Meadowlands
Meadowlands
Wetlands of New Jersey
Estuaries of New Jersey
New Jersey Meadowlands District
Hackensack River
Passaic River
fi:The Meadowlands |
David Julian Hirsh (born October 26, 1973) is a Canadian actor.
Early life
Born and raised in a Jewish family in Montreal, Hirsh majored in criminology at the University of Toronto. He originally planned to become a lawyer until a summer acting workshop in New York convinced him to pursue an acting career. He studied acting at the Lee Strasberg Theatre and Film Institute in New York City.
Career
Hirsh starred in the first two seasons of the TNT medical drama series Hawthorne, and in shows such as the Showcase comedy series Naked Josh, Lovebites on TBS, the CBC Television drama miniseries St. Urbain's Horseman and he portrayed Rabbi David Bloom on Weeds. Hirsh starred in the 2013 television film Twist of Faith, which garnered him a Canadian Screen Award nomination.
Filmography
Film
Television
References
External links
1973 births
20th-century Canadian male actors
21st-century Canadian male actors
Anglophone Quebec people
Film producers from Quebec
Canadian male film actors
Canadian male screenwriters
Canadian male television actors
Living people
Male actors from Montreal
Writers from Montreal |
A triple homicide was committed in Waltham, Massachusetts, in the United States, on or very near to the evening of September 11, 2011. Brendan Mess, Erik Weissman, and Raphael Teken were murdered in Mess's apartment. All had their throats slit with such great force that they were nearly decapitated. Thousands of dollars' worth of marijuana and money were left covering their mutilated bodies; in all, $5,000 was left in the apartment. The local district attorney said that it appeared that the killer and the victims knew each other, and that the murders were not random.
Tamerlan Tsarnaev, the deceased suspect in the 2013 Boston Marathon bombings, had previously described murder victim Brendan Mess as his best friend, though before Mess was murdered there had been animosity between Tsarnaev and Mess over Mess's "lifestyle". After the bombings and subsequent revelations of Tsarnaev's personal life, the Waltham murders case was reexamined in April 2013 with Tsarnaev as a new suspect. Authorities said Tsarnaev and his younger brother Dzhokhar Tsarnaev may have been responsible for the triple homicide, that forensic evidence connected them to the scene of the killings, and that their cell phone records placed them in the area. While police in the first investigation said that victims were killed on September 12, The Boston Globe, Boston Herald, and The Wall Street Journal reported that at least one relative of the victims believes that the killings took place on September 11.
In May 2013, Ibragim Todashev, a 27-year-old Chechen native and former mixed martial arts fighter who knew Tamerlan Tsarnaev, was shot and killed in Orlando, Florida, by law enforcement officers who had been interviewing him about the Waltham murders as well as the Boston Marathon bombings. The FBI has alleged that just before he was killed, Todashev made statements implicating both himself and Tamerlan Tsarnaev in the Waltham murders—saying that the initial crime was a drug robbery, and the murders were committed to prevent being identified by the victims.
Victims
All three victims were Jewish according to a number of sources. Other sources have not reported a religion for Mess. Weissman was outspoken about his Jewish faith, and an active member of his synagogue. Teken had majored in history at Brandeis University; he was buried in Israel.
Mess had been described by Tamerlan Tsarnaev as his best friend. Mess, Weissman, and both Tsarnaev brothers had attended Cambridge Rindge and Latin School at various times. Mess received a bachelor's degree in professional writing from Champlain College in 2008.
The three men, who were described as being physically strong, were dragged to or killed in three different rooms. Mess was a well-known mixed martial arts fighter and was listed as a martial arts instructor on his death certificate. Teken was listed as a personal trainer on his death certificate. Weissman was a bodybuilder.
In 2008, police had pulled Weissman over for failing to yield, and smelled marijuana smoke in his vehicle. He was charged with marijuana possession and intent to distribute. Teken lived in Waltham, where certain neighbors said they believed he was a drug dealer, saying he rarely left the house and had a steady stream of visitors. In 2010, Mess and another man were arrested on charges that they assaulted several people at a store.
2011 investigation
The bodies of the three men—Mess (25), Weissman (31), and Teken (37)—were discovered by Mess's ex-girlfriend on September 12 in Mess's apartment at 12 Harding Avenue in Waltham, Massachusetts. Autopsies revealed that their throats had been slit from ear to ear with such force that they were nearly decapitated. The bodies had been left covered with thousands of dollars' worth of marijuana (seven pounds of marijuana; in what investigators described as a symbolic gesture) and thousands of dollars of cash, in three different rooms. Police found $5,000 in cash at the scene, which suggested that robbery was not the motive.
Police said that the murders were not random. Two unidentified men had been seen at the apartment before the murders. Middlesex District Attorney Gerard Leone said that it appeared that two unknown perpetrators and the victims knew each other, based on evidence that the police had obtained. It was believed that multiple people other than the victims were at the scene, and that the victims let the killers into their apartment; there was no evidence of forced entry. Neighbors whose windows were open did not hear anything unusual.
2013 investigation developments
The Boston Globe first made the connection of the Tsarnaev brothers to the murders on April 22, 2013, after the Boston Marathon bombing. The Middlesex County District Attorney's Office stated that it was investigating the possible connection of bombing suspect Tamerlan Tsarnaev to the murders. ABC reported that authorities believe Tsarnaev may have been responsible for the triple homicide. The Federal Bureau of Investigation (FBI) joined the investigation in April.
Investigators on the Boston Marathon bombing case said Tamerlan Tsarnaev visited Dagestan and neighboring Chechnya for six months following the date of the Waltham murders. They sought to determine whether the killings may have been timed to take place on the tenth anniversary of the September 11 attacks.
After the Marathon bombing, a Planet Aid driver found discarded fireworks in the Planet Aid donation bin in the parking lot of a restaurant, Gerry's Italian Kitchen, that has been connected in other ways to the Waltham murders case and to the Tsarnaev brothers. Police investigators told ABC News that "the gunpowder had been emptied from the fireworks and the shells discarded in a shopping bag inside the bin."
Tamerlan Tsarnaev's connection to the victims
Tamerlan Tsarnaev had formerly described murder victim Brendan Mess, who lived a few blocks from him in Cambridge and was a year younger than Tsarnaev, as his best friend. Tsarnaev had been a regular visitor at Mess's apartment where the murders took place, and authorities believe that they were roommates for a time. Mess also brought Tsarnaev with him to social events and fight events. Investigators believe Tsarnaev was one of the last people to see Mess alive.
Both men were boxers and spent hours training and sparring together, starting in 2009. In 2011, Tsarnaev had introduced Mess to John Allan, owner of Wai Kru Mixed Martial Arts in Allston, describing him as his "best friend". Tsarnaev stopped going to the martial arts center after Mess was murdered, and did not return until March 2013, when he unexpectedly visited and acted rudely.
The website BuzzFeed interviewed a man named Ray, who was a friend of Mess and an acquaintance of Tsarnaev. Ray said: "Tam wasn't there at the memorial service, he wasn't at the funeral, he wasn't around at all ... And he was really close with Brendan. That's why it's so weird when he said, 'I don't have any American friends.'" Ray continued: "He was somebody who was in contact with Brendan on a daily basis. Anybody like that you would think they would have been around." Ray did not have any further contact with Tsarnaev after the murders.
One of Mess's relatives confirmed that Tsarnaev was not at Mess's funeral or memorial service. The relative also noted Tsarnaev and Mess had disagreed over Mess's lifestyle choices. On May 10, 2013, Massachusetts investigators were reported to have forensic evidence placing the Tsarnaev brothers at the crime scene. Further definitive DNA testing had to be completed before an indictment against the surviving brother could be considered, according to the officials. Officials said cell phone records for that date appeared to put the Tsarnaev brothers in the area of the murders.
Ibragim Todashev interview and death
On May 22, 2013, law enforcement officers, including an FBI special agent from the Boston field office, and two Massachusetts State Police troopers, interviewed a Chechen immigrant named Ibragim Todashev for approximately eight hours at his apartment in Orlando, Florida, regarding the Waltham triple murder and his connections to Tamerlan Tsarnaev and other extremists. They said that he implicated both himself and Tamerlan Tsarnaev in the murders during the questioning and was beginning to write a formal statement when he asked to take a break and then suddenly attacked the FBI agent. Todashev was shot multiple times and killed by the officers.
Todashev was unarmed when he was killed, although initial reports stated that he had a knife. The agent sustained minor injuries requiring stitches. The FBI established a post-shooting incident-review team to investigate the shooting.
Time of the murders
Based on cell phone usage, police believe the killings took place on the evening of September 11. A call was placed at 8:54 p.m. from Weissman's cell phone to Gerry's Italian Kitchen, a Watertown restaurant, for delivery of three dinner entrees. When a delivery woman arrived at 9:14 p.m., there was no answer at the door, and no one answered when the restaurant called Weissman's cell phone.
See also
Crime in Massachusetts
References
Further reading
Investigative report on the murders and the death of Ibragim Todashev.
A different version of the above report.
2011 murders in the United States
2011 in Massachusetts
Murder in Massachusetts
Waltham, Massachusetts
History of Middlesex County, Massachusetts
Crimes in Massachusetts
Criminal duos
Boston Marathon bombing
Unsolved murders in the United States
Attacks in the United States in 2011
September 2011 crimes in the United States
Murdered American Jews |
Riadh Belaïche (; born 3 July 1998), also known by his pseudonym Just Riadh, is an Algerian-born French Internet celebrity and actor. In 2023, he plays the main character in the movie Sugar and Stars (À la belle étoile in French) and embodies the French pastry chef Yazid Ichemrahen.
Early life
Belaïche was born in Sidi Bel Abbès wilaya in Algeria. When he was eight, he moved to the Paris region with his family, living first in Drancy and later in Magny-le-Hongre. As a child, he dreamed of becoming a professional footballer.
Career
Under the pseudonym riadhtheone, Belaïche started making humorous videos on social networks when he was a teenager.
He collaborated in 2017 for the first time at age 18 with other social media personalities and appeared in the video Saïd & Paul: Les Gens sur Twitter ( People on Twitter) by Paul Darbos and Saïd Bengriche broadcast on YouTube. He stopped the videos to focus on his studies. After obtaining his baccalauréat, he went to a BTS but stopped to restart videos on social networks. A friend of him posted one of his videos on Facebook and it got millions of views. In November 2017, French rapper Booba also shares one of his videos on Instagram.
In 2020, Belaïche played the role of Wejdene's boyfriend in her music video clip Coco.
In 2021, he confronted his haters in the documentary J’aime pas Just Riadh (I hate Just Riadh in English) made by the French media Brut on BrutX.
In 2022, he collaborated with several brands like Canal+, Puma, Paco Rabanne and LVMH and is elected influencer of the year 2022 by Stratégies magazine.
Belaïche has acted in several films and television series like 30 jours max ( 30 Days Left) (2020), Stalk (2021) or LOL, qui rit, sort! on Amazon Prime (2022). In 2022, he participated in the French reality game show Pekin Express: Duos de choc on M6 with his bestfriend.
In 2023, Belaïche acted as the main character of the movie À la belle étoile ( Sugar and Stars) and played the role of Yazid Ichemrahen, world champion of frozen desserts in 2014.
Filmography
References
External links
1998 births
French people of Algerian descent
21st-century French male actors
Social media influencers
People from Sidi Bel Abbès
Living people |
Abu Yusuf Mohammad Khalilur Rahman is a Bangladesh Nationalist Party politician and a former member of parliament for Joypurhat-2.
Career
Rahman was elected to parliament from Joypurhat-2 as a Bangladesh Nationalist Party candidate in 1991, 1996, 1996, and 2001. He was an executive committee member of Bangladesh Nationalist Party but was expelled for his support of reforming the party during the 2007-08 caretaker government term. He was readmitted to Bangladesh Nationalist Party in 2018.
References
Bangladesh Nationalist Party politicians
Living people
5th Jatiya Sangsad members
6th Jatiya Sangsad members
7th Jatiya Sangsad members
8th Jatiya Sangsad members
Year of birth missing (living people) |
The Nemzeti dal ("National Song") is a Hungarian patriotic poem written by Sándor Petőfi that is said to have inspired the Hungarian Revolution of 1848. Petőfi read the poem aloud on March 15 on the steps of the Hungarian National Museum in Budapest to a gathering crowd, who by the end were chanting the refrain as they began to march around the city, seizing the presses, liberating political prisoners, and declaring the end of Austrian rule.
Hungarians celebrate the anniversary of the revolution on March 15. Red-white-green ribbons are worn to commemorate the fallen revolutionaries and the ideal of the revolution. Hungary briefly achieved independence from 1848–1849, but was defeated by the combined forces of the Habsburgs and the Russian Empire. Despite its ultimate defeat, the revolution initiated a chain of events that led to the autonomy of Hungary within the new Austro-Hungarian Empire in 1867.
The poem has come to rank third after the Himnusz and Szózat as a statement of Hungarian national identity.
The translation below of the "National Poem" is literal, attempting to convey the precise meaning of the original text.
References
Hungarian poetry
Hungarian patriotic songs |
The 23rd General Assembly of Nova Scotia represented Nova Scotia between 1864 and 1867.
The assembly sat at the pleasure of the Lieutenant-Governor of Nova Scotia, Charles Hastings Doyle. Richard Graves MacDonnell was governor for Nova Scotia from May 1864 to October 1865. William Fenwick Williams served as governor from 1865 to 1867.
John C. Wade was chosen as speaker for the house.
The assembly was dissolved on June 10, 1867.
List of Members
Notes:
References
Journal and proceedings of the House of Assembly of the province of Nova Scotia, Session 1864 (1864)
Terms of the General Assembly of Nova Scotia
1864 in Canada
1865 in Canada
1866 in Canada
1867 in Canada
1864 establishments in Nova Scotia
1867 disestablishments in Nova Scotia |
The Regional Development Corporation is a crown corporation in the Canadian province of New Brunswick. It administers a number of programs charged with promoting economic development in the various regions of New Brunswick.
Crown corporations of New Brunswick |
This is a list of notable of visual artists from, or associated with, Chile.
A
Arturo Pacheco Altamirano (1903–1978), painter
Graciela Aranis (1908-1996), painter
Claudia Aravena (born 1968), artist, curator, filmmaker, and professor
Ximena Armas (born 1946), painter
B
José Balmes (1927–2016), painter
Gracia Barrios (1927-2020), painter
Catalina Bauer (born 1976), visual artist
Joan Belmar (born 1970), visual artist
Samy Benmayor (born 1956), painter
Claudio Bravo (1936–2011), hyper-realism painter
Roser Bru (1923–2021), painter and engraver
Pablo Burchard (1875–1964), painter
C
Celia Castro (1860–1930), painter
Carlos Catasse (1944-2010), painter
Santos Chávez (1934–2001), printmaker
Marta Colvin (1907–1995), sculptor
Adolfo Couve (1940–1998), artist and writer
Eugenio Cruz Vargas (1923–2014), painter and poet
D
Juan Davila (born 1946), artist
Emma Formas de Dávila (1883–1959), painter
Marcela Donoso (born 1961), painter
Juan Downey (1940–1993), video artist
E
José Tomás Errázuriz (1856–1927), landscape painter and diplomat
Virginia Errázuriz (born 1941), painter
F
Freddy Flores Knistoff (1948–), painter and writer
G
Lily Garafulic (1914–2012), sculptor
Teresa Gazitúa (born 1941), painter
Álvaro Guevara (1894–1951), painter
Liliana Wilson Grez (born 1953), painter
H
Laila Havilio (born 1960), sculptor
J
Onofre Jarpa (1849–1940), painter
Guillermo Jullian de la Fuente (1931–2008), architect and painter
L
Laureano Ladrón de Guevara (1889–1968), painter, printmaker, muralist, and educator
Juana Lecaros (1920–1993), painter, printmaker
Pedro Lira (1845–1912), painter
M
Roberto Matta (1911–2002), painter
Rebeca Matte (1875–1929), sculptor
Mariana Matthews (born 1946), photographer, curator, and visual artist
Carlos Maturana (born 1953), artist
Elmina Moisan (1897-1938), painter
Camilo Mori (1896–1973), painter
Pedro Olmos Muñoz (1911-1991), painter
O
Manuel Ortiz de Zárate (1887–1946), painter
P
Catalina Parra (born 1940), photomontage artist
Matilde Pérez (1916–2014), kinetic artist
Henriette Petit (1894-1983), painter
Christiane Pooley (born 1983), visual artist
Dora Puelma (1898-1972), Chilean painter, sculptor
R
Laura Rodig (1901-1972) painter, sculptor, illustrator, educator
José Manuel Ramírez Rosales (1804–1877), painter and entrepreneur
Alejandra Ruddoff (born 1960), sculptor
S
Cosme San Martín (1850–1906), painter and art teacher
Kamal Siegel (born 1978), digital artist
Pablo Siebel (born 1954), painter
Carlos Sotomayor (1911-1988), Cubist painter
Francisca Sutil (born 1952), painter
V
Cecilia Vicuña (born 1948)
Ramón Subercaseaux Vicuña (1854–1937), painter and diplomat
See also
List of Chilean women artists
List of Latin American artists
Culture of Chile
Chilean art
References
Chilean
Artists |
```c++
/*
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* specific language governing permissions and limitations
*/
#ifndef THETA_CONSTANTS_HPP_
#define THETA_CONSTANTS_HPP_
#include <climits>
namespace datasketches {
namespace theta_constants {
enum resize_factor { X1, X2, X4, X8 };
static const uint64_t MAX_THETA = LLONG_MAX; // signed max for compatibility with Java
static const uint8_t MIN_LG_K = 5;
static const uint8_t MAX_LG_K = 26;
}
} /* namespace datasketches */
#endif
``` |
Christine Brunner (born 25 September 1959) is an Austrian luger who competed in the late 1970s and early 1980s. She is best known for finishing third overall in the Luge World Cup women's singles twice (1978–79, 1979–80).
Brunner also finished tenth in the women's singles event at the 1980 Winter Olympics in Lake Placid.
References
External links
1980 luge women's singles results
List of women's singles luge World Cup champions since 1978.
1959 births
Living people
Austrian female lugers
Lugers at the 1980 Winter Olympics
Olympic lugers for Austria |
Field hockey at the 2015 SEA Games was held in Sengkang Hockey Stadium, Singapore from 6 to 13 June 2015. Medals were awarded in one discipline for both men and women competitions.
Participating nations
A total of 144 athletes from five nations will be competing in field hockey at the 2015 SEA Games:
Competition schedule
The following is the competition schedule for the field hockey competitions:
Medalists
Medal table
Men's tournament
Preliminary round
Medal round
Bronze medal match
Gold medal match
Final standings
Women's tournament
Preliminary round
Medal round
Bronze medal match
Gold medal match
Final standings
References
External links
2015
Southeast Asian Games
Field hockey
2015 Southeast Asian Games |
Burlington City Arts (formerly The Firehouse Gallery, or The Center, or the Firehouse Center for the Visual Arts) is an art gallery, art education/studio centre and cultural events space in Burlington, Vermont. The building was originally built as the Ethan Allen Firehouse on Church Street in 1889. The building is owned by the City of Burlington. Burlington City Arts uses the building for its exhibits, lectures, and educational programs. The gallery has been open since 1995.
History
The Ethan Allen Firehouse is a historic building located in downtown Burlington. It was designed by local architect A.B. Fisher and completed in 1889, serving as home to the Ethan Allen Engine Company No. 4, one of Burlington's volunteer fire departments. In 1927, the building was acquired by the Burlington Police Department, and later, in 1967, it became unoccupied and fell into disrepair.
In 1973, the building was slated for demolition, but due to community interest, the Board of Aldermen decided to halt the demolition and allocate funds for its stabilization. Over the years, various organizations utilized the space, including the offices of U.S. Senator Patrick Leahy and the University of Vermont's Church Street Center.
In 1995, the Burlington City Arts (BCA) began developing the concept of an arts center, and the Firehouse Gallery moved into half of the ground floor. The Ethan Allen Firehouse was eventually chosen to house this arts center.
Renovation
In 1999, the City Council voted to transform the firehouse into the Firehouse Center for the Visual Arts. BCA hired an architect for the renovation and in the spring of 2001, they began construction. After a few months, progress stopped when a large crack developed on the north wall and the building sank by about 4 inches (100 mm). After much stabilization, construction resumed.
To complete the renovation, Shelburne Museum returned the original bell back to the Firehouse tower.
The BCA Center (formerly Firehouse Center for the Visual Arts) opened to the public in 2002. It includes a community darkroom and photography studio; artist-in-residence studio; multimedia conference facility for lectures, film series, and panel discussions; and Resource Room and Library with public meeting space and Internet access.
The BCA Center galleries
The BCA Center presents exhibitions, and high-quality artwork, as well as exhibition-related discussions, and arts activities. Their exhibitions and education programming attempt to build and sustain audiences for contemporary art outside of major urban centers.
Roof and Cupola
In 2001, BCA Center learned that the Shelburne Museum hoped to give the original bell back to the Firehouse tower. Ravaged by years of water, damage, a re-engineering and renovation of the tower as well as a concentrated fundraising effort took place. The bell was hoisted back into its home on September 12, 2002.
See also
List of museums in Vermont
References
External links
Burlington City Arts - official site
Art museums and galleries in Vermont
Museums in Burlington, Vermont
Arts centers in Vermont
Tourist attractions in Chittenden County, Vermont
Art galleries established in 1995
1995 establishments in Vermont |
```python
"""Frechet derivative of the matrix exponential."""
import numpy as np
import scipy.linalg
__all__ = ['expm_frechet', 'expm_cond']
def expm_frechet(A, E, method=None, compute_expm=True, check_finite=True):
"""
Frechet derivative of the matrix exponential of A in the direction E.
Parameters
----------
A : (N, N) array_like
Matrix of which to take the matrix exponential.
E : (N, N) array_like
Matrix direction in which to take the Frechet derivative.
method : str, optional
Choice of algorithm. Should be one of
- `SPS` (default)
- `blockEnlarge`
compute_expm : bool, optional
Whether to compute also `expm_A` in addition to `expm_frechet_AE`.
Default is True.
check_finite : bool, optional
Whether to check that the input matrix contains only finite numbers.
Disabling may give a performance gain, but may result in problems
(crashes, non-termination) if the inputs do contain infinities or NaNs.
Returns
-------
expm_A : ndarray
Matrix exponential of A.
expm_frechet_AE : ndarray
Frechet derivative of the matrix exponential of A in the direction E.
For ``compute_expm = False``, only `expm_frechet_AE` is returned.
See also
--------
expm : Compute the exponential of a matrix.
Notes
-----
This section describes the available implementations that can be selected
by the `method` parameter. The default method is *SPS*.
Method *blockEnlarge* is a naive algorithm.
Method *SPS* is Scaling-Pade-Squaring [1]_.
It is a sophisticated implementation which should take
only about 3/8 as much time as the naive implementation.
The asymptotics are the same.
.. versionadded:: 0.13.0
References
----------
.. [1] Awad H. Al-Mohy and Nicholas J. Higham (2009)
Computing the Frechet Derivative of the Matrix Exponential,
with an application to Condition Number Estimation.
SIAM Journal On Matrix Analysis and Applications.,
30 (4). pp. 1639-1657. ISSN 1095-7162
Examples
--------
>>> import scipy.linalg
>>> rng = np.random.default_rng()
>>> A = rng.standard_normal((3, 3))
>>> E = rng.standard_normal((3, 3))
>>> expm_A, expm_frechet_AE = scipy.linalg.expm_frechet(A, E)
>>> expm_A.shape, expm_frechet_AE.shape
((3, 3), (3, 3))
>>> import scipy.linalg
>>> rng = np.random.default_rng()
>>> A = rng.standard_normal((3, 3))
>>> E = rng.standard_normal((3, 3))
>>> expm_A, expm_frechet_AE = scipy.linalg.expm_frechet(A, E)
>>> M = np.zeros((6, 6))
>>> M[:3, :3] = A; M[:3, 3:] = E; M[3:, 3:] = A
>>> expm_M = scipy.linalg.expm(M)
>>> np.allclose(expm_A, expm_M[:3, :3])
True
>>> np.allclose(expm_frechet_AE, expm_M[:3, 3:])
True
"""
if check_finite:
A = np.asarray_chkfinite(A)
E = np.asarray_chkfinite(E)
else:
A = np.asarray(A)
E = np.asarray(E)
if A.ndim != 2 or A.shape[0] != A.shape[1]:
raise ValueError('expected A to be a square matrix')
if E.ndim != 2 or E.shape[0] != E.shape[1]:
raise ValueError('expected E to be a square matrix')
if A.shape != E.shape:
raise ValueError('expected A and E to be the same shape')
if method is None:
method = 'SPS'
if method == 'SPS':
expm_A, expm_frechet_AE = expm_frechet_algo_64(A, E)
elif method == 'blockEnlarge':
expm_A, expm_frechet_AE = expm_frechet_block_enlarge(A, E)
else:
raise ValueError('Unknown implementation %s' % method)
if compute_expm:
return expm_A, expm_frechet_AE
else:
return expm_frechet_AE
def expm_frechet_block_enlarge(A, E):
"""
This is a helper function, mostly for testing and profiling.
Return expm(A), frechet(A, E)
"""
n = A.shape[0]
M = np.vstack([
np.hstack([A, E]),
np.hstack([np.zeros_like(A), A])])
expm_M = scipy.linalg.expm(M)
return expm_M[:n, :n], expm_M[:n, n:]
"""
Maximal values ell_m of ||2**-s A|| such that the backward error bound
does not exceed 2**-53.
"""
ell_table_61 = (
None,
# 1
2.11e-8,
3.56e-4,
1.08e-2,
6.49e-2,
2.00e-1,
4.37e-1,
7.83e-1,
1.23e0,
1.78e0,
2.42e0,
# 11
3.13e0,
3.90e0,
4.74e0,
5.63e0,
6.56e0,
7.52e0,
8.53e0,
9.56e0,
1.06e1,
1.17e1,
)
# The b vectors and U and V are copypasted
# from scipy.sparse.linalg.matfuncs.py.
# M, Lu, Lv follow (6.11), (6.12), (6.13), (3.3)
def _diff_pade3(A, E, ident):
b = (120., 60., 12., 1.)
A2 = A.dot(A)
M2 = np.dot(A, E) + np.dot(E, A)
U = A.dot(b[3]*A2 + b[1]*ident)
V = b[2]*A2 + b[0]*ident
Lu = A.dot(b[3]*M2) + E.dot(b[3]*A2 + b[1]*ident)
Lv = b[2]*M2
return U, V, Lu, Lv
def _diff_pade5(A, E, ident):
b = (30240., 15120., 3360., 420., 30., 1.)
A2 = A.dot(A)
M2 = np.dot(A, E) + np.dot(E, A)
A4 = np.dot(A2, A2)
M4 = np.dot(A2, M2) + np.dot(M2, A2)
U = A.dot(b[5]*A4 + b[3]*A2 + b[1]*ident)
V = b[4]*A4 + b[2]*A2 + b[0]*ident
Lu = (A.dot(b[5]*M4 + b[3]*M2) +
E.dot(b[5]*A4 + b[3]*A2 + b[1]*ident))
Lv = b[4]*M4 + b[2]*M2
return U, V, Lu, Lv
def _diff_pade7(A, E, ident):
b = (17297280., 8648640., 1995840., 277200., 25200., 1512., 56., 1.)
A2 = A.dot(A)
M2 = np.dot(A, E) + np.dot(E, A)
A4 = np.dot(A2, A2)
M4 = np.dot(A2, M2) + np.dot(M2, A2)
A6 = np.dot(A2, A4)
M6 = np.dot(A4, M2) + np.dot(M4, A2)
U = A.dot(b[7]*A6 + b[5]*A4 + b[3]*A2 + b[1]*ident)
V = b[6]*A6 + b[4]*A4 + b[2]*A2 + b[0]*ident
Lu = (A.dot(b[7]*M6 + b[5]*M4 + b[3]*M2) +
E.dot(b[7]*A6 + b[5]*A4 + b[3]*A2 + b[1]*ident))
Lv = b[6]*M6 + b[4]*M4 + b[2]*M2
return U, V, Lu, Lv
def _diff_pade9(A, E, ident):
b = (17643225600., 8821612800., 2075673600., 302702400., 30270240.,
2162160., 110880., 3960., 90., 1.)
A2 = A.dot(A)
M2 = np.dot(A, E) + np.dot(E, A)
A4 = np.dot(A2, A2)
M4 = np.dot(A2, M2) + np.dot(M2, A2)
A6 = np.dot(A2, A4)
M6 = np.dot(A4, M2) + np.dot(M4, A2)
A8 = np.dot(A4, A4)
M8 = np.dot(A4, M4) + np.dot(M4, A4)
U = A.dot(b[9]*A8 + b[7]*A6 + b[5]*A4 + b[3]*A2 + b[1]*ident)
V = b[8]*A8 + b[6]*A6 + b[4]*A4 + b[2]*A2 + b[0]*ident
Lu = (A.dot(b[9]*M8 + b[7]*M6 + b[5]*M4 + b[3]*M2) +
E.dot(b[9]*A8 + b[7]*A6 + b[5]*A4 + b[3]*A2 + b[1]*ident))
Lv = b[8]*M8 + b[6]*M6 + b[4]*M4 + b[2]*M2
return U, V, Lu, Lv
def expm_frechet_algo_64(A, E):
n = A.shape[0]
s = None
ident = np.identity(n)
A_norm_1 = scipy.linalg.norm(A, 1)
m_pade_pairs = (
(3, _diff_pade3),
(5, _diff_pade5),
(7, _diff_pade7),
(9, _diff_pade9))
for m, pade in m_pade_pairs:
if A_norm_1 <= ell_table_61[m]:
U, V, Lu, Lv = pade(A, E, ident)
s = 0
break
if s is None:
# scaling
s = max(0, int(np.ceil(np.log2(A_norm_1 / ell_table_61[13]))))
A = A * 2.0**-s
E = E * 2.0**-s
# pade order 13
A2 = np.dot(A, A)
M2 = np.dot(A, E) + np.dot(E, A)
A4 = np.dot(A2, A2)
M4 = np.dot(A2, M2) + np.dot(M2, A2)
A6 = np.dot(A2, A4)
M6 = np.dot(A4, M2) + np.dot(M4, A2)
b = (64764752532480000., 32382376266240000., 7771770303897600.,
1187353796428800., 129060195264000., 10559470521600.,
670442572800., 33522128640., 1323241920., 40840800., 960960.,
16380., 182., 1.)
W1 = b[13]*A6 + b[11]*A4 + b[9]*A2
W2 = b[7]*A6 + b[5]*A4 + b[3]*A2 + b[1]*ident
Z1 = b[12]*A6 + b[10]*A4 + b[8]*A2
Z2 = b[6]*A6 + b[4]*A4 + b[2]*A2 + b[0]*ident
W = np.dot(A6, W1) + W2
U = np.dot(A, W)
V = np.dot(A6, Z1) + Z2
Lw1 = b[13]*M6 + b[11]*M4 + b[9]*M2
Lw2 = b[7]*M6 + b[5]*M4 + b[3]*M2
Lz1 = b[12]*M6 + b[10]*M4 + b[8]*M2
Lz2 = b[6]*M6 + b[4]*M4 + b[2]*M2
Lw = np.dot(A6, Lw1) + np.dot(M6, W1) + Lw2
Lu = np.dot(A, Lw) + np.dot(E, W)
Lv = np.dot(A6, Lz1) + np.dot(M6, Z1) + Lz2
# factor once and solve twice
lu_piv = scipy.linalg.lu_factor(-U + V)
R = scipy.linalg.lu_solve(lu_piv, U + V)
L = scipy.linalg.lu_solve(lu_piv, Lu + Lv + np.dot((Lu - Lv), R))
# squaring
for k in range(s):
L = np.dot(R, L) + np.dot(L, R)
R = np.dot(R, R)
return R, L
def vec(M):
"""
Stack columns of M to construct a single vector.
This is somewhat standard notation in linear algebra.
Parameters
----------
M : 2-D array_like
Input matrix
Returns
-------
v : 1-D ndarray
Output vector
"""
return M.T.ravel()
def expm_frechet_kronform(A, method=None, check_finite=True):
"""
Construct the Kronecker form of the Frechet derivative of expm.
Parameters
----------
A : array_like with shape (N, N)
Matrix to be expm'd.
method : str, optional
Extra keyword to be passed to expm_frechet.
check_finite : bool, optional
Whether to check that the input matrix contains only finite numbers.
Disabling may give a performance gain, but may result in problems
(crashes, non-termination) if the inputs do contain infinities or NaNs.
Returns
-------
K : 2-D ndarray with shape (N*N, N*N)
Kronecker form of the Frechet derivative of the matrix exponential.
Notes
-----
This function is used to help compute the condition number
of the matrix exponential.
See also
--------
expm : Compute a matrix exponential.
expm_frechet : Compute the Frechet derivative of the matrix exponential.
expm_cond : Compute the relative condition number of the matrix exponential
in the Frobenius norm.
"""
if check_finite:
A = np.asarray_chkfinite(A)
else:
A = np.asarray(A)
if len(A.shape) != 2 or A.shape[0] != A.shape[1]:
raise ValueError('expected a square matrix')
n = A.shape[0]
ident = np.identity(n)
cols = []
for i in range(n):
for j in range(n):
E = np.outer(ident[i], ident[j])
F = expm_frechet(A, E,
method=method, compute_expm=False, check_finite=False)
cols.append(vec(F))
return np.vstack(cols).T
def expm_cond(A, check_finite=True):
"""
Relative condition number of the matrix exponential in the Frobenius norm.
Parameters
----------
A : 2-D array_like
Square input matrix with shape (N, N).
check_finite : bool, optional
Whether to check that the input matrix contains only finite numbers.
Disabling may give a performance gain, but may result in problems
(crashes, non-termination) if the inputs do contain infinities or NaNs.
Returns
-------
kappa : float
The relative condition number of the matrix exponential
in the Frobenius norm
Notes
-----
A faster estimate for the condition number in the 1-norm
has been published but is not yet implemented in SciPy.
.. versionadded:: 0.14.0
See also
--------
expm : Compute the exponential of a matrix.
expm_frechet : Compute the Frechet derivative of the matrix exponential.
Examples
--------
>>> from scipy.linalg import expm_cond
>>> A = np.array([[-0.3, 0.2, 0.6], [0.6, 0.3, -0.1], [-0.7, 1.2, 0.9]])
>>> k = expm_cond(A)
>>> k
1.7787805864469866
"""
if check_finite:
A = np.asarray_chkfinite(A)
else:
A = np.asarray(A)
if len(A.shape) != 2 or A.shape[0] != A.shape[1]:
raise ValueError('expected a square matrix')
X = scipy.linalg.expm(A)
K = expm_frechet_kronform(A, check_finite=False)
# The following norm choices are deliberate.
# The norms of A and X are Frobenius norms,
# and the norm of K is the induced 2-norm.
A_norm = scipy.linalg.norm(A, 'fro')
X_norm = scipy.linalg.norm(X, 'fro')
K_norm = scipy.linalg.norm(K, 2)
kappa = (K_norm * A_norm) / X_norm
return kappa
``` |
The Niesenbahn is a funicular railway above Lake Thun in the canton of Bern, Switzerland. It links a lower terminus, in the village of Mülenen at 693 m and adjacent to Mülenen station on the Lötschberg railway line, with an upper terminus at 2336 m near the summit of Niesen, a viewpoint above the lake and Bernese Oberland.The funicular is divided into two portions with a total length of 3.5 kilometers, an elevation difference of 1643 meters, and a maximum slope of 68%.
Construction of the line commenced in 1906, and it opened in 1910.
The service stairway for the Niesenbahn funicular is listed by Guinness Book of Records as the longest stairway, with 11,674 steps and a height of . The stairs are usually employee-only, but there is a public run called "Niesenlauf" once a year.
The line is owned and operated by the Niesenbahn AG.
Operation
The line operates from late April to mid November, with cars operating every 30 minutes between 08:00 and 17:00. A 15-minute interval service is provided at busy periods, and evening services are operated on some days.
The line comprises two sections, with an interchange station at Schwandegg, and has the following parameters:
Further reading
References
External links
Official website of the Niesenbahn
Funicular railways in Switzerland
Metre gauge railways in Switzerland
Transport in the canton of Bern
1910 establishments in Switzerland |
Fallen Angels is an Australian television series, aired by the ABC in 1997. Twenty episodes were produced, portraying a community legal centre in Endeavour Park, a fictional western suburb of Sydney, and the interesting clients represented by its overworked lawyers.
Cast
Garry McDonald as Malcolm Lucas
Celia De Burgh as Erica Michaels
Brian Vriends as Nick Swan
Leah Purcell as Sharon Walker
Jeremy Ball as Warren Harvey
Eszter Marosszéky as Anita Malouf
Geoff Morrell
Simon Chilvers as Bernie Levinson
Ling-Hsueh Tang
See also
List of Australian television series
References
External links
1990s Australian drama television series
Australian Broadcasting Corporation original programming
1997 Australian television series debuts |
```python
#!/usr/bin/env pypy
"""@package vmonkey
The ViperMonkey command line and programatic interface. The top level
function for using ViperMonkey programatically is process_file().
ViperMonkey is a specialized engine to parse, analyze and interpret Microsoft
VBA macros (Visual Basic for Applications), mainly for malware analysis.
Author: Philippe Lagadec - path_to_url
Project Repository:
path_to_url
"""
from __future__ import print_function
# Do this before any other imports to make sure we have an unlimited
# packrat parsing cache. Do not move or remove this line.
import pyparsing
pyparsing.ParserElement.enablePackrat(cache_size_limit=100000)
import shutil
import logging
import json
import random
import optparse
import sys
import os
import traceback
import colorlog
import re
from datetime import datetime
from datetime import timedelta
import zipfile
import io
import prettytable
from oletools.thirdparty.xglob import xglob
from oletools.olevba import VBA_Parser, filter_vba, FileOpenError
import olefile
from core.meta import get_metadata_exif
# add the vipermonkey folder to sys.path (absolute+normalized path):
_thismodule_dir = os.path.normpath(os.path.abspath(os.path.dirname(__file__)))
if _thismodule_dir not in sys.path:
sys.path.insert(0, _thismodule_dir)
# relative import of core ViperMonkey modules:
import core
import core.excel as excel
import core.read_ole_fields as read_ole_fields
from core.utils import safe_print
from core.utils import safe_str_convert
# for logging
from core.logger import log
from core.logger import CappedFileHandler
from logging import FileHandler
#=== LICENSE ==================================================================
# ViperMonkey is copyright (c) 2015-2021 Philippe Lagadec (path_to_url
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#your_sha256_hash--------------
# CHANGELOG:
# 2015-02-12 v0.01 PL: - first prototype
# 2015-2016 PL: - many changes
# 2016-10-06 v0.03 PL: - fixed vipermonkey.core import
# 2016-12-11 v0.04 PL: - fixed relative import for core package (issue #17)
# 2018-01-12 v0.05 KS: - lots of bug fixes and additions by Kirk Sayre (PR #23)
# 2018-06-20 v0.06 PL: - fixed issue #28, import prettytable
# 2018-08-17 v0.07 KS: - lots of bug fixes and additions by Kirk Sayre (PR #34)
# PL: - added ASCII art banner
__version__ = '1.0.3'
#your_sha256_hash--------------
# TODO:
# TODO: detect subs/functions with same name (in different modules)
# TODO: can several projects call each other?
# TODO: Word XML with several projects?
# - cleanup main, use optionparser
# - option -e to extract and evaluate constant expressions
# - option -t to trace execution
# - option --entrypoint to specify the Sub name to use as entry point
# - use olevba to get all modules from a file
# Environ => VBA object
# vbCRLF, etc => Const (parse to string)
# py2vba: convert python string to VBA string, e.g. \" => "" (for olevba to scan expressions) - same thing for ints, etc?
#TODO: expr_int / expr_str
#TODO: eval(parent) => for statements to set local variables into parent functions/procedures + main VBA module
#TODO: __repr__ for printing
#TODO: Environ('str') => '%str%'
#TODO: determine the order of Auto subs for Word, Excel
# TODO later:
# - add VBS support (two modes?)
#your_sha256_hash--------------
# REFERENCES:
# - [MS-VBAL]: VBA Language Specification
# path_to_url
# - [MS-OVBA]: Microsoft Office VBA File Format Structure
# path_to_url
def get_vb_contents_from_hta(vba_code):
"""Pull out Visual Basic code from .hta file contents.
@param vba_code (str) The HTA file contents from which to extract
the VBScript code.
@return (str) If the given data is HTA that contains VBScript
script elements, the VBScript in the HTA is returned. If the given
data is not VBScript HTA, the original data is returned.
"""
# Fix some obfuscation if needed.
# 'V'
if (re.search(r"&#\d{1,3};", vba_code) is not None):
for i in range(0, 256):
curr_c = chr(i)
vba_code = vba_code.replace("&#" + str(i) + ";", curr_c)
# Try several regexes to pull out HTA script contents.
hta_regexes = [r"<\s*[Ss][Cc][Rr][Ii][Pp][Tt]\s+(?:(?:[Ll][Aa][Nn][Gg][Uu][Aa][Gg][Ee])|(?:[Tt][Yy][Pp][Ee]))\s*=" + \
r"\s*\"?.{0,10}[Vv][Bb][Ss][Cc][Rr][Ii][Pp][Tt]\"?\s*>(.{20,}?)</\s*[Ss][Cc][Rr][Ii][Pp][Tt][^>]*>",
r"<\s*[Ss][Cc][Rr][Ii][Pp][Tt]\s+\%\d{1,10}\s*>(.{20,}?)</\s*[Ss][Cc][Rr][Ii][Pp][Tt][^>]*>",
r"<\s*[Ss][Cc][Rr][Ii][Pp][Tt]\s+(?:(?:[Ll][Aa][Nn][Gg][Uu][Aa][Gg][Ee])|(?:[Tt][Yy][Pp][Ee]))\s*=" + \
r"\s*\"?.{0,10}[Vv][Bb][Ss][Cc][Rr][Ii][Pp][Tt]\"?\s*>(.{20,})$"]
code = []
for pat in hta_regexes:
code = re.findall(pat, vba_code.strip(), re.DOTALL)
if (len(code) > 0):
#for c in code:
# print("\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n")
# print(c)
break
if (len(code) == 0):
return vba_code
# We have script block VB code.
# Return the code.
r = ""
for b in code:
b = b.strip()
if ("</script>" in b.lower()):
b = b[:b.lower().index("</script>")]
if ("<![CDATA[" in b.upper()):
b = b[b.upper().index("<![CDATA[") + len("<![CDATA["):]
if ("]]>" in b[-10:]):
b = b[:b.rindex("]]>")]
# More tag stripping.
pat = r"<!\-\-(.+)/?/?\-\->"
tmp_b = re.findall(pat, b, re.DOTALL)
if (len(tmp_b) > 0):
b = tmp_b[0].strip()
if (b.endswith("//")):
b = b[:-2]
r += b + "\n"
return r
def parse_stream(subfilename,
stream_path=None,
vba_filename=None,
vba_code=None,
strip_useless=False,
local_funcs=None):
"""Parse the macros from a single OLE stream.
@param subfilename (str) The name of the file containing the
macros.
@param stream_path (??) ??
@param vba_filename (??) ??
@param vba_code (str) The macro code to parse.
@param local_funcs (list) A list of the names of already declared
local VBA functions.
@return (Module object) A parsed module object.
"""
# Set local func list if needed.
if (local_funcs is None):
local_funcs = []
# Check for timeouts.
core.vba_object.limits_exceeded(throw_error=True)
# Are the arguments all in a single tuple?
if (stream_path is None):
subfilename, stream_path, vba_filename, vba_code = subfilename
# Skip old-style XLM macros.
if (repr(stream_path).strip() == "'xlm_macro'"):
log.warning("Skipping XLM macro stream...")
return "empty"
# Collapse long lines.
vba_code = core.vba_collapse_long_lines(vba_code)
# Filter cruft from the VBA.
vba_code = filter_vba(vba_code)
# Pull out Visual Basic from .hta contents (if we are looking at a
# .hta file).
vba_code = get_vb_contents_from_hta(vba_code)
# Do not analyze the file if the VBA looks like garbage characters.
if (read_ole_fields.is_garbage_vba(vba_code)):
raise ValueError("VBA looks corrupted. Not analyzing.")
# Skip some XML that olevba gives for some 2007+ streams.
if (vba_code.strip().startswith("<?xml")):
log.warning("Skipping XML stream.")
return "empty"
# Strip out code that does not affect the end result of the program.
if (strip_useless):
vba_code = core.strip_lines.strip_useless_code(vba_code, local_funcs)
safe_print('-'*79)
safe_print('VBA MACRO %s ' % vba_filename)
safe_print('in file: %s - OLE stream: %s' % (subfilename, repr(stream_path)))
safe_print('- '*39)
# Parse the macro.
m = None
if vba_code.strip() == '':
safe_print('(empty macro)')
m = "empty"
else:
safe_print('-'*79)
safe_print('VBA CODE (with long lines collapsed):')
safe_print(vba_code)
safe_print('-'*79)
#sys.exit(0)
safe_print('PARSING VBA CODE:')
try:
m = core.module.parseString(vba_code + "\n", parseAll=True)[0]
pyparsing.ParserElement.resetCache()
m.code = vba_code
except pyparsing.ParseException as err:
safe_print(err.line)
safe_print(" "*(err.column-1) + "^")
safe_print(err)
log.error("Parse Error. Processing Aborted.")
return None
# Check for timeouts.
core.vba_object.limits_exceeded(throw_error=True)
# Return the parsed macro.
return m
def get_all_local_funcs(vba):
"""Get the names of all locally defined functions. Also get the names
of all defined constants. The constant names are saved in
core.strip_lines.defined_constants.
@params vba (VBA_Parser object) The olevba VBA_Parser object for
reading the Office file being analyzed.
"""
# Find the sub/function definitions.
pat = r"(?:Sub |Function )([^\(]+)"
r = []
for (_, _, _, vba_code) in vba.extract_macros():
if (vba_code is None):
continue
# Get local func names.
for line in vba_code.split("\n"):
names = re.findall(pat, line)
r.extend(names)
# Get constant defs. This is saved in strip_lines.defined_constants.
core.strip_lines.find_defined_constants(vba_code)
# Return local function names.
return r
def parse_streams(vba, strip_useless=False):
"""Parse all the VBA streams and return list of parsed module
objects.
@params vba (VBA_Parser object) The olevba VBA_Parser object for
reading the Office file being analyzed.
@param strip_useless (boolean) Flag turning on/off modification of
VB code prior to parsing.
@return (list) A list of parsed Module objects.
"""
# Get the names of all the locally defined functions.
local_funcs = get_all_local_funcs(vba)
# Parse the VBA streams.
r = []
for (subfilename, stream_path, vba_filename, vba_code) in vba.extract_macros():
m = parse_stream(subfilename, stream_path, vba_filename, vba_code, strip_useless, local_funcs)
if (m is None):
return None
r.append(m)
return r
# === Top level utility functions ================================================================================
def read_excel_sheets(fname):
"""Read all the sheets of a given Excel file as CSV and return them
as a ExcelBook object.
@param fname (str) The name of the Excel file to read.
@return (core.excel.ExceBook object) On success return the Excel
sheets as an ExcelBook object. Returns None on error.
"""
# Read the sheets.
try:
f = open(fname, 'rb')
data = f.read()
f.close()
return excel.load_excel_libreoffice(data)
except Exception as e:
if (log.getEffectiveLevel() == logging.DEBUG):
log.debug("Reading Excel sheets failed. " + str(e))
return None
def pull_urls_office97(fname):
"""Pull URLs directly from an Office97 file.
@param fname (str) The name of the file from which to scrape
URLs.
@return (set) The URLs scraped from the file. This will be empty
if there are no URLs.
"""
return read_ole_fields.pull_urls_office97(fname, False, None)
# === Top level Programatic Interface ================================================================================
# pylint: disable=too-many-arguments
def process_file(container,
filename,
data,
strip_useless=False,
entry_points=None,
time_limit=None,
verbose=False,
display_int_iocs=False,
set_log=False,
tee_log=False,
tee_bytes=0,
artifact_dir=None,
out_file_name=None,
do_jit=False):
"""Process an Office file with VBA macros, a VBScript file, or
VBScript HTA file with ViperMonkey. This is the main programatic
interface for ViperMonkey.
@param container (str) Path and filename of container if the file is within
a zip archive, None otherwise.
@param filename (str) str, path and filename of file on disk, or
within the container.
@param data (bytes) content of the file if it is in a container,
None if it is a file on disk.
@param strip_useless (boolean) Flag turning on/off modification of
VB code prior to parsing.
@param entry_points (list) A list of the names (str) of the VB functions
from which to start emulation.
@param time_limit (int) The emulation time limit, in minutes. If
None there is not time limit.
@param verbose (boolean) Flag turning debug logging on/off.
@param display_int_iocs (boolean) Flag turning on/off the
reporting of intermediate IOCs (base64 strings and URLs) found
during the emulation process.
@param set_log (boolean) A flag??
@param tee_log (boolean) A flag turning on/off saving all of
ViperMonkey's output in a text log file. The log file will be
FNAME.log, where FNAME is the name of the file being analyzed.
@param tee_bytes (int) If tee_log is true, this gives the number
of bytes at which to cap the saved log file.
@param artifact_dir (str) The directory in which to save artifacts
dropped by the sample under analysis. If None the artifact
directory will be FNAME_artifacts/ where FNAME is the name of the
file being analyzed.
@param out_file_name (str) The name of the file in which to store
the ViperMonkey analysis results as JSON. If None no JSON results
will be saved.
@param do_jit (str) A flag turning on/off doing VB -> Python
transpiling of loops to speed up loop emulation.
@return (list) A list of actions if actions found, an empty list
if no actions found, and None if there was an error.
"""
# set logging level
if verbose:
colorlog.basicConfig(level=logging.DEBUG, format='%(log_color)s%(levelname)-8s %(message)s')
elif set_log:
colorlog.basicConfig(level=logging.INFO, format='%(log_color)s%(levelname)-8s %(message)s')
# assume they want a tee'd file if they give bytes for it
if tee_bytes > 0:
tee_log = True
# add handler for tee'd log file
if tee_log:
tee_filename = "./" + filename
if ("/" in filename):
tee_filename = "./" + filename[filename.rindex("/") + 1:]
if tee_bytes > 0:
capped_handler = CappedFileHandler(tee_filename + ".log", sizecap=tee_bytes)
capped_handler.setFormatter(logging.Formatter("%(levelname)-8s %(message)s"))
log.addHandler(capped_handler)
else:
file_handler = FileHandler(tee_filename + ".log", mode="w")
file_handler.setFormatter(logging.Formatter("%(levelname)-8s %(message)s"))
log.addHandler(file_handler)
# Check for files that do not exist.
if (isinstance(data, Exception)):
log.error("Cannot open file '" + str(filename) + "'.")
return None
# Read in file contents if we have not already been provided data to analyze.
if not data:
# TODO: replace print by writing to a provided output file (sys.stdout by default)
if container:
display_filename = '%s in %s' % (filename, container)
else:
display_filename = filename
safe_print('='*79)
safe_print('FILE: ' + str(display_filename))
# FIXME: the code below only works if the file is on disk and not in a zip archive
# TODO: merge process_file and _process_file
try:
input_file = open(filename,'rb')
data = input_file.read()
input_file.close()
except IOError as e:
log.error("Cannot open file '" + str(filename) + "'. " + str(e))
return None
r = _process_file(filename,
data,
strip_useless=strip_useless,
entry_points=entry_points,
time_limit=time_limit,
display_int_iocs=display_int_iocs,
artifact_dir=artifact_dir,
out_file_name=out_file_name,
do_jit=do_jit)
# Reset logging.
colorlog.basicConfig(level=logging.ERROR, format='%(log_color)s%(levelname)-8s %(message)s')
# Done.
return r
def _remove_duplicate_iocs(iocs):
"""Remove IOC strings that are substrings of other IOC strings.
@param iocs (list) List of IOCs (str).
@return (set) The original IOC list with duplicate-ish IOC strings
stripped out.
"""
# Track whether to keep an IOC string.
r = set()
skip = set()
log.info("Found " + str(len(iocs)) + " possible IOCs. Stripping duplicates...")
for ioc1 in iocs:
# Does this IOC look like straight up garbage?
if (read_ole_fields.is_garbage_vba(ioc1, test_all=True, bad_pct=.25)):
skip.add(ioc1)
continue
# Looks somewhat sensible. See if it is a duplicate.
keep_curr = True
for ioc2 in iocs:
if (ioc2 in skip):
continue
if ((ioc1 != ioc2) and (ioc1 in ioc2)):
keep_curr = False
break
if ((ioc1 != ioc2) and (ioc2 in ioc1)):
skip.add(ioc2)
if (keep_curr):
r.add(ioc1)
# Return stripped IOC set.
return r
def _get_vba_parser(data):
"""Get an olevba VBA_Parser object for reading an Office file. This
handles regular Office files and HTA files with VBScript script
elements.
@param data (str) The file contents for which to generate a
VBA_Parser.
@return (VBA_Parser object) On success, the olevba VBA_Parser
object for the given file contents. On error, None.
"""
# First just try the most common case where olevba can directly get the VBA.
vba = None
try:
vba = VBA_Parser('', data, relaxed=True)
except Exception as e:
if (log.getEffectiveLevel() == logging.DEBUG):
log.debug("Creating VBA_PArser() Failed. Trying as HTA. " + str(e))
# If that did not work see if we can pull HTA wrapped VB from the data.
extracted_data = get_vb_contents_from_hta(data)
# If this throws an exception it will get passed up.
vba = VBA_Parser('', extracted_data, relaxed=True)
# Return the vba parser.
return vba
def pull_embedded_pe_files(data, out_dir):
"""Directly pull out any PE files embedded in the given data. The PE
files will be saved in a directory and will be named things like
embedded*.exe.
@param data (str) The contents of the file being analyzed.
@param out_dir (str) The directory in which to save extracted PE
files.
"""
# Is this a Office 2007 (zip) file?
if core.filetype.is_office2007_file(data, is_data=True):
# convert data to a BytesIO buffer so that we can use zipfile in memory
# without writing a temp file on disk:
data_io = io.BytesIO(data)
# Pull embedded PE files from each file in the zip.
with zipfile.ZipFile(data_io, "r") as f:
for name in f.namelist():
curr_data = f.read(name)
pull_embedded_pe_files(curr_data, out_dir)
return
# Is a PE file in the data at all?
pe_pat = r"MZ.{70,80}This program (?:(?:cannot be run in DOS mode\.)|(?:must be run under Win32))"
if (re.search(pe_pat, data) is None):
return
# There is an embedded PE. Break them out.
# Get where each PE file starts.
pe_starts = []
for match in re.finditer(pe_pat, data):
pe_starts.append(match.span()[0])
pe_starts.append(len(data))
# Make the 2nd stage output directory if needed.
if not os.path.isdir(out_dir):
os.makedirs(out_dir)
# Break out each PE file. Note that we probably will get extra data,
# but due to the PE file format the file will be a valid PE (with an overlay).
pos = 0
out_index = 0
while (pos < len(pe_starts) - 1):
curr_data = data[pe_starts[pos]:pe_starts[pos+1]]
curr_name = out_dir + "/embedded_pe" + str(out_index) + ".bin"
# Make sure name is unique.
while os.path.isfile(curr_name):
out_index += 1
curr_name = out_dir + "/embedded_pe" + str(out_index) + ".bin"
f = open(curr_name, "wb")
f.write(curr_data)
f.close()
pos += 1
out_index += 1
def _report_analysis_results(vm, data, display_int_iocs, orig_filename, out_file_name):
"""Report analysis results (screen and file) to the user. Results will
be printed to stdout and saved in an output file as JSON if needed.
@param vm (ViperMonkey object) The ViperMonkey emulation engine
object that did the emulation.
@param data (str) The read in Office file (data).
@param display_int_iocs (boolean) Flag turning on/off the
reporting of intermediate IOCs (base64 strings and URLs) found
during the emulation process.
@param orig_filename (str) path and filename of file on disk, or
within the container.
@param out_file_name (str) The name of the file in which to store
the ViperMonkey analysis results as JSON. If None no JSON results
will be saved.
@return (tuple) A 3 element tuple where the 1st element is a list
of reported actions all converted to strings, the 2nd element is a
list of unique intermediate IOCs, and the 3rd element is a list of
shell code bytes injected by the VB (empty list if no shell code).
"""
# Print table of all recorded actions
safe_print('\nRecorded Actions:')
safe_print(vm.dump_actions())
safe_print('')
full_iocs = core.vba_context.intermediate_iocs
raw_b64_iocs = read_ole_fields.pull_base64(data)
for ioc in raw_b64_iocs:
if (core.vba_context.num_b64_iocs > 200):
log.warning("Found too many potential base64 IOCs. Skipping the rest.")
break
full_iocs.add(ioc)
core.vba_context.num_b64_iocs += 1
# Report intermediate IOCs.
tmp_iocs = []
if (len(full_iocs) > 0):
tmp_iocs = _remove_duplicate_iocs(full_iocs)
if (display_int_iocs):
safe_print('Intermediate IOCs:')
safe_print('')
for ioc in tmp_iocs:
safe_print("+---------------------------------------------------------+")
safe_print(ioc)
safe_print("+---------------------------------------------------------+")
safe_print('')
# Display injected shellcode.
shellcode_bytes = core.vba_context.get_shellcode_data()
if (len(shellcode_bytes) > 0):
safe_print("+---------------------------------------------------------+")
safe_print("Shell Code Bytes: " + str(shellcode_bytes))
safe_print("+---------------------------------------------------------+")
safe_print('')
# See if we can directly pull any embedded PE files from the file.
pull_embedded_pe_files(data, core.vba_context.out_dir)
safe_print('VBA Builtins Called: ' + str(vm.external_funcs))
safe_print('')
safe_print('Finished analyzing ' + str(orig_filename) + " .\n")
# Reporting results in JSON file?
if out_file_name:
# Create the results data structure.
actions_data = []
for action in vm.actions:
actions_data.append({
"action": str(action[0]),
"parameters": str(action[1]),
"description": str(action[2])
})
out_data = {
"file_name": orig_filename,
"potential_iocs": list(tmp_iocs),
"shellcode" : shellcode_bytes,
"vba_builtins": vm.external_funcs,
"actions": actions_data
}
# Write out the results as JSON.
try:
with open(out_file_name, 'w') as out_file:
out_file.write("\n" + json.dumps(out_data, indent=4))
except Exception as exc:
log.error("Failed to output results to output file. " + str(exc))
# Make sure all the action fields are strings before returning.
str_actions = []
for action in vm.actions:
str_actions.append((safe_str_convert(action[0]),
safe_str_convert(action[1]),
safe_str_convert(action[2])))
# Done.
return (str_actions, tmp_iocs, shellcode_bytes)
# Wrapper for original function; from here out, only data is a valid variable.
# filename gets passed in _temporarily_ to support dumping to vba_context.out_dir = out_dir.
def _process_file (filename,
data,
strip_useless=False,
entry_points=None,
time_limit=None,
display_int_iocs=False,
artifact_dir=None,
out_file_name=None,
do_jit=False):
"""Process a single file.
@param container (str) Path and filename of container if the file is within
a zip archive, None otherwise.
@param filename (str) path and filename of file on disk, or within
the container.
@param data (bytes) content of the file if it is in a container,
None if it is a file on disk.
@param strip_useless (boolean) Flag turning on/off modification of
VB code prior to parsing.
@param entry_points (list) A list of the names (str) of the VB functions
from which to start emulation.
@param time_limit (int) The emulation time limit, in minutes. If
None there is not time limit.
@param display_int_iocs (boolean) Flag turning on/off the
reporting of intermediate IOCs (base64 strings and URLs) found
during the emulation process.
@param artifact_dir (str) The directory in which to save artifacts
dropped by the sample under analysis. If None the artifact
@param out_file_name (str) The name of the file in which to store
the ViperMonkey analysis results as JSON. If None no JSON results
will be saved.
@param do_jit (str) A flag turning on/off doing VB -> Python
transpiling of loops to speed up loop emulation.
@return (list) A list of actions if actions found, an empty list
if no actions found, and None if there was an error.
"""
# Increase Python call depth.
sys.setrecursionlimit(13000)
# Set the emulation time limit.
if (time_limit is not None):
core.vba_object.max_emulation_time = datetime.now() + timedelta(minutes=time_limit)
# Create the emulator.
log.info("Starting emulation...")
vm = core.ViperMonkey(filename, data, do_jit=do_jit)
orig_filename = filename
if (entry_points is not None):
for entry_point in entry_points:
vm.entry_points.append(entry_point)
try:
#TODO: handle olefile errors, when an OLE file is malformed
if (isinstance(data, Exception)):
data = None
vba = None
try:
vba = _get_vba_parser(data)
except FileOpenError as e:
# Is this an unrecognized format?
if ("Failed to open file is not a supported file type, cannot extract VBA Macros." not in str(e)):
# No, it is some other problem. Pass on the exception.
raise e
# This may be VBScript with some null characters. Remove those and try again.
data = data.replace("\x00", "")
vba = _get_vba_parser(data)
# Do we have analyzable VBA/VBScript? Do the analysis even
# without VBA/VBScript if we are scraping for intermediate
# IOCs.
if (vba.detect_vba_macros() or display_int_iocs):
# Read in document metadata.
try:
log.info("Reading document metadata...")
ole = olefile.OleFileIO(data)
vm.set_metadata(ole.get_metadata())
except Exception as e:
log.warning("Reading in metadata failed. Trying fallback. " + str(e))
vm.set_metadata(get_metadata_exif(orig_filename))
# If this is an Excel spreadsheet, read it in.
vm.loaded_excel = excel.load_excel(data)
# Set where to store directly dropped files if needed.
if (artifact_dir is None):
artifact_dir = "./"
if ((filename is not None) and ("/" in filename)):
artifact_dir = filename[:filename.rindex("/")]
only_filename = filename
if ((filename is not None) and ("/" in filename)):
only_filename = filename[filename.rindex("/")+1:]
# Set the output directory in which to put dumped files generated by
# the macros.
out_dir = None
if (only_filename is not None):
out_dir = artifact_dir + "/" + only_filename + "_artifacts/"
if os.path.exists(out_dir):
shutil.rmtree(out_dir)
else:
out_dir = "/tmp/tmp_file_" + str(random.randrange(0, 10000000000))
log.info("Saving dropped analysis artifacts in " + out_dir)
core.vba_context.out_dir = out_dir
del filename # We already have this in memory, we don't need to read it again.
# Parse the VBA streams.
log.info("Parsing VB...")
comp_modules = parse_streams(vba, strip_useless)
if (comp_modules is None):
return None
got_code = False
for m in comp_modules:
if (m != "empty"):
vm.add_compiled_module(m)
got_code = True
if ((not got_code) and (not display_int_iocs)):
log.info("No VBA or VBScript found. Exiting.")
return ([], [], [], [])
# Get the VBA code.
vba_code = ""
for (_, _, _, macro_code) in vba.extract_macros():
if (macro_code is not None):
vba_code += macro_code
# Do not analyze the file if the VBA looks like garbage.
if (read_ole_fields.is_garbage_vba(vba_code)):
raise ValueError("VBA looks corrupted. Not analyzing.")
# Read in text values from all of the various places in
# Office 97/2000+ that text values can be hidden. So many
# places.
read_ole_fields.read_payload_hiding_places(data, orig_filename, vm, vba_code, vba)
# Do Emulation.
safe_print("")
safe_print('-'*79)
safe_print('TRACING VBA CODE (entrypoint = Auto*):')
if (entry_points is not None):
log.info("Starting emulation from function(s) " + str(entry_points))
pyparsing.ParserElement.resetCache()
vm.vba = vba
vm.trace()
# Done with emulation.
# Report the results.
str_actions, tmp_iocs, shellcode_bytes = _report_analysis_results(vm, data, display_int_iocs, orig_filename, out_file_name)
# Return the results.
return (str_actions, vm.external_funcs, tmp_iocs, shellcode_bytes)
# No VBA/VBScript found?
else:
safe_print('Finished analyzing ' + str(orig_filename) + " .\n")
safe_print('No VBA macros found.')
safe_print('')
return ([], [], [], [])
# Handle uncaught exceptions triggered during analysis.
except Exception as e:
# Print error info.
if (("SystemExit" not in str(e)) and (". Aborting analysis." not in str(e))):
traceback.print_exc()
log.error(str(e))
# If this is an out of memory error terminate the process with an
# error code indicating that there are memory problems. This is so
# that higer level systems using ViperMonkey can see that there is a
# memory issue and handle it accordingly.
if isinstance(e, MemoryError):
log.error("Exiting ViperMonkey with error code 137 (out of memory)")
sys.exit(137)
# Done. Analysis failed.
return None
def process_file_scanexpr (container, filename, data):
"""Process a single file.
@param container (str) Path and filename of container if the file is within
a zip archive, None otherwise.
@param filename (str) path and filename of file on disk, or within
the container.
@param data (bytes) Content of the file if it is in a container,
None if it is a file on disk.
"""
#TODO: replace print by writing to a provided output file (sys.stdout by default)
if container:
display_filename = '%s in %s' % (filename, container)
else:
display_filename = filename
safe_print('='*79)
safe_print('FILE: ' + str(display_filename))
all_code = ''
try:
#TODO: handle olefile errors, when an OLE file is malformed
import oletools
oletools.olevba.enable_logging()
if (log.getEffectiveLevel() == logging.DEBUG):
log.debug('opening %r' % filename)
vba = VBA_Parser(filename, data, relaxed=True)
if vba.detect_vba_macros():
# Read in document metadata.
vm = core.ViperMonkey(filename, data)
ole = olefile.OleFileIO(filename)
try:
vm.set_metadata(ole.get_metadata())
except Exception as e:
log.warning("Reading in metadata failed. Trying fallback. " + str(e))
vm.set_metadata(get_metadata_exif(filename))
#print 'Contains VBA Macros:'
for (subfilename, stream_path, vba_filename, vba_code) in vba.extract_macros():
# hide attribute lines:
#TODO: option to disable attribute filtering
vba_code = filter_vba(vba_code)
safe_print('-'*79)
safe_print('VBA MACRO %s ' % vba_filename)
safe_print('in file: %s - OLE stream: %s' % (subfilename, repr(stream_path)))
safe_print('- '*39)
# detect empty macros:
if vba_code.strip() == '':
safe_print('(empty macro)')
else:
# TODO: option to display code
safe_print(vba_code)
vba_code = core.vba_collapse_long_lines(vba_code)
all_code += '\n' + vba_code
safe_print('-'*79)
safe_print('EVALUATED VBA EXPRESSIONS:')
t = prettytable.PrettyTable(('Obfuscated expression', 'Evaluated value'))
t.align = 'l'
t.max_width['Obfuscated expression'] = 36
t.max_width['Evaluated value'] = 36
for expression, expr_eval in core.scan_expressions(all_code):
t.add_row((repr(expression), repr(expr_eval)))
safe_print(t)
else:
safe_print('No VBA macros found.')
except Exception as e:
log.error("Caught exception. " + str(e))
if (log.getEffectiveLevel() == logging.DEBUG):
traceback.print_exc()
safe_print('')
def print_version():
"""Print ViperMonkey version information.
"""
safe_print("Version Information:\n")
safe_print("ViperMonkey:\t\t" + str(__version__))
safe_print("Python:\t\t\t" + str(sys.version_info))
safe_print("pyparsing:\t\t" + str(pyparsing.__version__))
safe_print("olefile:\t\t" + str(olefile.__version__))
import oletools.olevba
safe_print("olevba:\t\t\t" + str(oletools.olevba.__version__))
def main():
"""Main function, called when vipermonkey is run from the command
line.
"""
# Increase recursion stack depth.
sys.setrecursionlimit(13000)
# print banner with version
# Generated with path_to_url#p=display&f=Slant&t=ViperMonkey
safe_print(''' _ ___ __ ___ __
| | / (_)___ ___ _____/ |/ /___ ____ / /_____ __ __
| | / / / __ \/ _ \/ ___/ /|_/ / __ \/ __ \/ //_/ _ \/ / / /
| |/ / / /_/ / __/ / / / / / /_/ / / / / ,< / __/ /_/ /
|___/_/ .___/\___/_/ /_/ /_/\____/_/ /_/_/|_|\___/\__, /
/_/ /____/ ''')
safe_print('vmonkey %s - path_to_url % __version__)
safe_print('THIS IS WORK IN PROGRESS - Check updates regularly!')
safe_print('Please report any issue at path_to_url
safe_print('')
DEFAULT_LOG_LEVEL = "info" # Default log level
LOG_LEVELS = {
'debug': logging.DEBUG,
'info': logging.INFO,
'warning': logging.WARNING,
'error': logging.ERROR,
'critical': logging.CRITICAL
}
usage = 'usage: %prog [options] <filename> [filename2 ...]'
parser = optparse.OptionParser(usage=usage)
parser.add_option("-r", action="store_true", dest="recursive",
help='find files recursively in subdirectories.')
parser.add_option("-z", "--zip", dest='zip_password', type='str', default=None,
help='if the file is a zip archive, open first file from it, using the '
'provided password (requires Python 2.6+)')
parser.add_option("-f", "--zipfname", dest='zip_fname', type='str', default='*',
help='if the file is a zip archive, file(s) to be opened within the zip. '
'Wildcards * and ? are supported. (default:*)')
parser.add_option("-e", action="store_true", dest="scan_expressions",
help='Extract and evaluate/deobfuscate constant expressions')
parser.add_option('-l', '--loglevel', dest="loglevel", action="store", default=DEFAULT_LOG_LEVEL,
help="logging level debug/info/warning/error/critical (default=%default)")
parser.add_option("-s", '--strip', action="store_true", dest="strip_useless_code",
help='Strip useless VB code from macros prior to parsing.')
parser.add_option("-j", '--jit', action="store_true", dest="do_jit",
help='Speed up emulation by JIT compilation of VB loops to Python.')
parser.add_option('-i', '--init', dest="entry_points", action="store", default=None,
help="Emulate starting at the given function name(s). Use comma seperated "
"list for multiple entries.")
parser.add_option('-t', '--time-limit', dest="time_limit", action="store", default=None,
type='int', help="Time limit (in minutes) for emulation.")
parser.add_option("-c", '--iocs', action="store_true", dest="display_int_iocs",
help='Display potential IOCs stored in intermediate VBA variables '
'assigned during emulation (URLs and base64).')
parser.add_option("-v", '--version', action="store_true", dest="print_version",
help='Print version information of packages used by ViperMonkey.')
parser.add_option("-o", "--out-file", action="store", default=None, type="str",
help="JSON output file containing resulting IOCs, builtins, and actions")
parser.add_option("-p", "--tee-log", action="store_true", default=False,
help="output also to a file in addition to standard out")
parser.add_option("-b", "--tee-bytes", action="store", default=0, type="int",
help="number of bytes to limit the tee'd log to")
(options, args) = parser.parse_args()
# Print version information and exit?
if (options.print_version):
print_version()
sys.exit(0)
# Print help if no arguments are passed
if len(args) == 0:
safe_print(__doc__)
parser.print_help()
sys.exit(0)
# setup logging to the console
# logging.basicConfig(level=LOG_LEVELS[options.loglevel], format='%(levelname)-8s %(message)s')
colorlog.basicConfig(level=LOG_LEVELS[options.loglevel], format='%(log_color)s%(levelname)-8s %(message)s')
json_results = []
for container, filename, data in xglob.iter_files(args,
recursive=options.recursive,
zip_password=options.zip_password,
zip_fname=options.zip_fname):
# ignore directory names stored in zip files:
if container and filename.endswith('/'):
continue
if options.scan_expressions:
process_file_scanexpr(container, filename, data)
else:
entry_points = None
if (options.entry_points is not None):
entry_points = options.entry_points.split(",")
process_file(container,
filename,
data,
strip_useless=options.strip_useless_code,
entry_points=entry_points,
time_limit=options.time_limit,
display_int_iocs=options.display_int_iocs,
tee_log=options.tee_log,
tee_bytes=options.tee_bytes,
out_file_name=options.out_file,
do_jit=options.do_jit)
# add json results to list
if (options.out_file):
with open(options.out_file, 'r') as json_file:
try:
json_results.append(json.loads(json_file.read()))
except ValueError:
pass
if (options.out_file):
with open(options.out_file, 'w') as json_file:
if (len(json_results) > 1):
json_file.write(json.dumps(json_results, indent=2))
else:
json_file.write(json.dumps(json_results[0], indent=2))
log.info("Saved results JSON to output file " + options.out_file)
if __name__ == '__main__':
main()
# Soundtrack: This code was developed while listening to The Pixies "Monkey Gone to Heaven"
``` |
```python
#!/usr/bin/env python2
"""
gc_stats_to_tsv.py
Turn a set of files with OILS_GC_STATS output into a TSV file.
"""
from __future__ import print_function
import collections
import os
import sys
def main(argv):
header = None
for path in argv[1:]:
filename = os.path.basename(path)
join_id, _ = os.path.splitext(filename)
d = collections.OrderedDict()
d["join_id"] = join_id
with open(path) as f:
for line in f:
line = line.strip()
if not line:
continue
key, value = line.split("=", 1)
key = key.strip().replace(" ", "_")
value = value.strip()
d[key] = value
if header is None:
header = d.keys()
print("\t".join(header))
else:
# Ensure the order
assert d.keys() == header
row = d.values()
print("\t".join(row))
if __name__ == '__main__':
try:
main(sys.argv)
except RuntimeError as e:
print('FATAL: %s' % e, file=sys.stderr)
sys.exit(1)
``` |
2009 Japanese Super Cup was the Japanese Super Cup competition. The match was played at National Stadium in Tokyo on February 28, 2009. Kashima Antlers won the championship.
Match details
References
Japanese Super Cup
2009 in Japanese football
Kashima Antlers matches
Gamba Osaka matches |
Karp may refer to:
Places
Karp, Podlaskie Voivodeship, in north-east Poland
Karp, Lublin Voivodeship, in east Poland
People
Karp (surname)
Karp Khachvankyan (1923–1998), Armenian actor and director
Other uses
KARP-FM, a radio station in Dassel, Minnesota, United States
Karp (band), an American 1990s rock band
Karp class submarine, ordered in 1904 by the Russian Empire, also the namesake submarine in the class
Korean Association of Retired Persons, a non-governmental organization affiliated with the United Nations
See also
Magikarp (Pokémon)
Carp (disambiguation) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.